diff options
author | Brad Warren <bmw@eff.org> | 2017-01-05 22:17:20 +0300 |
---|---|---|
committer | Brad Warren <bmw@eff.org> | 2017-01-05 22:17:20 +0300 |
commit | 6923e2eb0332e8254ac3b19ec58f23886ef920b3 (patch) | |
tree | 8c510b2505e334bcf18eb4c88037d4ac65462738 /tests | |
parent | f6289dbba89f0d902f2b20b1fd379722eacf78f8 (diff) |
change != to -ne
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/letstest/scripts/test_ocsp_experimental.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/letstest/scripts/test_ocsp_experimental.sh b/tests/letstest/scripts/test_ocsp_experimental.sh index 814723b6c..11bf8885d 100755 --- a/tests/letstest/scripts/test_ocsp_experimental.sh +++ b/tests/letstest/scripts/test_ocsp_experimental.sh @@ -28,12 +28,12 @@ sudo ../../../venv/bin/certbot certificates -v --config-dir sample-config TEST_CERTS=`sudo ../../../venv/bin/certbot certificates --config-dir sample-config | grep TEST_CERT | wc -l` REVOKED=`sudo ../../../venv/bin/certbot certificates --config-dir sample-config | grep REVOKED | wc -l` -if [ "$TEST_CERTS" != 2 ] ; then +if [ "$TEST_CERTS" -ne 2 ] ; then echo Did not find two test certs as expected ("$TEST_CERTS") exit 1 fi -if [ "$REVOKED" != 1 ] ; then +if [ "$REVOKED" -ne 1 ] ; then echo Did not find one revoked cert as expected ("$REVOKED") exit 1 fi |