mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 07:39:52 +02:00
change != to -ne
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user