summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-xtests/mkdir/p-12
-rwxr-xr-xtests/mkdir/p-22
-rwxr-xr-xtests/mkdir/p-32
-rwxr-xr-xtests/mkdir/p-slashdot2
-rwxr-xr-xtests/mkdir/p-thru-slink2
-rwxr-xr-xtests/mkdir/p-v2
-rwxr-xr-xtests/mkdir/parents2
-rwxr-xr-xtests/mkdir/perm2
-rwxr-xr-xtests/mkdir/selinux2
-rwxr-xr-xtests/mkdir/special-12
-rwxr-xr-xtests/mkdir/t-slash2
-rwxr-xr-xtests/mkdir/writable-under-readonly2
12 files changed, 12 insertions, 12 deletions
diff --git a/tests/mkdir/p-1 b/tests/mkdir/p-1
index 85a2458e6..2039513f5 100755
--- a/tests/mkdir/p-1
+++ b/tests/mkdir/p-1
@@ -27,4 +27,4 @@ fail=0
mkdir --parents "`pwd`/t" || fail=1
test -d t || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/p-2 b/tests/mkdir/p-2
index 7daf0b5fa..22b7615db 100755
--- a/tests/mkdir/p-2
+++ b/tests/mkdir/p-2
@@ -27,4 +27,4 @@ fail=0
mkdir --parents "`pwd`/t/u" || fail=1
test -d t/u || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/p-3 b/tests/mkdir/p-3
index 54052f171..45e1a0a59 100755
--- a/tests/mkdir/p-3
+++ b/tests/mkdir/p-3
@@ -52,4 +52,4 @@ b=`ls "$p/a" | tr -d '\n'`
# With coreutils-5.3.0, this would fail with $b=bu.
test "x$b" = xb || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/p-slashdot b/tests/mkdir/p-slashdot
index d2c3f983c..d7b5dfa91 100755
--- a/tests/mkdir/p-slashdot
+++ b/tests/mkdir/p-slashdot
@@ -31,4 +31,4 @@ test -d d1 || fail=1
mkdir -p d2/.. || fail=1
test -d d2 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/p-thru-slink b/tests/mkdir/p-thru-slink
index accdc7985..6321fc9ee 100755
--- a/tests/mkdir/p-thru-slink
+++ b/tests/mkdir/p-thru-slink
@@ -29,4 +29,4 @@ fail=0
mkdir -p slink/x || fail=1
test -d x || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/p-v b/tests/mkdir/p-v
index 27696b52d..8e085949c 100755
--- a/tests/mkdir/p-v
+++ b/tests/mkdir/p-v
@@ -34,4 +34,4 @@ mkdir: created directory `foo/a/b/c'
mkdir: created directory `foo/a/b/c/d'
EOF
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/parents b/tests/mkdir/parents
index 5433ee0b8..46f5867d3 100755
--- a/tests/mkdir/parents
+++ b/tests/mkdir/parents
@@ -53,4 +53,4 @@ p=`ls -ld a/b/c|cut -b-10`; case $p in drwx------);; *) fail=1;; esac
# `d's perms are determined by the -m argument.
p=`ls -ld a/b/c/d|cut -b-10`; case $p in $d_mode_str);; *) fail=1;; esac
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/perm b/tests/mkdir/perm
index 4fa9b5604..2f8715b47 100755
--- a/tests/mkdir/perm
+++ b/tests/mkdir/perm
@@ -85,4 +85,4 @@ for p in empty -p; do
done
done
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux
index 4a01a4330..a81689a80 100755
--- a/tests/mkdir/selinux
+++ b/tests/mkdir/selinux
@@ -56,4 +56,4 @@ for cmd_w_arg in 'mkdir dir' 'mknod b p' 'mkfifo f'; do
compare out exp || fail=1
done
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1
index 9d13cbad9..7a1c185c4 100755
--- a/tests/mkdir/special-1
+++ b/tests/mkdir/special-1
@@ -52,4 +52,4 @@ case "$mode" in
*) fail=1 ;;
esac
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/t-slash b/tests/mkdir/t-slash
index e95b0529b..4de4459ee 100755
--- a/tests/mkdir/t-slash
+++ b/tests/mkdir/t-slash
@@ -33,4 +33,4 @@ test -d dir || fail=1
mkdir d2/ || fail=1
test -d d2 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/mkdir/writable-under-readonly b/tests/mkdir/writable-under-readonly
index 1057b445b..f6de62144 100755
--- a/tests/mkdir/writable-under-readonly
+++ b/tests/mkdir/writable-under-readonly
@@ -54,4 +54,4 @@ mkdir -p mnt-ro/rw/sub || fail=1
umount /tmp/2
umount /tmp/1
-(exit $fail); exit $fail
+Exit $fail