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)
commit112efa81f24ead69a3a9b6ae76f601911535352c
treedc10a3855c2b2a118ebf08a2df2710377dcff8d7
parent11f05299f96e39d58356f83d09811487235c5f4c
Replace all occurrences of `(exit N); exit' with
`(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