]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Replace all occurrences of `(exit N); exit' with
authorJim Meyering <jim@meyering.net>
Wed, 23 Jun 2004 15:07:00 +0000 (15:07 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 23 Jun 2004 15:07:00 +0000 (15:07 +0000)
`(exit N); exit N'.  Otherwise, those many tests could exit with
improper exit status when exiting via e.g., a trapped interrupt.
Thanks to a report from Bob Proulx.

94 files changed:
tests/chgrp/basic
tests/chgrp/deref
tests/chgrp/recurse
tests/chmod/c-option
tests/chmod/equal-x
tests/chmod/equals
tests/chmod/setgid
tests/chown/basic
tests/cp/backup-1
tests/cp/backup-is-src
tests/cp/cp-HL
tests/cp/cp-mv-backup
tests/cp/cp-parents
tests/cp/deref-slink
tests/cp/dir-rm-dest
tests/cp/dir-slash
tests/cp/dir-vs-file
tests/cp/fail-perm
tests/cp/into-self
tests/cp/link
tests/cp/link-preserve
tests/cp/no-deref-link1
tests/cp/no-deref-link2
tests/cp/no-deref-link3
tests/cp/perm
tests/cp/r-vs-symlink
tests/cp/same-file
tests/cp/slink-2-slink
tests/cp/special-bits
tests/cp/symlink-slash
tests/dd/not-rewound
tests/dd/skip-seek2
tests/du/slink
tests/du/two-args
tests/expensive
tests/group-names
tests/input-tty
tests/install/basic-1
tests/ls/dired
tests/ls/follow-slink
tests/ls/infloop
tests/ls/no-arg
tests/ls/recursive
tests/ls/rt-1
tests/ls/time-1
tests/misc/csplit
tests/misc/head-c
tests/misc/head-pos
tests/misc/pathchk1
tests/misc/split-a
tests/mkdir/parents
tests/mkdir/perm
tests/mkdir/t-slash
tests/mv/childproof
tests/mv/dup-source
tests/mv/i-3
tests/mv/i-link-no
tests/mv/into-self-4
tests/mv/mv-special-1
tests/mv/part-fail
tests/mv/part-hardlink
tests/mv/part-rename
tests/mv/part-symlink
tests/mv/perm-1
tests/mv/trailing-slash
tests/mv/update
tests/od/od-N
tests/priv-check
tests/rm/dangling-symlink
tests/rm/deep-1
tests/rm/f-1
tests/rm/hash
tests/rm/i-1
tests/rm/ir-1
tests/rm/isatty
tests/rm/r-1
tests/rm/r-2
tests/rm/r-3
tests/rm/rm1
tests/rm/rm2
tests/rm/rm3
tests/rm/rm4
tests/rm/rm5
tests/rm/sunos-1
tests/rm/unread2
tests/setgid-check
tests/shred/exact
tests/sum/sysv
tests/tail-2/proc-ksyms
tests/tail-2/start-middle
tests/touch/fail-diag
tests/touch/no-create-missing
tests/touch/not-owner
tests/touch/obsolescent

index 6d717fc84d2ab81a7816143eed15022811854223..b0967aae132bc350563bca824ea0dc457e83b06d 100755 (executable)
@@ -21,7 +21,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -110,4 +110,4 @@ EOF
 cmp expected actual \
   || { diff expected actual 1>&2; fail=1; }
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 2b947ae14c67476411984d9cdb6a4493898712bb..5e605bfa6af8de1640c73b81c9450a2951860330 100755 (executable)
@@ -19,7 +19,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 set _ $groups; shift
@@ -37,7 +37,7 @@ test "$g" = $g2 || {
 $0: skipping this test; your system doesn't support changing
 the owner or group of a symbolic link.
 EOF
-  (exit 77); exit
+  (exit 77); exit 77
 }
 
 fail=0
@@ -64,4 +64,4 @@ chgrp --dereference $g1 symlink
 set _ `ls -l f`; g=$5; test "$g" = $g1 || fail=1
 set _ `ls -l symlink`; g=$5; test "$g" = $g2 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 0bd648290ce859cfac105a77f7fe8b7c7fd63f7c..05aaa08d4a9107720c3f30f2b2a3aa6958121699 100755 (executable)
@@ -19,7 +19,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 set _ $groups; shift
@@ -53,4 +53,4 @@ set _ `ls -l e/ee`; g=$5; test "$g" = $g2 || fail=1
 # But it *should* change d/dd.
 set _ `ls -l d/dd`; g=$5; test "$g" = $g1 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 36feb6d2bea650c85af10ba285ef2ab0395c22f1..167f5bb3a5db5a369000d02fdd091a31a9b5b447 100755 (executable)
