]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 16 Oct 2000 22:05:20 +0000 (22:05 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 16 Oct 2000 22:05:20 +0000 (22:05 +0000)
tests/cp/cp-parents

index 6d36e0396a8030f7946dd4b7a105a7d24cc3978a..183a77a20fe6554c40759a695354ecfaae28d5c4 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# cp -a --parents dir-specified-with-trailing-slash/ other-dir
+# cp -R --parents dir-specified-with-trailing-slash/ other-dir
 # would get a failed assertion.
 
 if test "$VERBOSE" = yes; then
@@ -26,6 +26,8 @@ fi
 
 fail=0
 
-cp --parents foo/ bar || fail=1
+# With 4.0.37 and earlier (back to when?), this would fail
+# with the failed assertion from dirname.c.
+cp -R --parents foo/ bar || fail=1
 
 (exit $fail); exit