diff options
author | Jim Meyering <meyering@redhat.com> | 2008-03-28 14:14:04 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-03-28 14:21:28 +0100 |
commit | 17720c10cd73b71230f309137c437bf3aad7b6f5 (patch) | |
tree | f5df1dac6af0eedd44cc94f3c065f67d4147aa17 /tests/cp/acl | |
parent | 818dbee8dc1a50f6dbc1ba85f7f25a47ded09930 (diff) | |
download | coreutils-17720c10cd73b71230f309137c437bf3aad7b6f5.tar.xz |
Require that "(exit $fail); exit $fail" be last line of each test.
* maint.mk (sc_require_test_exit_idiom): New rule to enforce policy.
* tests/cp/acl: Adhere to the new policy.
* tests/cp/preserve-gid: Likewise.
* tests/dd/misc:
* tests/install/create-leading:
* tests/ln/sf-1:
* tests/ls/symlink-slash:
* tests/misc/help-version:
* tests/misc/ls-time:
* tests/misc/nice:
* tests/misc/shred-remove:
* tests/misc/stty:
* tests/misc/stty-row-col:
* tests/mkdir/p-1:
* tests/mkdir/p-2:
* tests/mkdir/p-3:
* tests/mkdir/p-v:
* tests/mkdir/special-1:
* tests/mkdir/writable-under-readonly:
* tests/mv/acl:
* tests/mv/backup-is-src:
* tests/mv/diag:
* tests/mv/dir-file:
* tests/mv/force:
* tests/mv/hard-link-1:
* tests/mv/i-2:
* tests/mv/i-4:
* tests/mv/into-self:
* tests/mv/into-self-2:
* tests/mv/into-self-3:
* tests/mv/partition-perm:
* tests/mv/to-symlink:
* tests/rmdir/ignore:
* tests/tail-2/assert:
* tests/tail-2/assert-2:
* tests/touch/dangling-symlink:
* tests/touch/dir-1:
* tests/touch/empty-file:
* tests/touch/fifo:
* tests/touch/no-rights: Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'tests/cp/acl')
-rwxr-xr-x | tests/cp/acl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/acl b/tests/cp/acl index 05b4ec676..a7f6a844f 100755 --- a/tests/cp/acl +++ b/tests/cp/acl @@ -61,4 +61,4 @@ cp -p a/file b/ || fail=1 acl2=`cd b && getfacl file` || framework_failure test "$acl1" = "$acl2" || fail=1 -exit $fail +(exit $fail); exit $fail |