Skip to content

Commit

Permalink
Test on presence of SNABB_IPSEC_ENABLE_E2E_TEST, not value
Browse files Browse the repository at this point in the history
  • Loading branch information
wingo committed Apr 24, 2018
1 parent 54a5402 commit f03ba1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/ipsec/selftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

SKIPPED_CODE=43

if [ "$SNABB_IPSEC_ENABLE_E2E_TEST" != yes ]; then
if [ -n "$SNABB_IPSEC_ENABLE_E2E_TEST" ]; then
exit $SKIPPED_CODE
fi

Expand Down

0 comments on commit f03ba1b

Please sign in to comment.