summaryrefslogtreecommitdiff
path: root/regress/yes-head.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-10 20:17:40 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-10 20:17:40 +1000
commit9a959ea1b5d59f8c3de9cb17c10dd2260117f877 (patch)
tree14b426f6fdb27b2eed4400dafb4a186c63dec326 /regress/yes-head.sh
parentb2427c82bb8e152c1c792302b60a823268654824 (diff)
- (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have
"yes".
Diffstat (limited to 'regress/yes-head.sh')
-rw-r--r--regress/yes-head.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/yes-head.sh b/regress/yes-head.sh
index f213f6863..88146a066 100644
--- a/regress/yes-head.sh
+++ b/regress/yes-head.sh
@@ -4,7 +4,7 @@
4tid="yes pipe head" 4tid="yes pipe head"
5 5
6for p in 1 2; do 6for p in 1 2; do
7 lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'yes | head -2000' | (sleep 3 ; wc -l)` 7 lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'while true;do echo yes;done | head -2000' | (sleep 3 ; wc -l)`
8 if [ $? -ne 0 ]; then 8 if [ $? -ne 0 ]; then
9 fail "yes|head test failed" 9 fail "yes|head test failed"
10 lines = 0; 10 lines = 0;