summaryrefslogtreecommitdiff
path: root/tests/misc/xstrtol
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/xstrtol')
-rwxr-xr-xtests/misc/xstrtol4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/xstrtol b/tests/misc/xstrtol
index 874b4a502..cb8503543 100755
--- a/tests/misc/xstrtol
+++ b/tests/misc/xstrtol
@@ -1,7 +1,7 @@
#!/bin/sh
# exercise xstrtol's diagnostics via pr
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007-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
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
fi
: ${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