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 2005/04/29 22:20:01 UTC
[Bug 4292] New: t/meta.t failure under Win32
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
Summary: t/meta.t failure under Win32
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P5
Component: Regression Tests
AssignedTo: dev@spamassassin.apache.org
ReportedBy: sidney@sidney.com
It appears to be some OS-specific shell syntax that doesn't work in Win32 cmd.exe:
Fragment of output from a nmake test with TEST_VERBOSE=1 :
t/meta....1..2
# Running under perl version 5.008006 for MSWin32
# Win32::BuildNumber 811
# Current time local: Sat Apr 30 00:05:09 2005
# Current time GMT: Fri Apr 29 12:05:09 2005
# Using Test.pm version 1.25
'..' is not recognized as an internal or external command,
operable program or batch file.
parse-rules-for-masses failed! at t/meta.t line 42.
tmp/rules.pl is unparseable: Can't locate log/rules-0.pl in @INC (@INC contains:
../blib/lib D:\sasvn\trunk\blib\lib D:\sasvn\trunk\blib\arch C:/Perl/lib C:/Per
l/site/lib . C:/Perl/lib C:/Perl/site/lib .) at t/meta.t line 45.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
sidney@sidney.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From sidney@sidney.com 2005-04-30 17:11 -------
Michael Parker fixed this with checkin rev 165264
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
------- Additional Comments From parkerm@pobox.com 2005-04-30 19:46 -------
Subject: Re: t/meta.t failure under Win32
>
> ------- Additional Comments From sidney@sidney.com 2005-04-30 17:11 -------
> Michael Parker fixed this with checkin rev 165264
>
I did? Are you sure you're not confusing it the the bayes fix?
Michael
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
jm@jmason.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From jm@jmason.org 2005-05-03 09:48 -------
fixed not to run on win32. 167932.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
------- Additional Comments From jm@jmason.org 2005-05-03 11:42 -------
I'd recommend not bothering -- it's only a lint-type test, AFAIK there won't be
any platform-specific differences, and the way it's implemented (calling into a
"masses" script) certainly makes it a complex test anyway.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
------- Additional Comments From sidney@sidney.com 2005-05-03 10:49 -------
I started to get it to run under Windows. I don't know if I would hit something
impossible to do under Windows but I was making progress. Is this test not
really necessary under Windows or is it worth it for me to finish it?
I guess the question is if meta.t tests anything that we want to be sure works
under Windows.
If the answer is we don't really need it, I am fine with throwing away the
little work I put into it so far. Not having to do anything is the easiest fix
of all.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
------- Additional Comments From sidney@sidney.com 2005-05-03 03:17 -------
Ah, I bet you mixed up this bug with bug 4300, which appears to have been fixed.
I'll close that one.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
sidney@sidney.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From sidney@sidney.com 2005-04-30 20:13 -------
Michael Parker said:
> Are you sure you're not confusing it the the bayes fix?
Sidney needs to finish his homework and get some sleep.
Reopening. I won't try to fix this until I'm awake.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
parkerm@pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From parkerm@pobox.com 2005-05-02 23:55 -------
meta.t now ignores test rules (ie 70_*)
Committed revision 167871.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4292] t/meta.t failure under Win32
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4292
sidney@sidney.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From sidney@sidney.com 2005-05-03 02:25 -------
There are still problems under Win32. I haven't followed it through all the way
until it works, but the first thing it hits that doesn't work is trying to execute
../masses/parse-rules-for-masses
as a system command. Windows would want that to be
perl -w ..\masses\parse-rules-for-masses
I'll fix that and see how far it gets.
Here is the output running svn rev 167885 under cmd.exe in XP:
t\meta......................'..' is not recognized as an internal or external co
mmand,
operable program or batch file.
parse-rules-for-masses failed! at t\meta.t line 42.
tmp/rules.pl is unparseable: Can't locate log/rules-0.pl in @INC (@INC contains:
../blib/lib D:\sasvn\trunk\blib\lib D:\sasvn\trunk\blib\arch C:/Perl/lib C:/Per
l/site/lib . C:/Perl/lib C:/Perl/site/lib .) at t\meta.t line 45.
t\meta......................dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.