summaryrefslogtreecommitdiffstats
path: root/debian/tests/random
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/random')
-rw-r--r--debian/tests/random7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/tests/random b/debian/tests/random
new file mode 100644
index 0000000..a05244b
--- /dev/null
+++ b/debian/tests/random
@@ -0,0 +1,7 @@
+ipcalc-ng -r 24 | grep '255.255.255.0 = 24'
+ipcalc-ng -r 29 | grep '255.255.255.248 = 29'
+ipcalc-ng -r 30 | grep '255.255.255.252 = 30'
+ipcalc-ng -r 255.255.255.0 | grep '255.255.255.0 = 24'
+ipcalc-ng -r 255.255.255.248 | grep '255.255.255.248 = 29'
+ipcalc-ng -r 255.255.255.252 | grep '255.255.255.252 = 30'
+