From: Jim Meyering Date: Mon, 16 Oct 2000 22:05:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-2_0_8~74 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ad06715030e80a2d2436f7d984fbb4a9d91d9415;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents index 6d36e0396a..183a77a20f 100755 --- a/tests/cp/cp-parents +++ b/tests/cp/cp-parents @@ -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