summaryrefslogtreecommitdiff
path: root/tests/nist-pkits
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-11-27 17:01:10 +0100
committerSimon Josefsson <simon@josefsson.org>2009-11-27 17:01:10 +0100
commit69a40f54c6a20d7add946b0e001ca254a51dc47b (patch)
tree64a2dfd045e5b0e6b9a04e82b6184cfaaf5bca82 /tests/nist-pkits
parente953bd1687db980515a41e34fcc2ff732044b615 (diff)
downloadgnutls-69a40f54c6a20d7add946b0e001ca254a51dc47b.tar.gz
More fixes of grep -q problem.
Diffstat (limited to 'tests/nist-pkits')
-rwxr-xr-xtests/nist-pkits/gnutls_test_entry4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nist-pkits/gnutls_test_entry b/tests/nist-pkits/gnutls_test_entry
index 6d4e87e8e7..41fe007d61 100755
--- a/tests/nist-pkits/gnutls_test_entry
+++ b/tests/nist-pkits/gnutls_test_entry
@@ -9,8 +9,8 @@ certtool -e < chain.pem > output.txt
rm -f chain.pem
-if grep -q 'Verification output:' output.txt; then
- if grep 'Verification output' output.txt | grep -q -v 'Verification output: Verified.'; then
+if grep 'Verification output:' output.txt > /dev/null; then
+ if grep 'Verification output' output.txt | grep -v 'Verification output: Verified.' > /dev/null; then
if test "$RESULT" = "0"; then
echo "<font color=red>Unexpected reject</font>"
else