From 39da66f979c206946e5593dbd432e88905a9e383 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 29 Oct 2009 14:40:40 +0100 Subject: tests: don't let a fail=1 env. setting induce unwarranted test failure * cfg.mk (sc_fail_is_initialized): New rule. Fix the offenders: * tests/cp/acl: Set fail=0 * tests/cp/backup-is-src: Likewise. * tests/cp/file-perm-race: Likewise. * tests/cp/reflink-auto: Likewise. * tests/cp/same-file: Likewise. * tests/ln/backup-1: Likewise. * tests/misc/su-fail: Likewise. * tests/misc/truncate-owned-by-other: Likewise. * tests/mkdir/p-3: Likewise. * tests/mkdir/selinux: Likewise. * tests/mkdir/special-1: Likewise. * tests/mv/acl: Likewise. * tests/mv/backup-is-src: Likewise. * tests/mv/diag: Likewise. * tests/mv/force: Likewise. * tests/mv/hard-link-1: Likewise. * tests/mv/into-self-3: Likewise. * tests/mv/sticky-to-xpart: Likewise. * tests/touch/now-owned-by-other: Likewise. --- tests/mkdir/special-1 | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mkdir/special-1') diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1 index 4956c20e9..d1af121da 100755 --- a/tests/mkdir/special-1 +++ b/tests/mkdir/special-1 @@ -26,6 +26,7 @@ fi set_mode_string=u=rwx,g=rx,o=w,-s,+t output_mode_string=drwxr-x-wT +fail=0 tmp=t mkdir -m$set_mode_string $tmp || fail=1 -- cgit v1.2.3-54-g00ecf