bug-coreutils
[Top][All Lists]
Advanced

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

testsuite bug


From: Eric Blake
Subject: testsuite bug
Date: Tue, 15 Nov 2005 06:36:44 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The mv/leak-fd test is broken on cygwin (and possibly Mac, although I
can't test that) due to case-insensitive file systems.  Cygwin reports
'mkdir: cannot create directory `A': File exists' when `a' exists with a
different spelling.  This test is only run when RUN_EXPENSIVE_TESTS=yes.

2005-11-15  Eric Blake  <address@hidden>

        * tests/mv/leak-fd: Work even on case-insensitive file system.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDeeRr84KuGfSFAYARAkbrAKDLqVlTy21y0FlXcU6ic3wBhdANigCgiEjd
EhxWWrPSFy7wTFtWW9MaY/E=
=6lxW
-----END PGP SIGNATURE-----
Index: tests/mv/leak-fd
===================================================================
RCS file: /cvsroot/coreutils/coreutils/tests/mv/leak-fd,v
retrieving revision 1.1
diff -u -p -r1.1 leak-fd
--- tests/mv/leak-fd    21 Oct 2004 09:16:52 -0000      1.1
+++ tests/mv/leak-fd    15 Nov 2005 13:22:52 -0000
@@ -32,7 +32,8 @@ cd $tmp || framework_failure=1
 
 b="0 1 2 3 4 5 6 7 8 9
 a b c d e f g h i j k l m n o p q r s t u v w x y z
-A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
+_A _B _C _D _E _F _G _H _I _J _K _L _M
+_N _O _P _Q _R _S _T _U _V _W _X _Y _Z"
 
 for i in `echo $b`; do
   echo $i
@@ -54,7 +55,7 @@ fi
 fail=0
 
 mv * $other_partition_tmpdir || fail=1
-test -f ZZ/f && fail=1
+test -f $last_file && fail=1
 rm .dirs
 
 ls -A > ../out || fail=1

reply via email to

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