@@ -30,7 +30,7 @@ chmod 444 $file || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 . $abs_srcdir/../setgid-check
@@ -47,4 +47,4 @@ case "`cat out`" in
   *) fail=1 ;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 1b1af8aeaa549ec1c108e7878c893ea526fcecd6..76030e794bc4ca8c7538103bf81c610c16819cf2 100755 (executable)
@@ -20,7 +20,7 @@ chmod 444 $file || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 umask 005
@@ -30,4 +30,4 @@ case "`ls -l $file`" in
   *) fail=1; ls -l $file ;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 2f833bea3ad309d074f5d4b32c64352c55c28969..95a1e6587015d8c680fd6ce37532b6dbaa5ee3a0 100755 (executable)
@@ -19,7 +19,7 @@ touch f || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -38,4 +38,4 @@ for src in u g o; do
   done
 done
 
-(exit $fail); exit
+(exit $fail); exit $fail
index b7f9ad14c57c9cca360fd117c498a27f340d4f33..bd9c154fd073567a2140c3b369c13bee035f4f32 100755 (executable)
@@ -47,7 +47,7 @@ chmod g+s d 2> /dev/null ||
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -70,4 +70,4 @@ chmod 755 d
 # For now, this test simply confirms the existing behavior.
 p=`ls -ld d|sed 's/ .*//'`; case $p in drwxr-xr-x);; *) fail=1;; esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index db270ea94c0946392bc8f9596ecff128645cb0c3..908ef119c35d023c1a7aa7ee8409f4db7aa3876d 100755 (executable)
@@ -22,7 +22,7 @@ touch f || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -36,4 +36,4 @@ chown --from=0:1 2:3 f || fail=1
 # And now they should be 2 and 3 respectively.
 set _ `ls -n f`; shift; test "$3:$4" = 2:3 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 29e36e58cc00f928f3bcbac426ced87ea3718e45..b17e61af8fd942e628824cd3a94722ac12c3db70 100755 (executable)
@@ -16,7 +16,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 suffix=.b
@@ -37,4 +37,4 @@ test -f $file || fail=1
 test -f $file_backup || fail=1
 cmp $file $file_backup > /dev/null || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 4f25e81b16b26548d7b0a1b8c57d1964ae2dd406..7d4c47d64387896cdefda222a1ad45fb65d3fa34 100755 (executable)
@@ -22,7 +22,7 @@ echo a-tilde > a~ || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 # This cp command should exit nonzero.
@@ -36,4 +36,4 @@ EOF
 
 cmp out2 exp || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 239ecebcb9c3708832ca2af7ad58452be4221692..afe2369366371ac4086576bab5af4e84f5c02ba5 100755 (executable)
@@ -41,4 +41,4 @@ cat dest-dir/src-dir/slink > /dev/null 2>&1 && fail=1
 
 # FIXME: test -L, too.
 
-(exit $fail); exit
+(exit $fail); exit $fail
index f8186df46c3b9b03b748b7a0fd052e94ac17199c..d90b87cc9aa2bb78b8f6e5c0a025f9dc5b3f7194 100755 (executable)
@@ -28,7 +28,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 actual=actual
@@ -97,4 +97,4 @@ cmp $expected $actual || fail=1
 # Uncomment this if you see a failure and want to try to diagnose it.
 test $fail = 1 && diff -c $expected $actual 1>&2
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 7c693cf16b0d1cb3b703397bb7fc200ac07b4250..8f5182213ba1b6c64139017b4e4e142b88d2ebec 100755 (executable)
@@ -54,4 +54,4 @@ p=`ls -ld e/d|sed 's/ .*//'`; case $p in drwxr-xr-x);; *) fail=1;; esac
 p=`ls -ld e/d/a|sed 's/ .*//'`; case $p in drwx-w--w-);; *) fail=1;; esac
 p=`ls -ld e/d/a/b/c|sed 's/ .*//'`; case $p in drwxr-xr-x);; *) fail=1;; esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 99181e5b987cd00747e8be4521f8abe4c499ea99..641406fa445fce73044d58599e1d01935dae638a 100755 (executable)
@@ -23,10 +23,10 @@ ln -s slink-target slink || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
 cp -d f slink || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index b602f2f178ec90c4094f2ebdd7dea733b013760c..c6c8229e531daf27c8ffecd737f3871bc27ebc2e 100755 (executable)
@@ -29,4 +29,4 @@ cp -R --remove-destination d e || fail=1
 # ...and again, with an existing destination.
 cp -R --remove-destination d e || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index bdaa12042f9152ed78f6ad38cf75bedfde6cb6f2..2fc10b230679c39c22b494c8d9c3abf4d5b8f7ef 100755 (executable)
