summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-09 23:13:08 +0000
committerJim Meyering <jim@meyering.net>2001-01-09 23:13:08 +0000
commitd1da062806be9a96c0f784522137fd53204a5b19 (patch)
treea43ed516574266c9a8a347ac17b87fb1c3d11a5c /tests
parentbce88bc1ae07177c0aa4f2350a754051b5cfc246 (diff)
downloadcoreutils-d1da062806be9a96c0f784522137fd53204a5b19.tar.xz
*** empty log message ***
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp/dir-vs-file4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/dir-vs-file b/tests/cp/dir-vs-file
index c56ea7bda..a5fc7aea2 100755
--- a/tests/cp/dir-vs-file
+++ b/tests/cp/dir-vs-file
@@ -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