unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 1ed4dad5257467fb7d34709858038d8f0eaf419e 694 bytes (raw)
name: patches/aegis-test-fixup-1.patch 	 # note: path name is non-authoritative(*)

 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.

debug log:

solving 1ed4dad5257467fb7d34709858038d8f0eaf419e ...
found 1ed4dad5257467fb7d34709858038d8f0eaf419e in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).