mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
change != to -ne
This commit is contained in:
parent
f6289dbba8
commit
6923e2eb03
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue