summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/2g2
-rwxr-xr-xtests/du/8gb2
-rwxr-xr-xtests/du/basic2
-rwxr-xr-xtests/du/deref2
-rwxr-xr-xtests/du/deref-args2
-rwxr-xr-xtests/du/exclude2
-rwxr-xr-xtests/du/fd-leak2
-rwxr-xr-xtests/du/hard-link2
-rwxr-xr-xtests/du/inacc-dest2
-rwxr-xr-xtests/du/inacc-dir2
-rwxr-xr-xtests/du/inaccessible-cwd2
-rwxr-xr-xtests/du/long-from-unreadable2
-rwxr-xr-xtests/du/long-sloop2
-rwxr-xr-xtests/du/no-deref2
-rwxr-xr-xtests/du/no-x2
-rwxr-xr-xtests/du/one-file-system2
-rwxr-xr-xtests/du/restore-wd2
-rwxr-xr-xtests/du/slash2
-rwxr-xr-xtests/du/slink2
-rwxr-xr-xtests/du/trailing-slash2
-rwxr-xr-xtests/du/two-args2
21 files changed, 21 insertions, 21 deletions
diff --git a/tests/du/2g b/tests/du/2g
index 6a7463c02..44592f942 100755
--- a/tests/du/2g
+++ b/tests/du/2g
@@ -70,4 +70,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/8gb b/tests/du/8gb
index 49989d1f2..bdeeb070f 100755
--- a/tests/du/8gb
+++ b/tests/du/8gb
@@ -55,4 +55,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/basic b/tests/du/basic
index 837ec92d5..94e62a838 100755
--- a/tests/du/basic
+++ b/tests/du/basic
@@ -91,4 +91,4 @@ EOF
compare out exp || fail=1
fi
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/deref b/tests/du/deref
index facdf426b..08606c0e3 100755
--- a/tests/du/deref
+++ b/tests/du/deref
@@ -34,4 +34,4 @@ fail=0
# du: `b': No such file or directory
du -sD slink b > /dev/null 2>&1 || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/deref-args b/tests/du/deref-args
index 02bdf7d55..ee5499ccf 100755
--- a/tests/du/deref-args
+++ b/tests/du/deref-args
@@ -50,4 +50,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/exclude b/tests/du/exclude
index 1e32b60f3..e6fd68f48 100755
--- a/tests/du/exclude
+++ b/tests/du/exclude
@@ -60,4 +60,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/fd-leak b/tests/du/fd-leak
index 14df938d3..a35ee24b8 100755
--- a/tests/du/fd-leak
+++ b/tests/du/fd-leak
@@ -45,4 +45,4 @@ fail=0
# With coreutils-5.0, this would fail due to a file descriptor leak.
du $f > out || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/hard-link b/tests/du/hard-link
index f4fdf2616..d58adbe44 100755
--- a/tests/du/hard-link
+++ b/tests/du/hard-link
@@ -50,4 +50,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/inacc-dest b/tests/du/inacc-dest
index b0ea4d677..4f66f8be2 100755
--- a/tests/du/inacc-dest
+++ b/tests/du/inacc-dest
@@ -58,4 +58,4 @@ sed 's,cannot access,cannot read directory,' out > t && mv t out
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/inacc-dir b/tests/du/inacc-dir
index 3b5fa5088..f3b0a46c6 100755
--- a/tests/du/inacc-dir
+++ b/tests/du/inacc-dir
@@ -44,4 +44,4 @@ du -k a > out 2> /dev/null && fail=1
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/inaccessible-cwd b/tests/du/inaccessible-cwd
index 70e83a1f9..9ee647838 100755
--- a/tests/du/inaccessible-cwd
+++ b/tests/du/inaccessible-cwd
@@ -37,4 +37,4 @@ fail=0
du "$cwd/a" > /dev/null || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/long-from-unreadable b/tests/du/long-from-unreadable
index fdaf91ab4..5d9ce7c8e 100755
--- a/tests/du/long-from-unreadable
+++ b/tests/du/long-from-unreadable
@@ -68,4 +68,4 @@ chmod 0 . || framework_failure
fail=0
du -s "$cwd/$dir" > /dev/null || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/long-sloop b/tests/du/long-sloop
index 31aac1fe5..5d430252e 100755
--- a/tests/du/long-sloop
+++ b/tests/du/long-sloop
@@ -74,4 +74,4 @@ echo "du: cannot access: $too_many" > exp || fail=1
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/no-deref b/tests/du/no-deref
index 8d8bc6c68..d1ce5931d 100755
--- a/tests/du/no-deref
+++ b/tests/du/no-deref
@@ -35,4 +35,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/no-x b/tests/du/no-x
index 5569b5d19..b4d6fad77 100755
--- a/tests/du/no-x
+++ b/tests/du/no-x
@@ -51,4 +51,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/one-file-system b/tests/du/one-file-system
index 82081c6da..e944d1d06 100755
--- a/tests/du/one-file-system
+++ b/tests/du/one-file-system
@@ -42,4 +42,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/restore-wd b/tests/du/restore-wd
index b716b4112..07c648c37 100755
--- a/tests/du/restore-wd
+++ b/tests/du/restore-wd
@@ -33,4 +33,4 @@ fail=0
du a b > out || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/slash b/tests/du/slash
index d433a9235..c2d2cc382 100755
--- a/tests/du/slash
+++ b/tests/du/slash
@@ -35,4 +35,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/slink b/tests/du/slink
index 588c4df32..5bf0349cb 100755
--- a/tests/du/slink
+++ b/tests/du/slink
@@ -59,4 +59,4 @@ du -a $symlinks > out || fail=1
# Require that at least one of these symlinks has a non-zero size.
grep '^[1-9]' out > /dev/null || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/trailing-slash b/tests/du/trailing-slash
index 92de5d45c..296ad7d4e 100755
--- a/tests/du/trailing-slash
+++ b/tests/du/trailing-slash
@@ -49,4 +49,4 @@ EOF
compare out exp || fail=1
-(exit $fail); exit $fail
+Exit $fail
diff --git a/tests/du/two-args b/tests/du/two-args
index 2b25bf535..b5d67b4b8 100755
--- a/tests/du/two-args
+++ b/tests/du/two-args
@@ -42,4 +42,4 @@ du $t/1 $t/2 > /dev/null || fail=1
du . $t > /dev/null || fail=1
du .. $t > /dev/null || fail=1
-(exit $fail); exit $fail
+Exit $fail