@@ -34,4 +34,4 @@ test -r dir2/file && fail=1
 test -r dir2/dir1/file || fail=1
 test -r dir1/file || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 9ac6bd0d692730af2d7e08eaf2cb8d25200f78fb..b024c213a84cf15c52429e78efc2b42ceaf2aa86 100755 (executable)
@@ -22,7 +22,7 @@ touch file || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -34,4 +34,4 @@ cp -R dir file 2>/dev/null && fail=1
 # In 4.0.35, it was.
 test -f file || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 9ba355a19d50ec367a02758548f5d69b673ce55b..c2b18801b20a50b6e525986999fb9c8d6345348e 100755 (executable)
@@ -38,4 +38,4 @@ shift
 test "$1" = dr-x------ || fail=1
 chmod 700 D
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 0ca8bb92a41e1c4cf6a6615296b8507c2d4d5e6a..9a6a528511ef5a94f05bddb05cc7b57b1937ae99 100755 (executable)
@@ -26,7 +26,7 @@ mkdir dir || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -42,4 +42,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index be8d2acea1b2f625ee26b42b8e1415c148c7427a..84902ba06f98320f6d2dc98fef1a969f80a5a78b 100755 (executable)
@@ -30,4 +30,4 @@ fail=0
 cp -f --link src dest || fail=1
 cp -f --symbolic-link src dest2 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index bb1dda6d658c0cd6189ee0f002dfed47e9552815..6db88249c2efc8a89ad90924004b97c55782fac3 100755 (executable)
@@ -27,7 +27,7 @@ test -f c/b || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -86,4 +86,4 @@ test "$mode" = "-rwx------" || fail=1
 umask 022
 # --------------------------------------
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 780ad20b75e91e19b1a13fd9a04b5f91b2693c34..a7df22c26ecfc81bdb1220d7d3c4ddb15441786b 100755 (executable)
@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 mkdir a b
@@ -39,4 +39,4 @@ test $? = 1 || fail=1
 
 test "`cat a/foo`" = $msg || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 21f2867ba823b7b94bc639fffb2afa75574189ad..ff0d0692a9a02e965137c36137a73e5fd6467ae8 100755 (executable)
@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 mkdir b
@@ -39,4 +39,4 @@ test $? = 1 || fail=1
 
 test "`cat a`" = $msg || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index c71691726e770fa555a167cf128293473b15fd4d..d60d9630b4913957079f5894bab06177ae667583 100755 (executable)
@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 msg=bar
@@ -36,4 +36,4 @@ test $? = 1 || fail=1
 
 test "`cat a`" = $msg || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index cb295c17e801bd8a29febff5a4bcc77a596d9bf3..e39b8d6b037b0c2760c2e54f0a520010fe57dcaf 100755 (executable)
@@ -78,4 +78,4 @@ for u in 31 37 2; do
   done
 done
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 22ea7caf62798c8191d07567b71b7ab8e9a18eb2..da50602ad9d4f400b593f50d7b354c998743d505 100755 (executable)
@@ -25,7 +25,7 @@ ln -s no-such-file no-file || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -40,4 +40,4 @@ case $mode in
   *) fail=1;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index de5cf61ca5bb888e5b3fbff264473f53e3b7d383..47db0cd1545b924a7df9862b6e079a4a8e84c168 100755 (executable)
@@ -191,4 +191,4 @@ fail=0;
 cmp $expected $actual \
   || { diff -c $expected $actual 1>&2; fail=1; }
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 837edd512f50f11d54416707ef8583bd3d258504..3e540fe6b6612ccb93ec0e838a0a94b2966e9721 100755 (executable)
@@ -36,4 +36,4 @@ fail=0
 cp --update --no-dereference a b || fail=1
 cp --update --no-dereference c d || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 5b31fda0d20abb63040a9c7660ebb669ddb45bc6..007ce938cb16ef4719f4a631924849e442528c0f 100755 (executable)
@@ -42,4 +42,4 @@ set _ `ls -l b`; shift; p1=$1
 set _ `ls -l b2`; shift; p2=$1
 test $p1 = $p2 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 827888c68405de8f62ea46efaa2cb536cbb6d80d..3ef527d4954d94b31c3e835d175cb7f86d1ca5ae 100755 (executable)
@@ -37,4 +37,4 @@ set `ls -l s`
 # call and so cp ends up dereferencing the symlink and copying the directory.
 test "$*" = 'total 0' && : || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 814d038153c0fb7d4911c6c082b644898878ba2d..42780863b04d597bb0c5ae980a124d8d74e5afcc 100755 (executable)
