summaryrefslogtreecommitdiff
path: root/tests/misc/dirname
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/dirname')
-rwxr-xr-xtests/misc/dirname4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/dirname b/tests/misc/dirname
index 6b9a8d7b7..52bd97032 100755
--- a/tests/misc/dirname
+++ b/tests/misc/dirname
@@ -2,7 +2,7 @@
# -*-perl-*-
# Test "dirname".
-# Copyright (C) 2006-2007 Free Software Foundation, Inc.
+# Copyright (C) 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
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
: ${srcdir=.}
-. $srcdir/../require-perl
+. $top_srcdir/tests/require-perl
me=`echo $0|sed 's,.*/,,'`
exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - << \EOF