diff --git a/easytls-unit-tests.sh b/easytls-unit-tests.sh index 97a08cd..393d8fa 100755 --- a/easytls-unit-tests.sh +++ b/easytls-unit-tests.sh @@ -789,6 +789,21 @@ DBUG_DIR="$WORK_DIR/et-tdir1/easytls/metadata" "$EASYTLS_CMD" $EASYTLS_OPTS $TEST_CMD || \ fail "Unit test error 72: $TEST_CMD" + print "------------------------------------------------------------" + print "$EASYTLS_CMD $EASYTLS_OPTS version" + "$EASYTLS_CMD" $EASYTLS_OPTS v4ip '1.2.3.0/24' || \ + fail "Unit test error 71: version" + + print "------------------------------------------------------------" + print "$EASYTLS_CMD $EASYTLS_OPTS version" + "$EASYTLS_CMD" $EASYTLS_OPTS v6ip '2000::1:2:3:4/64' || \ + fail "Unit test error 71: version" + + print "------------------------------------------------------------" + print "$EASYTLS_CMD $EASYTLS_OPTS version" + "$EASYTLS_CMD" $EASYTLS_OPTS x6ip '2000:1:2:3:4::/80' || \ + fail "Unit test error 71: version" + print "------------------------------------------------------------" print "$EASYTLS_CMD $EASYTLS_OPTS version" "$EASYTLS_CMD" $EASYTLS_OPTS version || \