diff options
author | Peter Fales <psfales@alcatel-lucent.com> | 2008-02-12 18:15:29 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-12 18:48:14 +0100 |
commit | 70a2bd1864aa34fcde4a179f3c5e2db5bed645e3 (patch) | |
tree | 7c74a463b2f94f34f0962245b1df3dd2f27e2406 /tests/touch/not-owner | |
parent | 31d7d5d8c82e0c08e65cb398a93549e131026969 (diff) | |
download | coreutils-70a2bd1864aa34fcde4a179f3c5e2db5bed645e3.tar.xz |
tests/touch/not-owner: Source test-lib.sh before using skip_test_.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'tests/touch/not-owner')
-rwxr-xr-x | tests/touch/not-owner | 6 |
1 files changed, 3 insertions, 3 deletions
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 |