summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-18 16:51:34 +0200
committerJim Meyering <meyering@redhat.com>2008-04-21 00:02:00 +0200
commitc51900a6bd655e7dd596fa6888a0e521e6b5a6bd (patch)
tree9457237c4fc1c71184bbccbfb69e1134d0b805fc /tests/rm
parentb214b51ca01f4b81f4381aa7ac7c3dba2911d588 (diff)
downloadcoreutils-c51900a6bd655e7dd596fa6888a0e521e6b5a6bd.tar.xz
tests: adjust perl -I to use $top_srcdir/tests, not $srcdir/..
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/empty-name2
-rwxr-xr-xtests/rm/unreadable2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/empty-name b/tests/rm/empty-name
index 85cf1ed4d..96dab94c0 100755
--- a/tests/rm/empty-name
+++ b/tests/rm/empty-name
@@ -25,7 +25,7 @@
. $top_srcdir/tests/require-perl
me=`echo $0|sed 's,.*/,,'`
-exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - << \EOF
+exec $PERL -w -I$top_srcdir/tests -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF
require 5.003;
use strict;
diff --git a/tests/rm/unreadable b/tests/rm/unreadable
index 836cd611a..fe5665344 100755
--- a/tests/rm/unreadable
+++ b/tests/rm/unreadable
@@ -20,7 +20,7 @@
. $top_srcdir/tests/require-perl
me=`echo $0|sed 's,.*/,,'`
-exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - << \EOF
+exec $PERL -w -I$top_srcdir/tests -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF
require 5.003;
use strict;