]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
test: skip test rather than fail with Solaris 10 sed
authorPádraig Brady <P@draigBrady.com>
Mon, 18 Jan 2016 12:26:15 +0000 (12:26 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 18 Jan 2016 13:07:27 +0000 (13:07 +0000)
* tests/rm/r-root.sh: This test was seen to ERROR due to
sed input not having a terminating '\n'.  Therefore just skip
with diagnostics upon failure to adjust the error output with sed.
Reported by Assaf Gordon.

tests/rm/r-root.sh

index a236b16bb95a57fa6b4ead0cd47683f8340050a4..b98db141be98b222d4ab2277d1b166c9e959d62d 100755 (executable)
@@ -142,7 +142,7 @@ exercise_rm_r_root ()
 
   ret=$?
 
-  clean_rm_err_ < err.t > err || framework_failure_
+  clean_rm_err_ < err.t > err || ret=$?
 
   return $ret
 }