@@ -30,4 +30,4 @@ case `cat out` in
   *) fail=1 ;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index e5da57ca675323f92d6f0a775f2240ef1f5b9362..fdaf68dc2887fe684732efa45f2030e4240576d2 100755 (executable)
@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -37,4 +37,4 @@ case `cat out` in
   *) fail=1 ;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 787f811abb41920432c62aaf2f524836624f20b8..4625aa0538c77647e61f4e443e61eb11701c8cfd 100755 (executable)
@@ -23,7 +23,7 @@ if test -s tmp; then
   : # Ok.
 else
   echo "$0: skipping this test, since \`.' is on a non-local file system" 1>&2
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 
 df --type=xfs . | tail -n +2 > tmp
@@ -31,7 +31,7 @@ if test -s tmp; then
   # At least on Irix-6.5.19, when using an xfs file system,
   # each created symlink (name lengths up to 255) would have a size of `0'.
   echo "$0: skipping this test, since \`.' is on an XFS file system" 1>&2
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 
 if test $framework_failure = 1; then
index 27c78968e5479da3388f425e0f42586a594ed7d1..5e9649933bbce09875a9ea493e872ff243f76c1b 100755 (executable)
@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 mkdir -p $tmp/1 $tmp/2
@@ -31,4 +31,4 @@ du $tmp/1 $tmp/2 > /dev/null || fail=1
 du . $tmp > /dev/null || fail=1
 du .. $tmp > /dev/null || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index aaa69ec17f9af626a773ebcff96a6611dbb0c79e..d1bbc5a70f44a3220e7ebc71598b042c79ddcbae 100644 (file)
@@ -7,5 +7,5 @@ environment variable set to yes.  E.g.,
   env RUN_EXPENSIVE_TESTS=yes make check
 
 EOF
-  (exit 77); exit
+  (exit 77); exit 77
 fi
index 94a7f79e26d6a7971446ee1ed50a54d8dd783752..5dae7943a33a5b7da345c0c1474ffcf5c75c96c6 100644 (file)
@@ -14,6 +14,6 @@ set in your environment to the space-separated list of names.  E.g.,
   env FETISH_GROUPS='users cdrom' make check
 
 EOF
-     (exit 77); exit
+     (exit 77); exit 77
      ;;
 esac
index 95a3c37ca54bcf3d7f29ec825c92f901ea880bb2..7df151523f25e9162808746219d54dbcfd73c132 100644 (file)
@@ -6,5 +6,5 @@ if test "$have_input_tty" = no; then
   echo "$0: This test must have a controlling input \`terminal'," 1>&2
   echo "  so it may not be run via \`batch', \`at', or \`rsh'." 1>&2
   echo "  On some systems, it may not even be run in the background." 1>&2
-  (exit 77; exit); exit
+  (exit 77); exit 77
 fi
index 4262f0e909d3a1b18fcee6d80c273159ffbc3254..484bf2a28f6602998944a59531a2a32fdefaaf47 100755 (executable)
@@ -58,4 +58,4 @@ set X `ls -l $dir/dd`
 shift
 test "$1" = -r-xr-xr-x || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 82f90fe043406d964481dc9f0d3a0e86d9baa99f..8126e0a45aa1ca3436786873917323a0b94ffac1 100755 (executable)
@@ -20,7 +20,7 @@ mkdir dir || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -36,4 +36,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 05d52271810bbbbebfe02134db6afeef9f63ef78..ede278ee568b0dc62c99e1ba2b0679e901795ac1 100755 (executable)
@@ -23,11 +23,11 @@ ls -F link > /dev/null || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
 
 ls -L link 2> /dev/null && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 1842c5bc4b248567ef22acef0c1e48033ee0f532..9e2ad79fcfef08dada77abd13463898d53aeaf11 100755 (executable)
@@ -22,7 +22,7 @@ ln -s ../loop loop/sub || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -41,4 +41,4 @@ EOF
 
 cmp out bad 2>/dev/null && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index f36bb0edf8305a324ba75823bd8dc8775d50b291..46fa6d901bc719306eba8838cc52513d5fc905b4 100755 (executable)
@@ -27,7 +27,7 @@ EOF
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -56,4 +56,4 @@ ls -R1 > out || fail=1
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 3b4cb72552071156f6eae5bfc78ba7a93678a248..455db181a39c5b9c9867edce7e14863a9c2d702d 100755 (executable)
@@ -23,7 +23,7 @@ touch f a/1/I a/1/II || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -65,4 +65,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 66aa3ca0b19a47b13e95d2dbb4cb3a901bc87443..3d89a7b9f6d21c1b098ccdfb1200318e1ca2e1cd 100755 (executable)
@@ -27,7 +27,7 @@ touch -d "$date" b || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -51,4 +51,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 5c4deb30b2c386c27662afeac7a4224949a92514..1d50033caeb09ca89512772e1c632ca97d47918a 100755 (executable)
@@ -85,7 +85,7 @@ In the output below, the date of last access for \`a' should
 have been $u1.
 EOF
   ls --full -lu a
-  (exit 77); exit
+  (exit 77); exit 77
   ;;
 esac
 
index 2d04fee7f69ea13b3a974c6ab3ee422e01b7fee0..5ea8a6aef0d7dbb0e980f0be43c0bd0d016ee18a 100755 (executable)
@@ -19,7 +19,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -86,4 +86,4 @@ EOF
 cmp err experr || fail=1
 test $fail = 1 && diff err experr 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 14f2a2f09b7e51156ab2e691d176d3400e011924..bd899aff4b3713e73534be2c2a93c181c9d6b511 100755 (executable)
@@ -18,7 +18,7 @@ echo abc > in || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -29,4 +29,4 @@ case "`cat out`" in
   *) fail=1 ;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 403dde627d98a0e3eff89e4aa9a48c1e5ad32663..a8791f2e957b984dfee77132c1aa885e0a412c25 100755 (executable)
@@ -19,7 +19,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -31,4 +31,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index ecc131f4ae2de4d342fdc08229f98ce87737ef62..5735b4e6764cf959a2efa24beac224e8cdc2b51c 100755 (executable)
@@ -20,7 +20,7 @@ touch file || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -29,4 +29,4 @@ fail=0
 # but exited successfully.
 pathchk file/x > /dev/null 2>&1 && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index c35cf35e033abb03e2a3e992dae60fea4030e1ee..a9940b71f91adf0eb3a919918fc81ff4dee3e1e3 100755 (executable)
@@ -17,7 +17,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -74,4 +74,4 @@ EOF
 cmp err exp || fail=1
 test $fail = 1 && diff err exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index cf0e97d4ab5491880b85f35b347aeb0741035ffe..7c37fa9665d95148622bf0bbd3cd99ba178570b1 100755 (executable)
@@ -24,7 +24,7 @@ mkdir -m 700 e-dir || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 . $abs_srcdir/../setgid-check
@@ -56,4 +56,4 @@ p=`ls -ld a/b/c|sed 's/ .*//'`; case $p in drwx------);; *) fail=1;; esac
 # `d's perms are determined by the -m argument.
 p=`ls -ld a/b/c/d|sed 's/ .*//'`; case $p in $d_mode_str);; *) fail=1;; esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 71998f711f982197a98fd2a3269662c786bf7736..56c9fcfa5d76d9173a0f5fbd9aab302315c57a12 100755 (executable)
@@ -24,7 +24,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 . $abs_srcdir/../setgid-check
@@ -83,4 +83,4 @@ for p in empty -p; do
   done
 done
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 2383946913160757592eaab6de52eec9411cbe2a..b96bf67dda38e7a4ca6a793b44cf65511e19182a 100755 (executable)
@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -30,4 +30,4 @@ test -d dir || fail=1
 mkdir d2/ || fail=1
 test -d d2 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index bdb2215c02cca7dd0c2b31d9f73ea2f1c4e4e96d..c1e339ac2201d4b6a448693304304dc4098b39b3 100755 (executable)
@@ -26,7 +26,7 @@ echo b > b/f || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -72,4 +72,4 @@ test -f b/g && fail=1  # b/g should have been moved
 test -f c/f || fail=1
 test -f c/g || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 4028538283942d2012298bdb4abb1a8b4543537c..ad2b7eb3f47b7ed886c420ae4073efdfa348ba98 100755 (executable)
@@ -25,7 +25,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -70,4 +70,4 @@ EOF
   test $fail = 1 && diff out exp 2> /dev/null
 done
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 40704708ac6650563a818c1bd6e6b13b328028e8..68207a0bf38cecaabdf8c5f4c40506f30b1a51d4 100755 (executable)
@@ -24,7 +24,7 @@ chmod 0 g i || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -52,4 +52,4 @@ case "`cat out`" in
   *) fail=1 ;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index ed72164abe5fd0492e83edcee06056949bc8f455..ab93d9214b27e1692ff26281e59986f8e7ba2805 100755 (executable)
@@ -26,7 +26,7 @@ chmod a-w b/bar || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -49,4 +49,4 @@ case "`cat b/foo`" in
   *) fail=1;;
 esac
 
