From 70a2bd1864aa34fcde4a179f3c5e2db5bed645e3 Mon Sep 17 00:00:00 2001 From: Peter Fales Date: Tue, 12 Feb 2008 18:15:29 +0100 Subject: tests/touch/not-owner: Source test-lib.sh before using skip_test_. Signed-off-by: Jim Meyering --- tests/touch/not-owner | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/touch/not-owner') diff --git a/tests/touch/not-owner b/tests/touch/not-owner index 4024e0351..0723eade2 100755 --- a/tests/touch/not-owner +++ b/tests/touch/not-owner @@ -2,7 +2,7 @@ # Make sure that touch gives reasonable diagnostics when applied # to an unwritable directory owned by some other user. -# Copyright (C) 2003-2007 Free Software Foundation, Inc. +# Copyright (C) 2003-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,8 +23,9 @@ if test "$VERBOSE" = yes; then fi . $srcdir/../lang-default +. $srcdir/../test-lib.sh -test=../../src/test +test=$abs_top_builddir/src/test if $test -w /; then skip_test_ you have write access to /. fi @@ -33,7 +34,6 @@ if $test -O / || $test -G /; then skip_test_ "you own /." fi -. $srcdir/../test-lib.sh skip_if_root_ fail=0 -- cgit v1.2.3-70-g09d2