summaryrefslogtreecommitdiffstats
path: root/debian/tests/check
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/check')
-rw-r--r--debian/tests/check4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/tests/check b/debian/tests/check
new file mode 100644
index 0000000..12f860a
--- /dev/null
+++ b/debian/tests/check
@@ -0,0 +1,4 @@
+ipcalc-ng -c 192.168.0.1
+ipcalc-ng -c 192.168.0.256 2>&1 | grep 'bad IPv4 address'
+ipcalc-ng -c 2804:14c:87c5:d3f8:6245:cbff:fe6d:d19/64
+ipcalc-ng -c 2804:14c:87c5:d3f8:6245:cbff:fe6d:g19/64 2>&1 | grep 'bad IPv6 address'