-(exit $fail); exit
+(exit $fail); exit $fail
index f0e1de668ee47a61c94d4ec186ffa32822c8ea57..6aaf35d86e95b4d950f2efce1585d92a544ea327 100755 (executable)
@@ -22,7 +22,7 @@ ln -s file s || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -34,4 +34,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
+(exit $fail); exit $fail
index 9a860cc22619037c3235023d3ce9b522c5f88941..f7cf4032849644664a7824c4abf94cfd60d8bbb6 100755 (executable)
@@ -16,7 +16,7 @@ trap '(exit $?); exit' 1 2 13 15
 . $srcdir/../lang-default
 
 if test -z "$other_partition_tmpdir"; then
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 
 null=mv-null
@@ -37,7 +37,7 @@ if test $framework_failure = 1; then
   # exit 77 here to indicate that we couldn't run the test.
   # At least running on SunOS 4.1.4, using a directory NFS mounted
   # from an OpenBSD system, the above mknod fails.
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 
 fail=0
@@ -80,4 +80,4 @@ cmp out2 exp || fail=1
 # cd $other_partition_tmpdir
 # ls -l -A -R $other_partition_tmpdir
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 09d29df507955b37b619ad5faad6feef5fc55d37..326d5bc1f4e87126055309b897a81a1339062668 100755 (executable)
@@ -20,7 +20,7 @@ trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
 trap '(exit $?); exit' 1 2 13 15
 
 if test -z "$other_partition_tmpdir"; then
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 t0="$t0 $other_partition_tmpdir"
 
@@ -32,7 +32,7 @@ chmod u-w $other_partition_tmpdir || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -59,4 +59,4 @@ else
 fi
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 133fd93543353ab04a10eb59214b259acdf2ab13..a6d0654b1535f7c41f146c2304c0a08a97c71a6f 100755 (executable)
@@ -18,7 +18,7 @@ trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
 trap '(exit $?); exit' 1 2 13 15
 
 if test -z "$other_partition_tmpdir"; then
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 t0="$t0 $other_partition_tmpdir"
 
@@ -33,7 +33,7 @@ ln a/1 b/1 || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -47,4 +47,4 @@ test $1 = $3 || fail=1
 set - `ls -Ci a/1 b/1`
 test $1 = $3 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index e908c55c81ea9860297cb84dc393e8d1be08f81e..f8a142589e2f85fe75275445f75b175da091fe27 100755 (executable)
@@ -17,7 +17,7 @@ trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
 trap '(exit $?); exit' 1 2 13 15
 
 if test -z "$other_partition_tmpdir"; then
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 t0="$t0 $other_partition_tmpdir"
 
@@ -28,11 +28,11 @@ mkdir foo || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
 
 mv foo/ $other_partition_tmpdir/bar || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index e009b84492284387f37437c9b20e7879afb86529..b7dbfe67f1425720c232f0440d9149cc59d069ea 100755 (executable)
@@ -25,7 +25,7 @@ pwd_tmp=$pwd/$tmp
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 if test -z "$other_partition_tmpdir"; then
-  (exit 77); exit
+  (exit 77); exit 77
 fi
 
 framework_failure=0
@@ -209,4 +209,4 @@ EOF
 cmp $expected $actual \
   || { diff -c $expected $actual 1>&2; fail=1; }
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 4f00690b87843a73a15b93195fd10b98f6554c97..d7afc5f4c626f25ecb7385fd44189ce82358d45a 100755 (executable)
@@ -24,7 +24,7 @@ chmod u-w no-write || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -37,4 +37,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 8658e17e7ce5a13b275c80837d4c5c62b7474906..a81d178a86321f41a6858b9f4fd159b0736b6de2 100755 (executable)
@@ -28,4 +28,4 @@ fail=0
 
 mv foo/ bar || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 74cd3a21e49c26447387765afa246c1480207fc7..ba6f8276cbcc9b30f9e54086eff9b14d2339fd16 100755 (executable)
@@ -24,7 +24,7 @@ echo new > new || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -51,4 +51,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
+(exit $fail); exit $fail
index b82d2c12b0f8206c84b4d91a76e3ce61685e9db8..98be0665386a2028499b0315e49adff83408f14f 100755 (executable)
@@ -23,7 +23,7 @@ echo abcdefg > in || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -38,4 +38,4 @@ cmp out exp || {
   diff out exp 2> /dev/null
   }
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 829a2cf3766c51d553d845ea1210035a760e0de1..6de80fe50ee0cec61eda64c3517f3715abbf7da0 100644 (file)
@@ -13,14 +13,14 @@ esac
 my_uid=`id -u`
 test $? = 0 || {
   echo "$0: cannot run \`id -u'" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 }
 
 # Make sure it gives valid output.
 case $my_uid in
   *[!0-9]*)
     echo "$0: invalid output (\`$my_uid') from \`id -u'" 1>&2
