]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 21 Feb 1998 11:39:06 +0000 (11:39 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 21 Feb 1998 11:39:06 +0000 (11:39 +0000)
tests/mv/Makefile.am
tests/mv/mv-special-1

index fdbab869be5122fd1e4da5aa1017594ee4aa0abb..c44750cd179b2cb282ab0c8288df42977bd2b15d 100644 (file)
@@ -1,6 +1,6 @@
 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
index 0cc9f1f7bc927628d0c1e2eec5676dd3f3ecdcbf..ca8525dcd87b89e04a92d333fa3a01a4bfc1c977 100755 (executable)
@@ -11,8 +11,19 @@ if test -z $other_partition_tmpdir; then
 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