You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 1, 2022. It is now read-only.
nicolaw@laptop: ~/src/blip $ make test
make: gpg: Command not found
all 3 010_basic.sh tests passed in 0.000s.
all 243 020_variable_types.sh tests passed in 0.000s.
test #1 "is_ipv4_address 0.0.0.0" failed:
program terminated with code 2 instead of 0
test #2 "is_ipv4_address 1.1.1.1" failed:
program terminated with code 2 instead of 0
test #3 "is_ipv4_address 255.255.255.255" failed:
program terminated with code 2 instead of 0
test #4 "is_ipv4_address 172.16.0.1" failed:
program terminated with code 2 instead of 0
test #5 "is_ipv4_address This is obviously not an IP address of any kind!" failed:
program terminated with code 2 instead of 1
test #6 "is_ipv4_address 1.2.3.4.5" failed:
program terminated with code 2 instead of 1
test #7 "is_ipv4_address 10.20.300.400" failed:
program terminated with code 2 instead of 1
test #8 "is_ipv4_address 10.10.10.10/8" failed:
program terminated with code 2 instead of 1
test #9 "is_ipv4_address 10.-1.2.3" failed:
program terminated with code 2 instead of 1
test #10 "is_ipv4_address 10.256.0.1" failed:
program terminated with code 2 instead of 1
test #11 "is_ipv4_prefix 0.0.0.0/0" failed:
program terminated with code 1 instead of 0
test #12 "is_ipv4_prefix 127.0.0.1/32" failed:
program terminated with code 1 instead of 0
test #13 "is_ipv4_prefix 10.10.10.1/24" failed:
program terminated with code 1 instead of 0
test #15 "is_ipv6_address 2001:0db8:85a3:0000:0000:8a2e:0370:7334" failed:
program terminated with code 2 instead of 0
test #16 "is_ipv6_address 2001:db8:85a3:0:0:8a2e:370:7334" failed:
program terminated with code 2 instead of 0
test #17 "is_ipv6_address 2001:db8:85a3::8a2e:370:7334" failed:
program terminated with code 2 instead of 0
test #18 "is_ipv6_address ::1" failed:
program terminated with code 2 instead of 0
test #19 "is_ipv6_address ::" failed:
program terminated with code 2 instead of 0
test #20 "is_ipv6_address 2001:0db8::0001" failed:
program terminated with code 2 instead of 0
test #21 "is_ipv6_address 2001:db8::1" failed:
program terminated with code 2 instead of 0
test #22 "is_ipv6_address ff02::1:1" failed:
program terminated with code 2 instead of 0
test #23 "is_ipv6_address ff02::1:ff00:0" failed:
program terminated with code 2 instead of 0
test #24 "is_ipv6_address This is obviously not an IP address of any kind!" failed:
program terminated with code 2 instead of 1
test #25 "is_ipv6_address :::d" failed:
program terminated with code 2 instead of 1
test #26 "is_ipv6_address 2001::1::2:3:4" failed:
program terminated with code 2 instead of 1
test #27 "is_ipv6_prefix 2001:db8:a0b:12f0::1/64" failed:
program terminated with code 1 instead of 0
test #28 "is_ipv6_prefix 2000::/3" failed:
program terminated with code 1 instead of 0
test #29 "is_ipv6_prefix 100::/64" failed:
program terminated with code 1 instead of 0
test #30 "is_ipv6_prefix ::ffff:a:b:c:d/96" failed:
program terminated with code 1 instead of 0
test #31 "is_ipv6_prefix 2001:4:112::/48" failed:
program terminated with code 1 instead of 0
test #32 "is_ipv6_prefix ::1/128" failed:
program terminated with code 1 instead of 0
test #33 "is_ipv6_prefix ::/0" failed:
program terminated with code 1 instead of 0
32 of 34 030_ip_validation.sh tests failed in 0.000s.
all 49 040_hwaddr_validation.sh tests passed in 0.000s.
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
tests/../blip.bash: line 870: 1534630033 - : syntax error: operand expected (error token is "- ")
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
tests/../blip.bash: line 870: 1534630033 - : syntax error: operand expected (error token is "- ")
test #77 "echo 1" failed:
expected "0"
got "1"
test #78 "echo 1" failed:
expected "0"
got "1"
2 of 79 050_documentation.sh tests failed in 0.000s.
In tests/../blip.bash line 313:
elif [[ "$1" =~ ^-?([1-9][0-9]*|0)(\.[0-9]+)?$ ]] ; then
^-- SC1009: The mentioned parser error was in this regex.
^-- SC1073: Couldn't parse this regex grouping.
^-- SC1072: Unexpected . Fix any mentioned problems and try again.
test #1 "shellcheck -e SC1090 -e SC2102 -s bash 'tests/../blip.bash' > '/var/folders/w0/j5txs7jd2t3bl2h8xhqv0j4c0000gn/T/tmp.7sWYIRmI' 2>&1" failed:
program terminated with code 1 instead of 0
1 of 1 060_shellcheck.sh tests failed in 0.000s.
all 16 070_license.sh tests passed in 0.000s.
all 63 080_coverage.sh tests passed in 1.000s.
all 4 090_filesystem.sh tests passed in 0.000s.
test #2 "is_word_in_string ' Test string! ' 'string'" failed:
program terminated with code 1 instead of 0
test #3 "is_word_in_string ' Test string! ' 'Test'" failed:
program terminated with code 1 instead of 0
test #4 "is_word_in_string ' Test string! ' 'Test string'" failed:
program terminated with code 1 instead of 0
3 of 25 100_string_manipulation.sh tests failed in 0.000s.
all 3 110_network.sh tests passed in 1.000s.
all 6 210_cmdarg_clean_state.sh:test_210_1_clean_state_usable() tests passed in 0.000s.
all 3 210_cmdarg_clean_state.sh:test_210_2_clean_state() tests passed in 0.000s.
all 1 210_cmdarg_clean_state.sh:test_210_3_clean_state_subshells() tests passed in 0.000s.
all 27 220_cmdarg_dashdash.sh:test_220_1_dashdash() tests passed in 0.000s.
all 1 230_cmdarg_equals.sh:test_230_1_equals_parsing_shortopt() tests passed in 0.000s.
all 1 230_cmdarg_equals.sh:test_230_2_equals_parsing_longopt() tests passed in 0.000s.
all 1 240_cmdarg_helpers.sh:test_240_1_usage_helper() tests passed in 0.000s.
all 5 240_cmdarg_helpers.sh:test_240_2_custom_helpers() tests passed in 0.000s.
all 1 250_cmdarg_info.sh:test_250_1_info_reject_invalid() tests passed in 0.000s.
all 10 250_cmdarg_info.sh:test_250_2_info_accept_valid() tests passed in 0.000s.
all 3 260_cmdarg_longopt.sh:test_260_1_longopt() tests passed in 0.000s.
all 3 260_cmdarg_longopt.sh:test_260_2_longopt_shortopts_still_work() tests passed in 0.000s.
all 4 260_cmdarg_longopt.sh:test_260_3_longopt_usage_messages() tests passed in 0.000s.
all 6 270_cmdarg_types.sh:test_270_1_flags_required() tests passed in 0.000s.
all 2 270_cmdarg_types.sh:test_270_2_array_undefined() tests passed in 0.000s.
all 7 270_cmdarg_types.sh:test_270_3_array_values() tests passed in 0.000s.
all 2 270_cmdarg_types.sh:test_270_4_hash_undefined() tests passed in 0.000s.
all 6 270_cmdarg_types.sh:test_270_5_hash_values() tests passed in 0.000s.
all 4 270_cmdarg_types.sh:test_270_6_boolean_no_optarg() tests passed in 0.000s.
all 2 270_cmdarg_types.sh:test_270_7_hash_malformed() tests passed in 0.000s.
all 3 280_cmdarg_validators.sh:test_280_1_validator_for_hash() tests passed in 0.000s.
all 3 280_cmdarg_validators.sh:test_280_2_validator_for_array() tests passed in 0.000s.
all 3 280_cmdarg_validators.sh:test_280_3_validator_failure_recognized() tests passed in 0.000s.
make: *** [test] Error 1