From: Jim Meyering Date: Mon, 11 Feb 2008 19:47:26 +0000 (+0100) Subject: * tests/rm/inaccessible: Source test-lib.sh *before* using skip_test_. X-Git-Tag: v6.11~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b954a875681f39d0b51d31475034ef93bd61251;p=platform%2Fupstream%2Fcoreutils.git * tests/rm/inaccessible: Source test-lib.sh *before* using skip_test_. Reported by Peter Fales. Signed-off-by: Jim Meyering --- diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible index ca82a2c..2175a7d 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`