summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Tkachenko <celebiaril@gmail.com>2013-06-02 22:18:53 +0300
committerStanislav Tkachenko <celebiaril@gmail.com>2013-06-02 22:18:53 +0300
commit4c4cbeb46b7fe46f330ecd96c618fe9943e975f3 (patch)
tree2a732d00c766fef3a4df2dd5adc01ef5bb3619e6
parent37a71cb460f71099ab4a7c3658401ae48458e5f7 (diff)
downloadipaddrcheck-4c4cbeb46b7fe46f330ecd96c618fe9943e975f3.tar.gz
ipaddrcheck-4c4cbeb46b7fe46f330ecd96c618fe9943e975f3.zip
Fix some typos in integration tests.
-rwxr-xr-xtests/integration_tests.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/integration_tests.sh b/tests/integration_tests.sh
index ef323d4..c9eebca 100755
--- a/tests/integration_tests.sh
+++ b/tests/integration_tests.sh
@@ -132,7 +132,7 @@ for address in \
${ipv6_cidr_postitive[0]} \
$string
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 1
+ assert_raises "$IPADDRCHECK --is-any-single $address" 1
done
@@ -141,7 +141,7 @@ for address in \
${ipv4_single_positive[*]} \
${ipv4_cidr_positive[*]}
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 0
+ assert_raises "$IPADDRCHECK --is-ipv4 $address" 0
done
for address in \
@@ -151,14 +151,14 @@ for address in \
${ipv6_cidr_positive[0]} \
$string
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 1
+ assert_raises "$IPADDRCHECK --is-ipv4 $address" 1
done
# --is-ipv4-cidr
for address in \
${ipv4_cidr_positive[*]}
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 0
+ assert_raises "$IPADDRCHECK --is-ipv4-cidr $address" 0
done
for address in \
@@ -168,14 +168,14 @@ for address in \
${ipv6_cidr_positive[0]} \
$string
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 1
+ assert_raises "$IPADDRCHECK --is-ipv4-cidr $address" 1
done
# --is-ipv4-single
for address in \
${ipv4_single_positive[*]}
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 0
+ assert_raises "$IPADDRCHECK --is-ipv4-single $address" 0
done
for address in \
@@ -185,7 +185,7 @@ for address in \
${ipv6_cidr_positive[0]} \
$string
do
- assert_raises "$IPADDRCHECK --is-any-cidr $address" 1
+ assert_raises "$IPADDRCHECK --is-ipv4-single $address" 1
done
# --is-ipv4-host