tests: factor 350 fail=0 initializations into test-lib.sh
[platform/upstream/coreutils.git] / tests / rm / ir-1
index 6589d84..2b0cfa3 100755 (executable)
@@ -49,7 +49,6 @@ EOF
 # Remove all but one of a, b, c -- I doubt that this test can portably
 # determine which one was removed based on order of dir entries.
 # This is a good argument for switching to a dejagnu-style test suite.
-fail=0
 rm --verbose -i -r $t < $test.I > /dev/null 2>&1 || fail=1
 
 # $t should not have been removed.