-    (exit 1); exit
+    (exit 1); exit 1
     ;;
   *) ;;
 esac
@@ -58,7 +58,7 @@ case $PRIV_CHECK_ARG:$my_uid in
       {
        echo "$0: `pwd`: not writable by user \`$NON_ROOT_USERNAME'" 1>&2
        echo "$0: skipping this test" 1>&2
-       (exit 77); exit
+       (exit 77); exit 77
       }
     exec setuidgid $NON_ROOT_USERNAME env PATH="$PATH" $0
     ;;
@@ -73,5 +73,5 @@ $0: This test is being skipped, since it works only
 when run $who.
 ***************************
 EOF
-  (exit 77); exit
+  (exit 77); exit 77
 }
index 35ad93010c087f50a773cc5453e89b85f8ff35e1..1b1968a8593409dc027731c3cdf80e7a9c12f83d 100755 (executable)
@@ -22,7 +22,7 @@ ln -s / symlink
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -40,4 +40,4 @@ ls -l symlink > /dev/null 2>&1 && fail=1
 
 kill $pid > /dev/null 2>&1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index e995c54c541074a69ac5338edf4589632380da33..b1cb5928d4d7ef0618a0046570c8164637279e3b 100755 (executable)
@@ -41,4 +41,4 @@ rm -r $tmp || fail=1
 # Make sure all of $tmp was deleted.
 test -d $tmp && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index fef5f90cedd95bed0f0c17675e73843f83c42585..5c339a0d28e8807fea92ca88b3e297780be2f375 100755 (executable)
@@ -23,4 +23,4 @@ fi
 fail=0
 rm -f $tmp/no-such-file || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index f5cc14bd3927bceac391550c94c72d55caef0158..8e7f8ce86f1edfab26a8724359b41a419dbb2b36 100755 (executable)
@@ -37,4 +37,4 @@ fail=0
 
 rm -r t || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 4bf48e32616e59462b19f5be3a327d7df638b6a9..7d3ac1e1b32843748fd1feaebbc87266f552fe1c 100755 (executable)
@@ -36,4 +36,4 @@ test -f $tmp/a && fail=1
 
 rm -rf $tmp
 
-(exit $fail); exit
+(exit $fail); exit $fail
index c5d76cde75fda5bf3f6b8a26a4de94a2789fe013..e99c758957b5a7568beaa118cd14a4d59b9d74d3 100755 (executable)
@@ -54,4 +54,4 @@ esac
 
 rm -rf $tmp $test.I
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 31fd0f495758600842703d517e2ceb1a8ab03ca6..8916e6ac155bf8962c1e283e80c6369d233d37c8 100755 (executable)
@@ -20,7 +20,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -56,4 +56,4 @@ echo x >> out
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 91560c8ceeab84b50f8ad236a69c0ed0d274e734..30d37b87225f2b8a2ee602df77bab9e6682165db 100755 (executable)
@@ -29,7 +29,7 @@ EOF
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -45,4 +45,4 @@ done
 cmp $test.E $test.O || fail=1
 test $fail = 1 && diff $test.E $test.O 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 724c459ebb2842a56f1471bb49103c2784b5bb03..1273664711b4e1fdce0349830d151565bba9ba03 100755 (executable)
@@ -46,4 +46,4 @@ fi
 cmp t/E t/O || fail=1
 test $fail = 1 && diff t/E t/O 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index a946df93fd5538cfb38607f15abce960b231f389..debc80228ef874492da1de83f516a0a343283ec3 100755 (executable)
@@ -35,11 +35,11 @@ cd $pwd || framework_fail=1
 
 if test $framework_fail = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
 rm -rf $tmp || fail=1
 test -d $tmp && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 998a30673a415679473d19421e010566aacf927d..397f4e8653ea22dbc28b9271f93502a5cdd15d2b 100755 (executable)
@@ -23,7 +23,7 @@ chmod u-w b/a || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -49,4 +49,4 @@ test -d b/a/p || fail=1
 test -d b/c && fail=1
 test -d b/d && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index f9622e0d2d9f48cb267da448cf521f7b59b17b30..ce468070520f73c07bc1f0c3c6380e7b177d610c 100755 (executable)
@@ -23,7 +23,7 @@ chmod u-x a/1 b || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -44,4 +44,4 @@ test -d a/1 || fail=1
 chmod u+x b
 test -d b/3 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 98b7ff9bf2b078e523fe808a1976fa03a5977954..f27fd6cf5ea7e0395c6451813b3dd94078970288 100755 (executable)
