bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils-6.11: misc tests are PATH dependent


From: Bruno Haible
Subject: coreutils-6.11: misc tests are PATH dependent
Date: Sun, 20 Apr 2008 18:17:31 +0200
User-agent: KMail/1.5.4

Hi Jim,

After your fix in
  http://lists.gnu.org/archive/html/bug-coreutils/2008-02/msg00083.html
"make check" does not fail any more when PATH contains ".", but it still
produces a bunch of unnecessary output.

Tested with coreutils-6.11 on Linux/x86:

In the tests/misc/ directory, without "." in PATH, the "make check" output is:

===============================================================================
make[5]: Entering directory `/build/coreutils-6.11/tests/misc'
PASS: help-version.log
PASS: seq.log
PASS: head-elide-tail.log
PASS: ls-time.log
PASS: ls-misc.log
PASS: date.log
PASS: ptx-overrun.log
PASS: xstrtol.log
PASS: od.log
PASS: mktemp.log
SKIP: arch.log
PASS: pr.log
PASS: df-P.log
PASS: pwd-unreadable-parent.log
SKIP: chcon.log
PASS: chcon-fail.log
SKIP: selinux.log
PASS: cut.log
PASS: wc-files0-from.log
PASS: wc-files0.log
PASS: cat-proc.log
PASS: base64.log
PASS: basename.log
PASS: close-stdout.log
PASS: csplit.log
PASS: date-sec.log
PASS: dircolors.log
PASS: df.log
PASS: dirname.log
PASS: expand.log
PASS: expr.log
PASS: factor.log
PASS: false-status.log
PASS: fmt.log
PASS: fmt-long-line.log
PASS: fold.log
PASS: groups-dash.log
PASS: groups-version.log
PASS: head-c.log
PASS: head-pos.log
PASS: md5sum.log
PASS: md5sum-newline.log
PASS: mknod.log
PASS: nice.log
PASS: nl.log
PASS: nohup.log
PASS: od-N.log
PASS: od-x8.log
PASS: paste.log
PASS: pathchk1.log
PASS: printf.log
PASS: printf-hex.log
PASS: printf-surprise.log
PASS: pwd-long.log
PASS: readlink-fp-loop.log
PASS: runcon-no-reorder.log
PASS: sha1sum.log
PASS: sha1sum-vec.log
PASS: sha224sum.log
PASS: sha256sum.log
PASS: sha384sum.log
PASS: sha512sum.log
PASS: shred-exact.log
PASS: shred-remove.log
PASS: shuf.log
PASS: sort-compress.log
PASS: sort-merge.log
PASS: sort-rand.log
PASS: split-a.log
PASS: split-fail.log
PASS: split-l.log
PASS: stat-fmt.log
PASS: stat-printf.log
SKIP: stty.log
SKIP: stty-invalid.log
SKIP: stty-row-col.log
PASS: sum.log
PASS: sum-sysv.log
SKIP: tac-continue.log
PASS: tee.log
PASS: tee-dash.log
PASS: test-diag.log
PASS: tsort.log
SKIP: tty-eof.log
PASS: unexpand.log

========================
 All 85 tests passed
 (8 tests were not run)
========================

make[5]: Leaving directory `/build/coreutils-6.11/tests/misc'
===============================================================================

When PATH contains "." ahead of the usual */bin directories, the "make check"
output is:

===============================================================================
make[5]: Entering directory `/build/coreutils-6.11/tests/misc'
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: help-version.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: seq.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: head-elide-tail.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: ls-time.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: ls-misc.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: date.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: ptx-overrun.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: xstrtol.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: od.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: mktemp.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: arch.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: pr.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: df-P.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: pwd-unreadable-parent.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: chcon.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: chcon-fail.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: selinux.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: cut.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: wc-files0-from.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: wc-files0.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: cat-proc.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: base64.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: basename.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: close-stdout.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: csplit.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: date-sec.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: dircolors.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: df.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: dirname.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: expand.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: expr.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: factor.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: false-status.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: fmt.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: fmt-long-line.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: fold.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: groups-dash.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: groups-version.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: head-c.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: head-pos.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: md5sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: md5sum-newline.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: mknod.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: nice.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: nl.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: nohup.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: od-N.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: od-x8.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: paste.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: pathchk1.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: printf.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: printf-hex.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: printf-surprise.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: pwd-long.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: readlink-fp-loop.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: runcon-no-reorder.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sha1sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sha1sum-vec.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sha224sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sha256sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sha384sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sha512sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: shred-exact.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: shred-remove.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: shuf.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sort-compress.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sort-merge.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sort-rand.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: split-a.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: split-fail.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: split-l.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: stat-fmt.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: stat-printf.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: stty.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: stty-invalid.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: stty-row-col.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sum.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: sum-sysv.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: tac-continue.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: tee.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: tee-dash.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: test-diag.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: tsort.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
SKIP: tty-eof.log
fail-1...
fail-2...
a...
b...
c...
d...
e...
f...
g...
h...
i...
j...
1...
2...
3...
4...
5...
6...
7...
8...
9...
10...
PASS: unexpand.log
a...
b...
c...
d...
e...
f...
g...
paren1...
paren2...
paren3...
paren4...
paren5...
0bang...
00...
minus0...
andand...
oror...
orempty...
minus2...
fail-a...
bigcmp...
anchor...
bre1...
bre2...
bre3...
bre4...
bre5...
bre6...
bre7...
bre8...
bre9...
bre10...
bre11...
bre12...
bre13...
bre14...
bre15...
bre16...
bre17...
bre18...
bre19...
bre20...
bre21...
bre22...
bre23...
bre24...
bre25...
bre26...
bre27...
bre28...
bre29...
bre30...
bre31...
bre32...
bre33...
bre34...
bre35...
bre36...
bre37...
bre38...
bre39...
bre40...
bre41...
bre42...
bre43...
bre44...
bre45...
bre46...
bre47...
bre48...
bre49...
bre50...
bre51...
bre52...
bre53...
bre54...
bre55...
bre56...
bre57...
bre58...
bre59...
bre60...
bre61...
bre62...
fail-b...
fail-c...
/bin/sh: line 31: test: expr (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Parker.: integer expression expected

========================
 All 85 tests passed
 (8 tests were not run)
========================

make[5]: Leaving directory `/build/coreutils-6.11/tests/misc'
===============================================================================

It appears that
  1) For each *.log test, the 'basename' test is run.
  2) After all tests, the 'expr' test is run. It fails with weird error
     messages, but the final result is still "All 85 tests passed".

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]