I built coreutils 5.0 on a Tru64 4.0F system, and it fails the rm3 and rm5
tests; however, I'm not sure it's a problem with rm. The output from make
check shows a blank line missing from the output of rm:
out exp differ: char 1, line 1
--- out 2003-04-08 21:58:01.000000000 -0700
+++ exp 2003-04-08 21:58:01.000000000 -0700
@@ -1,4 +1,3 @@
-
rm: descend into directory `z'
rm: remove directory `z'
rm: remove directory `z/d'
FAIL: rm3
PASS: rm4
cmp: EOF on exp
--- out 2003-04-08 21:58:02.000000000 -0700
+++ exp 2003-04-08 21:58:02.000000000 -0700
@@ -1,4 +1,3 @@
rm: descend into directory `d'
rm: remove directory `d/e'
rm: remove directory `d'
-
FAIL: rm5
I think the problem is in the test harness - it's not taking into account
the final line from rm that ends in "? ". When it runs tr that gets
converted into "\n " (i.e. the last line of the file contains only a space)
which sed then turns into an empty line. The simple solution, I suspect,
is to simply add a blank line when creating the exp files in both the rm3
and rm5 test scripts.
-Tony
--
e-mail: address@hidden Computerized Vehicle Registration
phone : 503 402-3531 2525 SW 1st Ave, Suite 450
FAX : 503 294-1526 Portland, OR 97201-4760
PGP : 1024D/145E65E0 456A 740F F14C 64D6 EB07 E70E 037A 1601 145E 65E0