tests: factor 350 fail=0 initializations into test-lib.sh
[platform/upstream/coreutils.git] / tests / mv / part-fail
index 290864d..3d939f1 100755 (executable)
@@ -32,7 +32,6 @@ cleanup_() { t=$other_partition_tmpdir; chmod -R 700 "$t"; rm -rf "$t"; }
 touch k "$other_partition_tmpdir/k" || framework_failure
 chmod u-w "$other_partition_tmpdir" || framework_failure
 
-fail=0
 
 mv -f k "$other_partition_tmpdir" 2> out && fail=1
 cat <<EOF > exp