]> andersk Git - openssh.git/blobdiff - regress/stderr-after-eof.sh
- stevesk@cvs.openbsd.org 2005/10/17 14:13:35
[openssh.git] / regress / stderr-after-eof.sh
index ae9cf8d9818b2b23780c5ee9dad3756e868a5530..05a5ea56d0bc1e00817dc4fd7b04b5208b87def5 100644 (file)
@@ -7,13 +7,13 @@ DATA=/etc/motd
 DATA=${OBJ}/data
 COPY=${OBJ}/copy
 
-if [ -x "`which md5sum 2>&1`" ]; then
+if have_prog md5sum; then
        CHECKSUM=md5sum
-elif [ -x "`which openssl 2>&1`" ]; then
+elif have_prog openssl; then
        CHECKSUM="openssl md5"
-elif [ -x "`which cksum 2>&1`" ]; then
+elif have_prog cksum; then
        CHECKSUM=cksum
-elif [ -x "`which sum 2>&1`" ]; then
+elif have_prog sum; then
        CHECKSUM=sum
 else
        fatal "No checksum program available, aborting $tid test"
This page took 0.073571 seconds and 4 git commands to generate.