From dbca6b183be459f301af606393f5157d2bfce76f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 23 Jul 2000 09:02:29 +0000 Subject: *** empty log message *** --- tests/cp/dir-slash | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/cp/dir-slash') diff --git a/tests/cp/dir-slash b/tests/cp/dir-slash index 130024d58..2694d6b34 100755 --- a/tests/cp/dir-slash +++ b/tests/cp/dir-slash @@ -26,8 +26,13 @@ fi fail=0 cp -R dir1/ dir2 || fail=1 -test -d dir2/dir1/file || fail=1 -test -d dir1/file || fail=1 + +# This file should not exist, but it did with fileutils-4.0w. +test -r dir2/file && fail=1 + +# These two should. +test -r dir2/dir1/file || fail=1 +test -r dir1/file || fail=1 (exit $fail) exit $fail -- cgit v1.2.3-70-g09d2