From 014fead953b630560f308fe577cf5488f4c95bc0 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Fri, 22 Jan 2010 19:26:16 +0000 Subject: maint: ensure test independence from config macro format * tests/cp/acl: Support USE_ACL not being defined. * tests/mv/acl: Likewise. Also fix typo in skip message. * tests/cp/preserve-slink-time: Support HAVE_UTIMENSAT being 0. * tests/touch/no-dereference: Likewise. * tests/ls/capability: Normalize so 1 is not required to be last char. --- tests/touch/no-dereference | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/touch/no-dereference') diff --git a/tests/touch/no-dereference b/tests/touch/no-dereference index c1a6748b5..8d80fa5f5 100755 --- a/tests/touch/no-dereference +++ b/tests/touch/no-dereference @@ -43,8 +43,8 @@ touch -h -r dangling file || fail=1 test -f nowhere && fail=1 # The remaining tests of -h require kernel support for changing symlink times. -grep '^#define HAVE_UTIMENSAT' "$CONFIG_HEADER" > /dev/null || -grep '^#define HAVE_LUTIMES' "$CONFIG_HEADER" > /dev/null || +grep '^#define HAVE_UTIMENSAT 1' "$CONFIG_HEADER" > /dev/null || +grep '^#define HAVE_LUTIMES 1' "$CONFIG_HEADER" > /dev/null || skip_test_ 'this system lacks the utimensat function' # Changing time of dangling symlink is okay. -- cgit v1.2.3-70-g09d2