From fbcc100f5bc4e5d57370544093fc9edfbde411d3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Nov 2010 12:07:57 +0100 Subject: tests: convert remaining uses of test-lib.sh to init.sh RHS='. "\${srcdir=.}/init.sh"; path_prepend_ ../src' git grep -l test-lib.sh \ | xargs perl -pi -e 's,^\. \$srcdir/test-lib\.sh$,'"$RHS", --- tests/ls/nameless-uid | 2 +- tests/ls/rt-1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ls') diff --git a/tests/ls/nameless-uid b/tests/ls/nameless-uid index bf2dfcd52..6b4f368d2 100755 --- a/tests/ls/nameless-uid +++ b/tests/ls/nameless-uid @@ -19,7 +19,7 @@ : ${srcdir=.} . $srcdir/require-perl -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && ls --version require_root_ diff --git a/tests/ls/rt-1 b/tests/ls/rt-1 index 51d023642..909deb161 100755 --- a/tests/ls/rt-1 +++ b/tests/ls/rt-1 @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { ls --version; touch --version; } date=1998-01-15 -- cgit v1.2.3-70-g09d2