diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-11-27 17:01:10 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-11-27 17:01:10 +0100 |
commit | 69a40f54c6a20d7add946b0e001ca254a51dc47b (patch) | |
tree | 64a2dfd045e5b0e6b9a04e82b6184cfaaf5bca82 /tests/nist-pkits | |
parent | e953bd1687db980515a41e34fcc2ff732044b615 (diff) | |
download | gnutls-69a40f54c6a20d7add946b0e001ca254a51dc47b.tar.gz |
More fixes of grep -q problem.
Diffstat (limited to 'tests/nist-pkits')
-rwxr-xr-x | tests/nist-pkits/gnutls_test_entry | 4 |
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 |