logo

utils-cidr

utilities to manipulate CIDR ip-ranges git clone https://anongit.hacktivis.me/git/utils-cidr.git
commit: d83c4b0495f7281a45f11060bca150c7bbca505a
parent 04393e863a70127807949915eb670267a813681d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 18 Oct 2025 02:59:38 +0200

test.sh: add nocidr

Diffstat:

Mtest.sh5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test.sh b/test.sh @@ -2,7 +2,7 @@ # Copyright © 2025 Haelwenn (lanodan) Monnier <contact+cmd-cidr@hacktivis.me> # SPDX-License-Identifier: MPL-2.0 -plans=8 +plans=9 WD=$(dirname "$0") target="${WD}/cidr2list" . ./tap.sh @@ -25,3 +25,6 @@ t --input='192.168.0.42/31' 192.168.0.42/31 '192.168.0.42 t --input='192.168.0.43/31' 192.168.0.43/31 '192.168.0.42 192.168.0.43 ' + +t --input=192.168.0.42 nocidr '192.168.0.42 +'