You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2013/06/23 02:06:40 UTC
[Bug 6948] New: t/sa_compile.t test on OpenBSD 5.3 fails due to a
wrong option to gunzip
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6948
Bug ID: 6948
Summary: t/sa_compile.t test on OpenBSD 5.3 fails due to a
wrong option to gunzip
Product: Spamassassin
Version: 3.4.0
Hardware: All
OS: OpenBSD
Status: NEW
Severity: minor
Priority: P2
Component: Regression Tests
Assignee: dev@spamassassin.apache.org
Reporter: Mark.Martinec@ijs.si
On OpenBSD 5.3 the t/sa_compile.t test fails with:
t/sa_compile.t .................... gunzip: unknown option -- d
usage: gunzip [-cfhlNnqrtVv] [-o filename] [file ...]
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
'cd /usr/local/src/Mail-SpamAssassin-3.4.0-rc2/t/log/d.sa_compile/build &&
gunzip -cd
/usr/local/src/Mail-SpamAssassin-3.4.0-rc2/t/../Mail-SpamAssassin-*.tar.gz |
tar xf -' failed: exit 1 at t/SATest.pm line 987.
t/sa_compile.t .................... Dubious, test returned 25 (wstat 6400,
0x1900)
Failed 5/5 subtests
It misuses the 'gunzip' command: it should either be: gzip -d,
or a gunzip (without -d).
Apparently Linux does not mind, but it's wrong anyway.
The fix is trivial, just leave out the option 'd':
--- t/sa_compile.t (revision 1495653)
+++ t/sa_compile.t (working copy)
- system_or_die "cd $builddir && gunzip -cd $cwd/../Mail-SpamAssassin-*.tar.gz
| tar xf -";
+ system_or_die "cd $builddir && gunzip -c $cwd/../Mail-SpamAssassin-*.tar.gz
| tar xf -";
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 6948] t/sa_compile.t test on OpenBSD 5.3 fails due to a wrong
option to gunzip
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6948
--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
Bug 6948: t/sa_compile.t test on OpenBSD 5.3 fails
due to a wrong option to gunzip
Sending t/sa_compile.t
Committed revision 1495785.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 6948] t/sa_compile.t test on OpenBSD 5.3 fails due to a wrong
option to gunzip
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6948
Mark Martinec <Ma...@ijs.si> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Mark Martinec <Ma...@ijs.si> ---
Easy. Closing.
--
You are receiving this mail because:
You are the assignee for the bug.