summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/acl2
-rwxr-xr-xtests/mv/atomic2
-rwxr-xr-xtests/mv/atomic22
-rwxr-xr-xtests/mv/backup-dir2
-rwxr-xr-xtests/mv/backup-is-src2
-rwxr-xr-xtests/mv/childproof2
-rwxr-xr-xtests/mv/diag2
-rwxr-xr-xtests/mv/dir-file2
-rwxr-xr-xtests/mv/dir2dir2
-rwxr-xr-xtests/mv/dup-source2
-rwxr-xr-xtests/mv/force2
-rwxr-xr-xtests/mv/hard-22
-rwxr-xr-xtests/mv/hard-32
-rwxr-xr-xtests/mv/hard-42
-rwxr-xr-xtests/mv/hard-link-12
-rwxr-xr-xtests/mv/hard-verbose2
-rwxr-xr-xtests/mv/i-22
-rwxr-xr-xtests/mv/i-32
-rwxr-xr-xtests/mv/i-42
-rwxr-xr-xtests/mv/i-52
-rwxr-xr-xtests/mv/i-link-no2
-rwxr-xr-xtests/mv/into-self2
-rwxr-xr-xtests/mv/into-self-22
-rwxr-xr-xtests/mv/into-self-32
-rwxr-xr-xtests/mv/into-self-42
-rwxr-xr-xtests/mv/leak-fd2
-rwxr-xr-xtests/mv/mv-special-12
-rwxr-xr-xtests/mv/no-target-dir2
-rwxr-xr-xtests/mv/part-fail2
-rwxr-xr-xtests/mv/part-hardlink2
-rwxr-xr-xtests/mv/part-rename2
-rwxr-xr-xtests/mv/part-symlink2
-rwxr-xr-xtests/mv/partition-perm2
-rwxr-xr-xtests/mv/perm-12
-rwxr-xr-xtests/mv/reply-no2
-rwxr-xr-xtests/mv/sticky-to-xpart2
-rwxr-xr-xtests/mv/to-symlink2
-rwxr-xr-xtests/mv/trailing-slash2
-rwxr-xr-xtests/mv/update2
39 files changed, 39 insertions, 39 deletions
diff --git a/tests/mv/acl b/tests/mv/acl
index e9121a59b..f596ff7dc 100755
--- a/tests/mv/acl
+++ b/tests/mv/acl
@@ -69,4 +69,4 @@ mv dir2 $other_partition_tmpdir || fail=1
acl2=`cd $other_partition_tmpdir && getfacl dir2` || framework_failure
test "$acl1" = "$acl2" || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/atomic b/tests/mv/atomic
index b360e13eb..3f731a5cb 100755
--- a/tests/mv/atomic
+++ b/tests/mv/atomic
@@ -46,4 +46,4 @@ ls -dl s1 > /dev/null 2>&1 && fail=1
# Ensure that the destination, s2, contains the link from s1.
test "`readlink s2`" = t1 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/atomic2 b/tests/mv/atomic2
index 796d9c499..3a4ee7612 100755
--- a/tests/mv/atomic2
+++ b/tests/mv/atomic2
@@ -47,4 +47,4 @@ ls -dl a > /dev/null 2>&1 && fail=1
n_links=`stat --printf=%h b` || fail=1
test "$n_links" = 1 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/backup-dir b/tests/mv/backup-dir
index 28876a007..36c4bb0da 100755
--- a/tests/mv/backup-dir
+++ b/tests/mv/backup-dir
@@ -36,4 +36,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/backup-is-src b/tests/mv/backup-is-src
index eee4fd9d8..70b1e96aa 100755
--- a/tests/mv/backup-is-src
+++ b/tests/mv/backup-is-src
@@ -47,4 +47,4 @@ EOF
compare out2 exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/childproof b/tests/mv/childproof
index dffdf40c1..2067bd81c 100755
--- a/tests/mv/childproof
+++ b/tests/mv/childproof
@@ -86,4 +86,4 @@ test `stat --format %i a/f` = `stat --format %i c/f` || fail=1
# b/f and c/f must not be linked
test `stat --format %i b/f` = `stat --format %i c/f` && fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/diag b/tests/mv/diag
index ef25d8092..446fc34bf 100755
--- a/tests/mv/diag
+++ b/tests/mv/diag
@@ -50,4 +50,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/dir-file b/tests/mv/dir-file
index 38217e0f3..82c0c21b4 100755
--- a/tests/mv/dir-file
+++ b/tests/mv/dir-file
@@ -32,4 +32,4 @@ fail=0
mv dir file > /dev/null 2>&1 && fail=1
mv file dir > /dev/null 2>&1 && fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/dir2dir b/tests/mv/dir2dir
index 9a038814a..8e260a777 100755
--- a/tests/mv/dir2dir
+++ b/tests/mv/dir2dir
@@ -44,4 +44,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/dup-source b/tests/mv/dup-source
index d7b56e854..398d877dc 100755
--- a/tests/mv/dup-source
+++ b/tests/mv/dup-source
@@ -68,4 +68,4 @@ EOF
compare out exp || fail=1
done
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/force b/tests/mv/force
index f2eaf918e..912354ee8 100755
--- a/tests/mv/force
+++ b/tests/mv/force
@@ -43,4 +43,4 @@ test `cat $ff` = force-contents || fail=1
# device and inodes are the same.
mv $ff $ff2 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/hard-2 b/tests/mv/hard-2
index aaf9349af..6451a1cae 100755
--- a/tests/mv/hard-2
+++ b/tests/mv/hard-2
@@ -79,4 +79,4 @@ ic=`ls -i c|sed 's/ c//'`
test $ia = $ib || fail=1
test $ia = $ic || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/hard-3 b/tests/mv/hard-3
index a2fa4e759..e476c9d30 100755
--- a/tests/mv/hard-3
+++ b/tests/mv/hard-3
@@ -71,4 +71,4 @@ test "$ia" = "$ic" || fail=1
ib=`ls -i x/b` || fail=1; set x $ib; ib=$2
test "$ia" = "$ib" && fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/hard-4 b/tests/mv/hard-4
index 881cab518..e11914a1f 100755
--- a/tests/mv/hard-4
+++ b/tests/mv/hard-4
@@ -40,4 +40,4 @@ test -r a && fail=1
test -r b || fail=1
test -r b~ || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/hard-link-1 b/tests/mv/hard-link-1
index 864fd0318..08b3c9252 100755
--- a/tests/mv/hard-link-1
+++ b/tests/mv/hard-link-1
@@ -42,4 +42,4 @@ a=`sed -n 's/ a$//p' out`
b=`sed -n 's/ b$//p' out`
test "$a" = "$b" || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/hard-verbose b/tests/mv/hard-verbose
index 0b4a12903..a558d32bc 100755
--- a/tests/mv/hard-verbose
+++ b/tests/mv/hard-verbose
@@ -35,4 +35,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/i-2 b/tests/mv/i-2
index 1cc139497..959912a16 100755
--- a/tests/mv/i-2
+++ b/tests/mv/i-2
@@ -57,4 +57,4 @@ test -f g || fail=1
test -f h || fail=1
compare g h || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/i-3 b/tests/mv/i-3
index 9d8b03ecd..b9cd7d9ed 100755
--- a/tests/mv/i-3
+++ b/tests/mv/i-3
@@ -54,4 +54,4 @@ case "`cat out`" in
*) fail=1 ;;
esac
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/i-4 b/tests/mv/i-4
index 5de59b43b..fcc38df53 100755
--- a/tests/mv/i-4
+++ b/tests/mv/i-4
@@ -51,4 +51,4 @@ mv -i a b < y >/dev/null 2>&1 || fail=1
test -r a && fail=1
test -r b || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/i-5 b/tests/mv/i-5
index da9716888..f8fc8e6a7 100755
--- a/tests/mv/i-5
+++ b/tests/mv/i-5
@@ -31,4 +31,4 @@ fail=0
# coreutils 6.2 mv would neglect to prompt in this case.
echo n | mv -i a b 2>/dev/null || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/i-link-no b/tests/mv/i-link-no
index b32287259..226d5dd17 100755
--- a/tests/mv/i-link-no
+++ b/tests/mv/i-link-no
@@ -48,4 +48,4 @@ case "`cat b/foo`" in
*) fail=1;;
esac
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/into-self b/tests/mv/into-self
index 915194f60..428eb174e 100755
--- a/tests/mv/into-self
+++ b/tests/mv/into-self
@@ -55,4 +55,4 @@ test -d $dir/$dir && fail=1
# Make sure the file has been moved to the right place.
test -f $dir/$file || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/into-self-2 b/tests/mv/into-self-2
index 13e996a22..99763d62d 100755
--- a/tests/mv/into-self-2
+++ b/tests/mv/into-self-2
@@ -54,4 +54,4 @@ EOF
compare out2 exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/into-self-3 b/tests/mv/into-self-3
index 3b967322f..d1a0710d4 100755
--- a/tests/mv/into-self-3
+++ b/tests/mv/into-self-3
@@ -42,4 +42,4 @@ EOF
compare out2 exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/into-self-4 b/tests/mv/into-self-4
index 9f001139f..0a4af7fc9 100755
--- a/tests/mv/into-self-4
+++ b/tests/mv/into-self-4
@@ -36,4 +36,4 @@ mv s s 2> /dev/null && fail=1
# Before 4.0.36, `s' would have been removed.
test -f s || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/leak-fd b/tests/mv/leak-fd
index 1141b7303..993bbdf0c 100755
--- a/tests/mv/leak-fd
+++ b/tests/mv/leak-fd
@@ -57,4 +57,4 @@ rm .dirs
out=$(ls -A) || fail=1
test -z "$out" || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index f10dc10ef..bae203cc8 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -75,4 +75,4 @@ compare out2 exp || fail=1
# cd $other_partition_tmpdir
# ls -l -A -R $other_partition_tmpdir
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/no-target-dir b/tests/mv/no-target-dir
index 7df1fb99f..7094cc73f 100755
--- a/tests/mv/no-target-dir
+++ b/tests/mv/no-target-dir
@@ -51,4 +51,4 @@ mv -fT src d2 2> /dev/null && fail=1
# rename must fail, since the src is not a directory.
mv -fT f e2 2> /dev/null && fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/part-fail b/tests/mv/part-fail
index 60c421031..469880a89 100755
--- a/tests/mv/part-fail
+++ b/tests/mv/part-fail
@@ -56,4 +56,4 @@ else
fi
test $fail = 1 && diff out exp 2> /dev/null
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/part-hardlink b/tests/mv/part-hardlink
index 3eaa083cd..fa3d54da6 100755
--- a/tests/mv/part-hardlink
+++ b/tests/mv/part-hardlink
@@ -45,4 +45,4 @@ test $1 = $3 || fail=1
set `ls -Ci a/1 b/1`
test $1 = $3 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/part-rename b/tests/mv/part-rename
index 8bff9915f..e80004b6a 100755
--- a/tests/mv/part-rename
+++ b/tests/mv/part-rename
@@ -33,4 +33,4 @@ fail=0
mv foo/ $other_partition_tmpdir/bar || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink
index 926252493..2aed4d854 100755
--- a/tests/mv/part-symlink
+++ b/tests/mv/part-symlink
@@ -204,4 +204,4 @@ EOF
# Redirect to stderr, since stdout is already taken.
compare $expected $actual 1>&2 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/partition-perm b/tests/mv/partition-perm
index 03f169ebb..08236a2a4 100755
--- a/tests/mv/partition-perm
+++ b/tests/mv/partition-perm
@@ -39,4 +39,4 @@ test -f $other_partition_tmpdir/file || fail=1
mode=`ls -l $other_partition_tmpdir/file|cut -b-10`
test "$mode" = "-rwxrwxrwx" || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/perm-1 b/tests/mv/perm-1
index 95bbccb8d..44a1af2b7 100755
--- a/tests/mv/perm-1
+++ b/tests/mv/perm-1
@@ -37,4 +37,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/reply-no b/tests/mv/reply-no
index 42967c866..fb7cc2f8d 100755
--- a/tests/mv/reply-no
+++ b/tests/mv/reply-no
@@ -39,4 +39,4 @@ EOF
compare out exp_err || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart
index 14cb76211..55d8f8f28 100755
--- a/tests/mv/sticky-to-xpart
+++ b/tests/mv/sticky-to-xpart
@@ -65,4 +65,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/to-symlink b/tests/mv/to-symlink
index 560d63de9..b12772250 100755
--- a/tests/mv/to-symlink
+++ b/tests/mv/to-symlink
@@ -47,4 +47,4 @@ test -f $file && fail=1
# Make sure $rem_file is unmodified.
test `cat $rem_file` = remote || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/trailing-slash b/tests/mv/trailing-slash
index eea982f3e..a5932ba64 100755
--- a/tests/mv/trailing-slash
+++ b/tests/mv/trailing-slash
@@ -55,4 +55,4 @@ done
#touch a a2
#mv a a2/ && fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mv/update b/tests/mv/update
index 15e6fa762..29910c82b 100755
--- a/tests/mv/update
+++ b/tests/mv/update
@@ -57,4 +57,4 @@ cp --update new old || fail=1
case "`cat old`" in new) ;; *) fail=1 ;; esac
case "`cat new`" in new) ;; *) fail=1 ;; esac
-(exit $fail); exit $fail
+Exit $fail