aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/aegis-test-fixup-1.patch
blob: 1ed4dad5257467fb7d34709858038d8f0eaf419e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This test fails because it expects a MIME type "Content-Type: image/gif"
whereas that provided by libmagic is "Content-Type: image/gif; charset=binary"
Presumably the test was written against a different version.
--- aegis-4.24/test/02/t0228a-matt.sh	2008-03-14 07:19:27.000000000 +0100
+++ aegis-4.24/test/02/t0228a-matt.sh	2014-01-27 09:43:44.000000000 +0100
@@ -147,7 +147,8 @@
 SCRIPT_NAME=/cgi-bin/aeget \
 PATH_INFO=icon/rss.gif \
 QUERY_STRING= \
-$bin/aeget > rss.served.gif 2>&1
+$bin/aeget \
+| sed -e 's%^Content-Type: image/gif; charset=binary%Content-Type: image/gif%' > rss.served.gif 2>&1
 if test $? -ne 0 ; then fail; fi
 
 # Compare the expected and the actual received file.
d>Ludovic Courtès 2022-08-01services: rottlog: Keep important /var/log files for 16 weeks....Ludovic Courtès 2022-04-09services: rottlog: Keep fewer "guix-daemon.log" files....Ludovic Courtès 2022-04-04services: Add 'log-cleanup-service-type'....Ludovic Courtès 2021-11-30services: Accept <inferior-package>s in lieu of <package>s....Tobias Geerinckx-Rice 2021-03-29services: rottlog: Add /var/log/mcron.log to '%default-rotations'....Ludovic Courtès 2020-08-24services: unattended-upgrade: Log output of the 'guix' commands....Ludovic Courtès 2020-08-24services: unattended-upgrade: Add 'operating-system-file' field....Ludovic Courtès 2020-07-27services: Add 'unattended-upgrade-service-type'....Ludovic Courtès 2020-05-06services: rottlog: Append '.gz' to rotated file....Brice Waegeneire 2019-06-15services: Remove unneeded imports that led to cycles....Ludovic Courtès 2018-12-23services: Fix typo in (gnu services admin)....Tobias Geerinckx-Rice 2018-10-04services: rottlog: Use command strings in the mcron jobs....Ludovic Courtès 2018-09-10services: tailon: Move to (gnu services web)....Ludovic Courtès 2018-03-22gnu: shepherd: Update to 0.4.0....Ludovic Courtès 2018-03-22services: rottlog: Add /var/log/debug to '%default-rotations'....Ludovic Courtès 2017-11-05services: Add 'description' fields....Ludovic Courtès 2017-08-09services: admin: Simplify the handling of the Tailon debug? option....Christopher Baines 2017-08-09services: Update the Tailon service for Tailon 1.3.0....Christopher Baines 2017-08-09services: Add missing wrap-lines option to tailon....Christopher Baines 2017-07-29gnu: services: admin: Add tailon....Christopher Baines 2017-06-12services: rottlog: Make extensible....Ludovic Courtès 2017-06-12services: rottlog: Define <log-rotation> objects....Ludovic Courtès 2017-04-16services: Add a default value to various service types....Ludovic Courtès 2016-12-19services: guix: Add 'log-file' configuration option....Ludovic Courtès 2016-10-03services: rottlog: Add Rottlog to the global profile....Ludovic Courtès 2016-10-03services: rottlog: Improve default weekly rotations....Ludovic Courtès 2016-10-03services: Add rottlog....Jan Nieuwenhuizen