AUTOMAKE_OPTIONS = 1.1 gnits
TESTS = mv-special-1
-EXTRA_DIST = $(TESTS)
+EXTRA_DIST = $(TESTS) setup
TESTS_ENVIRONMENT = RM=../../src/rm MKDIR=../../src/mkdir \
MKNOD=../../src/mknod MV=../../src/mv DF=../../src/df
fi
null=.mv-null
-$RM -f $null
-$MKNOD $null p
-$MV $null $other_partition_tmpdir
+
+test_failure=0
+
+$RM -f $null || test_failure=1
+$MKNOD $null p || test_failure=1
+if test $test_failure = 1; then
+ echo 'failure in testing framework'
+ exit 1
+fi
+
+fail=0
+$MV $null $other_partition_tmpdir || fail=1
$RM -rf $null $other_partition_tmpdir
+
+exit $fail