diff options
Diffstat (limited to 'tests/misc/sha256sum')
-rwxr-xr-x | tests/misc/sha256sum | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/misc/sha256sum b/tests/misc/sha256sum index 906b1e899..2d6a0d963 100755 --- a/tests/misc/sha256sum +++ b/tests/misc/sha256sum @@ -1,7 +1,7 @@ #!/bin/sh # Test "sha256sum". -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007 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 @@ -19,6 +19,8 @@ : ${PERL=perl} : ${srcdir=.} +PROG=`echo $0|sed 's,.*/,,'`; export PROG + $PERL -e 1 > /dev/null 2>&1 || { echo 1>&2 "$0: configure didn't find a usable version of Perl," \ "so can't run this test" |