]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 9 Jan 2001 23:13:08 +0000 (23:13 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 9 Jan 2001 23:13:08 +0000 (23:13 +0000)
tests/cp/dir-vs-file

index c56ea7bdaad14729b6413b1a04614f01e2f2f7c8..a5fc7aea22b7b67c8ced3af81affa938c9071295 100755 (executable)
@@ -28,9 +28,9 @@ fi
 
 fail=0
 
-cp -al a/* a/b && fail=1
+cp -al a/* a/b 2>/dev/null && fail=1
 
-# the files a/b/b and a/b/c must remain files
+# The files a/b/b and a/b/c must remain as files.
 # In 4.0.35, they were overwritten with directories.
 test -f a/b/b || fail=1
 test -f a/b/c || fail=1