summaryrefslogtreecommitdiff
path: root/regress/stderr-after-eof.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/stderr-after-eof.sh')
-rw-r--r--regress/stderr-after-eof.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/stderr-after-eof.sh b/regress/stderr-after-eof.sh
index ae9cf8d98..05a5ea56d 100644
--- a/regress/stderr-after-eof.sh
+++ b/regress/stderr-after-eof.sh
@@ -7,13 +7,13 @@ DATA=/etc/motd
7DATA=${OBJ}/data 7DATA=${OBJ}/data
8COPY=${OBJ}/copy 8COPY=${OBJ}/copy
9 9
10if [ -x "`which md5sum 2>&1`" ]; then 10if have_prog md5sum; then
11 CHECKSUM=md5sum 11 CHECKSUM=md5sum
12elif [ -x "`which openssl 2>&1`" ]; then 12elif have_prog openssl; then
13 CHECKSUM="openssl md5" 13 CHECKSUM="openssl md5"
14elif [ -x "`which cksum 2>&1`" ]; then 14elif have_prog cksum; then
15 CHECKSUM=cksum 15 CHECKSUM=cksum
16elif [ -x "`which sum 2>&1`" ]; then 16elif have_prog sum; then
17 CHECKSUM=sum 17 CHECKSUM=sum
18else 18else
19 fatal "No checksum program available, aborting $tid test" 19 fatal "No checksum program available, aborting $tid test"