summaryrefslogtreecommitdiff
path: root/tests/misc/sha256sum
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-14 10:21:48 +0200
committerJim Meyering <jim@meyering.net>2007-09-15 08:40:38 +0200
commit7a6a30b8a2dea2a1b49d43ee9ab70880a0aa435a (patch)
treee61ff081a62c3c4a030aa792d8bc47bafa112f6f /tests/misc/sha256sum
parent5c2f8101c52c775be38af0ee4656c3e91d1c289e (diff)
downloadcoreutils-7a6a30b8a2dea2a1b49d43ee9ab70880a0aa435a.tar.xz
Add support for parallel "make check" (in tests/misc, for now)
Diffstat (limited to 'tests/misc/sha256sum')
-rwxr-xr-xtests/misc/sha256sum4
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"