summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-02-11 20:47:26 +0100
committerJim Meyering <meyering@redhat.com>2008-02-11 21:40:07 +0100
commit5b954a875681f39d0b51d31475034ef93bd61251 (patch)
tree2e38020af4cfa01e8518a8d243d0c0d02c6efa5e /tests/rm
parent2746a6c05c384a3d5eab192ecd151cb97a85b181 (diff)
downloadcoreutils-5b954a875681f39d0b51d31475034ef93bd61251.tar.xz
* tests/rm/inaccessible: Source test-lib.sh *before* using skip_test_.
Reported by Peter Fales. Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/inaccessible4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible
index ca82a2c74..2175a7d6b 100755
--- a/tests/rm/inaccessible
+++ b/tests/rm/inaccessible
@@ -2,7 +2,7 @@
# Ensure that rm works even when run from a directory
# for which the user has no access at all.
-# Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,6 +23,7 @@ if test "$VERBOSE" = yes; then
fi
. $srcdir/../lang-default
+. $srcdir/../test-lib.sh
# Skip this test if your system has neither the openat-style functions
# nor /proc/self/fd support with which to emulate them.
@@ -33,7 +34,6 @@ if test $skip = yes; then
skip_test_ 'this system lacks openat support'
fi
-. $srcdir/../test-lib.sh
skip_if_root_
p=`pwd`