diff options
Diffstat (limited to 'regress/stderr-after-eof.sh')
-rw-r--r-- | regress/stderr-after-eof.sh | 8 |
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 | |||
7 | DATA=${OBJ}/data | 7 | DATA=${OBJ}/data |
8 | COPY=${OBJ}/copy | 8 | COPY=${OBJ}/copy |
9 | 9 | ||
10 | if [ -x "`which md5sum 2>&1`" ]; then | 10 | if have_prog md5sum; then |
11 | CHECKSUM=md5sum | 11 | CHECKSUM=md5sum |
12 | elif [ -x "`which openssl 2>&1`" ]; then | 12 | elif have_prog openssl; then |
13 | CHECKSUM="openssl md5" | 13 | CHECKSUM="openssl md5" |
14 | elif [ -x "`which cksum 2>&1`" ]; then | 14 | elif have_prog cksum; then |
15 | CHECKSUM=cksum | 15 | CHECKSUM=cksum |
16 | elif [ -x "`which sum 2>&1`" ]; then | 16 | elif have_prog sum; then |
17 | CHECKSUM=sum | 17 | CHECKSUM=sum |
18 | else | 18 | else |
19 | fatal "No checksum program available, aborting $tid test" | 19 | fatal "No checksum program available, aborting $tid test" |