From ce5225bcef6209509a9cc812adfd4cc74078fa73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 3 Feb 2023 16:37:26 +0000 Subject: [PATCH] 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. --- tests/cp/preserve-link.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2