Skip to content

Commit

Permalink
Add v4ip, v6ip and x6ip unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Dec 11, 2021
1 parent fb54c62 commit 467ef5c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions easytls-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 || \
Expand Down

1 comment on commit 467ef5c

@TinCanTech
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.