Commit a0e75b5c authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

grep -q breaks with Solaris grep, redirect stdout to /dev/null instead

Rev: src/sftp/testsuite/get-1-test:1.4
Rev: src/sftp/testsuite/ls-1-test:1.4
Rev: src/sftp/testsuite/ls-2-test:1.4
Rev: src/sftp/testsuite/put-1-test:1.4
parent 0b3b9627
...@@ -6,6 +6,6 @@ fi ...@@ -6,6 +6,6 @@ fi
. $srcdir/common.sh . $srcdir/common.sh
client get "x1" | grep -q foo client get "x1" | grep foo > /dev/null
...@@ -7,5 +7,5 @@ fi ...@@ -7,5 +7,5 @@ fi
. $srcdir/common.sh . $srcdir/common.sh
# Match the d directory # Match the d directory
client ls "" | grep -q '^d.* d$' client ls "" | grep '^d.* d$' > /dev/null
...@@ -7,5 +7,5 @@ fi ...@@ -7,5 +7,5 @@ fi
. $srcdir/common.sh . $srcdir/common.sh
# Match the d directory # Match the d directory
client ls "d" | grep -q ' x3$' client ls "d" | grep ' x3$' > /dev/null
...@@ -8,7 +8,7 @@ fi ...@@ -8,7 +8,7 @@ fi
rm -f "$TESTHOME/d/new" rm -f "$TESTHOME/d/new"
echo data | client put "d/new" && \ echo data | client put "d/new" && \
[ -r "$TESTHOME/d/new" ] && grep -q data "$TESTHOME/d/new" [ -r "$TESTHOME/d/new" ] && grep data "$TESTHOME/d/new" > /dev/null
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment