for dir in ipv6logconv ipv6logstats ipv6calcweb ipv6calc man lib; do \ ocwd=`pwd`; \ cd $dir; \ make test ; \ cd $ocwd ; \ done make all make[2]: Nothing to be done for `all'. ./test_ipv6logconv.sh Run 'ipv6logconv' function tests... INPUT: 195.226.187.50 - - "IPv4 address" RIPENCC.ipv4-addr.addrtype.ipv6calc - not-ipv6.ouitype.ipv6calc "IPv4 address" INPUT: 3ffe:ffff::1 - - "IPv6 address/6bone test" 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc "IPv6 address/6bone test" INPUT: 3FFE:1a05:510:200:0:5EFE:8CAD:8108 - - 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - ISATAP.ouitype.ipv6calc INPUT: ff02::1:ff00:1234 - - link-local.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc INPUT: ff01::1:ff00:1234 - - unknown.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc INPUT: 3ffe::1:ff00:1234 - - 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc INPUT: ::1 - - unknown.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc INPUT: ::1.2.3.4 - - compat-v4.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc INPUT: ::ffff:1.2.3.4 - - mapped.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc INPUT: 2002:0102:0204::1 - - 6to4.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc INPUT: fe80::210:a4ff:fe01:2345 - - link-local.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc INPUT: fe80::210:a489:ab01:2345 - - link-local.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc INPUT: 3ffe:ffff::210:a4ff:fe01:2345 - - 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc INPUT: 3ffe:ffff::210:a489:ab01:2345 - - 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc INPUT: 3ffe:ffff::000:a4ff:fe01:2345 - - 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc INPUT: 3ffe:ffff::000:a489:ab01:2345 - - 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc INPUT: 3ffe:ffff::000:0250:c2ff:fe00:3011 - - "Microsoft" 6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - MICROSOFT.ouitype.ipv6calc "Microsoft" INPUT: fe80::fefc:acff:fe10:fe01 - - link-local.ipv6-addr.addrtype.ipv6calc - Linux-ISDN-NET+PLIP.ouitype.ipv6calc INPUT: 1.2.3.4 - - ipv4-addr.addrtype.ipv6calc - not-ipv6.ouitype.ipv6calc INPUT: 2002:50b5:7940:0000:0000:0000:50b5:7940 - - "Microsoft 6to4 address" RIPENCC.6to4.global-unicast.ipv6-addr.addrtype.ipv6calc - 6to4-microsoft.ouitype.ipv6calc "Microsoft 6to4 address" All tests were successfully done! make all make[2]: Nothing to be done for `all'. ./test_ipv6logstats.sh Run 'ipv6logstats' function tests... Expecting log lines on stdin Ok, proceeding stdin... ...finished *Version 1.1 ALL 3 IPv4 1 IPv6 2 UNKNOWN 0 IPv4/APNIC 0 IPv4/ARIN 0 IPv4/RIPE 0 IPv4/LACNIC 0 IPv4/UNKNOWN 1 IPv6/6bone 1 IPv6/IANA 0 IPv6/APNIC 0 IPv6/ARIN 0 IPv6/RIPE 0 IPv6/LACNIC 0 IPv6/RESERVED 0 IPv6/UNKNOWN 0 IPv6/6to4/IANA 0 IPv6/6to4/APNIC 0 IPv6/6to4/ARIN 0 IPv6/6to4/RIPE 1 IPv6/6to4/LACNIC 0 IPv6/6to4/RESERVED 0 IPv6/6to4/UNKNOWN 0 All tests were successfully done! echo "Currently missing" Currently missing make cd ../ && make lib-make cd md5 && make make[4]: Nothing to be done for `all'. cd databases/ieee-oui && make test -f dbieee_oui.h || make update cd databases/ieee-iab && make test -f dbieee_iab.h || make update cd databases/ipv4-assignment && make test -f dbipv4addr_assignment.h || make update cd databases/ipv6-assignment && make test -f dbipv6addr_assignment.h || make update cd lib && make make[4]: Nothing to be done for `all'. gcc -o ipv6calc ipv6calc.o showinfo.o ../getopt/getopt.o ../getopt/getopt1.o ../md5/md5.o -lipv6calc -L../lib/ ./test_ipv6calc.sh || exit 1 Run 'ipv6calc' function tests... Test './ipv6calc --addr_to_ip6int 3ffe:ffff:100:f101::1 ' for '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int.' No input type specified, try autodetection...found type: ipv6addr Test './ipv6calc --in ipv6 --out revnibbles.int 3ffe:ffff:100:f101::1 ' for '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int.' Test './ipv6calc --addr_to_ip6int 3ffe:ffff:100:f101::1/64 ' for '1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int.' No input type specified, try autodetection...found type: ipv6addr Test './ipv6calc --in revnibbles.int --out ipv6 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int. ' for '3ffe:ffff:100:f101::1/128' Test './ipv6calc --addr_to_ip6arpa 3ffe::1/64 ' for '0.0.0.0.0.0.0.0.0.0.0.0.e.f.f.3.ip6.arpa.' No input type specified, try autodetection...found type: ipv6addr Test './ipv6calc --in ipv6 --out revnibbles.arpa 3ffe::1/64 ' for '0.0.0.0.0.0.0.0.0.0.0.0.e.f.f.3.ip6.arpa.' Test './ipv6calc -a --uppercase 3ffe::1/64 ' for '0.0.0.0.0.0.0.0.0.0.0.0.E.F.F.3.IP6.ARPA.' No input type specified, try autodetection...found type: ipv6addr Test './ipv6calc --addr_to_compressed 3ffe:ffff:0100:f101:0000:0000:0000:0001 ' for '3ffe:ffff:100:f101::1' Test './ipv6calc --in ipv6 --out ipv6 --printcompressed 3ffe:ffff:0100:f101:0000:0000:0000:0001 ' for '3ffe:ffff:100:f101::1' Test './ipv6calc --addr_to_compressed 3ffe:ffff:0100:f101:0000:0000:0000:0001/64 ' for '3ffe:ffff:100:f101::1/64' Test './ipv6calc --addr_to_compressed 0:0:1:2:3:4:0:0 ' for '::1:2:3:4:0:0' Test './ipv6calc --addr_to_compressed 0:0:1:0:0:1:0:0 ' for '::1:0:0:1:0:0' Test './ipv6calc --addr_to_compressed 0:0:0:2:3:0:0:0 ' for '::2:3:0:0:0' Test './ipv6calc --addr_to_compressed 0:0:0:0:3:0:0:0 ' for '::3:0:0:0' Test './ipv6calc --addr_to_compressed 0:0:0:0:0:4:0:0 ' for '::4:0:0' Test './ipv6calc --addr_to_compressed 0:0:1:0:0:1:0:0 ' for '::1:0:0:1:0:0' Test './ipv6calc --addr_to_compressed 0:0:1:2:0:0:0:0 ' for '0:0:1:2::' Test './ipv6calc --addr_to_compressed 0:0:1:2:3:0:0:0 ' for '0:0:1:2:3::' Test './ipv6calc --addr_to_compressed 1080:0:0:0:8:800:200c:417a ' for '1080::8:800:200c:417a' Test './ipv6calc --addr_to_compressed ff01:0:0:0:0:0:0:43 ' for 'ff01::43' Test './ipv6calc --addr_to_compressed 0:0:0:0:0:0:0:1 ' for '::1' Test './ipv6calc --addr_to_compressed 0:0:0:0:0:0:0:0 ' for '::' Test './ipv6calc --addr_to_compressed 0:0:0:0:0:0:13.1.68.3 ' for '::13.1.68.3' Test './ipv6calc --addr_to_compressed 0:0:0:0:0:ffff:129.144.52.38 ' for '::ffff:129.144.52.38' Test './ipv6calc --addr_to_compressed --uppercase 0:0:0:0:0:ffff:129.144.52.38 ' for '::FFFF:129.144.52.38' Test './ipv6calc --in ipv6 --out ipv6 --printcompressed --uppercase 0:0:0:0:0:ffff:129.144.52.38 ' for '::FFFF:129.144.52.38' Test './ipv6calc --addr_to_uncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:100:f101:0:0:0:1' Test './ipv6calc --in ipv6 --out ipv6 --printuncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:100:f101:0:0:0:1' Test './ipv6calc --addr_to_uncompressed 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:100:f101:0:0:0:1/64' Test './ipv6calc --addr_to_uncompressed ::13.1.68.3 ' for '0:0:0:0:0:0:13.1.68.3' Test './ipv6calc --addr_to_uncompressed ::013.01.068.0003 ' for '0:0:0:0:0:0:13.1.68.3' Test './ipv6calc --addr_to_uncompressed ::ffff:13.1.68.3 ' for '0:0:0:0:0:ffff:13.1.68.3' Test './ipv6calc --addr_to_uncompressed --maskprefix 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:100:f101:0:0:0:0/64' Test './ipv6calc --addr_to_uncompressed --masksuffix 3ffe:ffff:100:f101:c000::1/64 ' for '0:0:0:0:c000:0:0:1/64' Test './ipv6calc --addr_to_uncompressed --uppercase ::ffff:13.1.68.3 ' for '0:0:0:0:0:FFFF:13.1.68.3' Test './ipv6calc --addr_to_uncompressed --printsuffix ::ffff:1.2.3.4/64 ' for '0:ffff:1.2.3.4' Test './ipv6calc --in ipv6 --out ipv6 --printsuffix --printuncompressed ::ffff:1.2.3.4/64 ' for '0:ffff:1.2.3.4' Test './ipv6calc --addr_to_uncompressed --printsuffix ::ffff:1.2.3.4/63 ' for '0:0:ffff:1.2.3.4' Test './ipv6calc --addr_to_uncompressed --printsuffix 3ffe:ffff:100:f101::1/64 ' for '0:0:0:1' Test './ipv6calc --addr_to_uncompressed --printprefix 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:100:f101' Test './ipv6calc --addr_to_uncompressed --printprefix 3ffe:ffff:100:f101::1/65 ' for '3ffe:ffff:100:f101:0' Test './ipv6calc --in ipv6 --out ipv6 --printprefix --printuncompressed 3ffe:ffff:100:f101::1/65 ' for '3ffe:ffff:100:f101:0' Test './ipv6calc --addr_to_fulluncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:0100:f101:0000:0000:0000:0001' Test './ipv6calc --in ipv6 --out ipv6 --printfulluncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:0100:f101:0000:0000:0000:0001' Test './ipv6calc --addr_to_fulluncompressed 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:0100:f101:0000:0000:0000:0001/64' Test './ipv6calc --addr_to_fulluncompressed ::13.1.68.3 ' for '0000:0000:0000:0000:0000:0000:13.1.68.3' Test './ipv6calc --addr_to_fulluncompressed ::ffff:13.1.68.3 ' for '0000:0000:0000:0000:0000:ffff:13.1.68.3' Test './ipv6calc --addr_to_fulluncompressed --uppercase ::ffff:13.1.68.3 ' for '0000:0000:0000:0000:0000:FFFF:13.1.68.3' Test './ipv6calc --addr_to_ifinet6 3ffe:ffff:100:f101::1 ' for '3ffeffff0100f1010000000000000001 00' Test './ipv6calc --in ipv6 --out ifinet6 3ffe:ffff:100:f101::1 ' for '3ffeffff0100f1010000000000000001 00' Test './ipv6calc --addr_to_ifinet6 3ffe:ffff:100:f101::1/64 ' for '3ffeffff0100f1010000000000000001 00 40' Test './ipv6calc --in ipv6 --out ifinet6 3ffe:ffff:100:f101::1/64 ' for '3ffeffff0100f1010000000000000001 00 40' Test './ipv6calc --ifinet6_to_compressed 3ffeffff0100f1010000000000000001 ' for '3ffe:ffff:100:f101::1' Test './ipv6calc --in ifinet6 --out ipv6 --printcompressed 3ffeffff0100f1010000000000000001 ' for '3ffe:ffff:100:f101::1' Test './ipv6calc --ifinet6_to_compressed 3ffeffff0100f1010000000000000001 40 ' for '3ffe:ffff:100:f101::1/64' Test './ipv6calc --in ifinet6 --out ipv6 --printcompressed 3ffeffff0100f1010000000000000001 40 ' for '3ffe:ffff:100:f101::1/64' Test './ipv6calc --addr_to_base85 1080:0:0:0:8:800:200c:417a ' for '4)+k&C#VzJ4br>0wv%Yp' Test './ipv6calc --in ipv6 --out base85 1080:0:0:0:8:800:200c:417a ' for '4)+k&C#VzJ4br>0wv%Yp' Test './ipv6calc --base85_to_addr 4)+k&C#VzJ4br>0wv%Yp ' for '1080:0:0:0:8:800:200c:417a' Test './ipv6calc --mac_to_eui64 00:50:BF:06:B4:F5 ' for '250:bfff:fe06:b4f5' Test './ipv6calc --mac_to_eui64 00:0:F:6:4:5 ' for '200:fff:fe06:405' Test './ipv6calc --in mac --out eui64 00:0:F:6:4:5 ' for '200:fff:fe06:405' No action type specified, try autodetection...found type: geneui64 Test './ipv6calc --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef ' for '4662:bdea:8654:776d 486072ff7074945e' Error executing 'ipv6calc'! 1 make[1]: Nothing to be done for `test'. make[1]: Nothing to be done for `test'.