diff options
author | Tim Rice <tim@multitalents.net> | 2003-09-11 22:32:17 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-09-11 22:32:17 -0700 |
commit | 23ee359b08fbdacc546ab84414eb9c63b6a2005d (patch) | |
tree | 09d6f1efe22fc009b5a689c86e1d3da8103fbf1a /regress/stderr-after-eof.sh | |
parent | d546a84ef6e2569499d72ed4e1e918c073a7568e (diff) |
[regress/agent-ptrace.sh regress/dynamic-forward.sh
regress/sftp-cmds.sh regress/stderr-after-eof.sh regress/test-exec.sh]
no longer depends on which(1). patch by dtucker@
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" |