@@ -30,7 +30,7 @@ cd ..
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -75,4 +75,4 @@ test $fail = 1 && diff -u out exp 2> /dev/null
 
 test -d z && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 289f3e7ab9be9bf3d4a6d26e6ef821a5c8b5960e..28af0d9d9f59abd8b26a5d237bc4662633e2d680 100755 (executable)
@@ -22,7 +22,7 @@ mkdir dir || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -32,4 +32,4 @@ rm dir > /dev/null 2>&1 && fail=1
 
 test -d dir || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index a1f3231af746d0a539e58e08a0b529a8820425de..7868e903ab10d2fc0b49bad6a0d57b6d10eac67c 100755 (executable)
@@ -33,7 +33,7 @@ EOF
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -54,4 +54,4 @@ test -d d && fail=1
 cmp out exp || fail=1
 test $fail = 1 && diff -u out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index c5f10fd454d5c89c680256b48ca69468db0ca541..c54a6db5d4cae974c7912509190367c771cc7d26 100755 (executable)
@@ -20,10 +20,10 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
 rm -r '' > /dev/null 2>&1 && fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index e9be46e856d7073233801b485231633e1de829aa..f7acf05dbaf1b7974cf3902664bf247ac6c253f3 100755 (executable)
@@ -23,7 +23,7 @@ chmod u-r a
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -37,4 +37,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 2b6936c97429b074ac9b0f8cd04351ed791ec795..7c82fd51fee4bf8cd3402b9ba2df9e491c58afb6 100644 (file)
@@ -21,5 +21,5 @@ if test $cwd_is_setgid = yes; then
 $0: Since it looks like you're running this test in a directory with
 the setgid bit set, we're skipping this test.
 EOF
-  (exit 77); exit
+  (exit 77); exit 77
 fi
index 2c978e1e9ee3b0c33d5146ef0d614b5011c95e29..6ed1ca5dbf6f634d795514a27f1157bc08ac9025 100755 (executable)
@@ -17,7 +17,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -35,4 +35,4 @@ for opt in --exact --zero; do
   test -f c && fail=1
 done
 
-(exit $fail); exit
+(exit $fail); exit $fail
index cda557018f89234bf483e45f09d85238cae7af90..4c901424595ef0fc6602dd7c71a28fbd31e9d879 100755 (executable)
@@ -29,7 +29,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -56,4 +56,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index a3d47f030aecc05580f3ef9051797e110cc17adb..52e2a6fc3a7bc0e333c1d7964444748b1edde21c 100755 (executable)
@@ -18,4 +18,4 @@ if test -f $ksyms; then
   tail $ksyms > /dev/null || fail=1
 fi
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 143c4538ad51292835aa9dff864db640868fb470..4dbe18900f526082affe98457b7405cde3890de1 100755 (executable)
@@ -20,7 +20,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -33,4 +33,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index f050f579875bab20ad5fd4e2b29cbc86a7e44ac9..f6dba8ee31d3e100f88a4dda87fe174af617b529 100755 (executable)
@@ -26,7 +26,7 @@ ls -d $d1 2> /dev/null && framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework' 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -39,4 +39,4 @@ EOF
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 24745fa2d6b3d0a786da952958041dabf1a4b324..d7525742064aeeaaf35719e865d3eb04c44aecf3 100755 (executable)
@@ -17,7 +17,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -26,4 +26,4 @@ touch -c no-file > /dev/null 2>&1 || fail=1
 touch -cm no-file > /dev/null 2>&1 || fail=1
 touch -ca no-file > /dev/null 2>&1 || fail=1
 
-(exit $fail); exit
+(exit $fail); exit $fail
index b053c06d74f14a78ed36238944f7134f5a886019..49af6941b56c0d9132ea105b10c0e0f76a99798e 100755 (executable)
@@ -45,4 +45,4 @@ test "$match" = 1 || fail=1
 
 test $fail = 1 && diff out exp 2> /dev/null
 
-(exit $fail); exit
+(exit $fail); exit $fail
index 31f32658efb5ea1a4bf6766c48b7bd2ccefa4845..b7242ed20eb1e2dc0d7bfa8de590cbc29d172ff2 100755 (executable)
@@ -17,7 +17,7 @@ cd $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
-  (exit 1); exit
+  (exit 1); exit 1
 fi
 
 fail=0
@@ -27,4 +27,4 @@ for ones in 11111111 1111111111; do
   test -f $ones || fail=1
 done
 
-(exit $fail); exit
+(exit $fail); exit $fail