From: Pádraig Brady Date: Fri, 3 Feb 2023 16:37:26 +0000 (+0000) Subject: tests: fix exit status check in cp -u test X-Git-Tag: v9.2~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce5225bcef6209509a9cc812adfd4cc74078fa73;p=thirdparty%2Fcoreutils.git tests: fix exit status check in cp -u test * tests/cp/preserve-link.sh: This should have been part of commit v9.1-134-g01503ce73. --- diff --git a/tests/cp/preserve-link.sh b/tests/cp/preserve-link.sh index 2adaffd44f..eb83b0f2b7 100755 --- a/tests/cp/preserve-link.sh +++ b/tests/cp/preserve-link.sh @@ -81,7 +81,7 @@ for f in f linkm; do # Copy all the hard links across. With cp from coreutils-8.12 # and prior, it would sometimes mistakenly copy rather than link. - returns_ 1 cp -au s t || fail=1 + cp -au s t || fail=1 same_inode t/s/f t/s/linkm || fail=1 same_inode t/s/f t/s/linke || fail=1