Skip to content

Instantly share code, notes, and snippets.

@drocco007
Created March 17, 2021 19:27
Show Gist options
  • Save drocco007/49e6f78c04abb8421800118352e7a33e to your computer and use it in GitHub Desktop.
Save drocco007/49e6f78c04abb8421800118352e7a33e to your computer and use it in GitHub Desktop.
numfmt 0.0.4
1...
2...
3...
4...
5...
5.1...
6...
7...
7a...
numfmt.pl: test 7a failed: exit status mismatch: expected 2, got 1
8...
9...
10...
11...
numfmt.pl: test 11 failed: exit status mismatch: expected 0, got 1
12...
numfmt.pl: test 12 failed: exit status mismatch: expected 0, got 1
13...
numfmt.pl: test 13 failed: exit status mismatch: expected 0, got 1
14...
numfmt.pl: test 14 failed: exit status mismatch: expected 0, got 1
15...
numfmt.pl: test 15 failed: exit status mismatch: expected 0, got 1
16...
numfmt.pl: test 16 failed: exit status mismatch: expected 0, got 1
17...
numfmt.pl: test 17 failed: exit status mismatch: expected 0, got 1
18...
19...
20...
21...
numfmt.pl: test 21 failed: exit status mismatch: expected 0, got 1
22...
numfmt.pl: test 22 failed: exit status mismatch: expected 0, got 1
23...
numfmt.pl: test 23 failed: exit status mismatch: expected 0, got 1
24...
numfmt.pl: test 24 failed: exit status mismatch: expected 0, got 1
25...
numfmt.pl: test 25 failed: exit status mismatch: expected 0, got 1
26...
numfmt.pl: test 26 failed: exit status mismatch: expected 0, got 1
27...
neg-1...
neg-2...
neg-3...
neg-4...
neg-5...
numfmt.pl: test neg-5: stdout mismatch, comparing neg-5.1 (expected) and neg-5.O (actual)
*** neg-5.1 Wed Mar 17 15:21:09 2021
--- neg-5.O Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! -0.1
--- 1 ----
! -1
neg-6...
neg-7...
numfmt.pl: test neg-7 failed: exit status mismatch: expected 2, got 1
float-1...
numfmt.pl: test float-1: stdout mismatch, comparing float-1.1 (expected) and float-1.O (actual)
*** float-1.1 Wed Mar 17 15:21:09 2021
--- float-1.O Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! 1.1
--- 1 ----
! 2
float-2...
numfmt.pl: test float-2: stdout mismatch, comparing float-2.1 (expected) and float-2.O (actual)
*** float-2.1 Wed Mar 17 15:21:09 2021
--- float-2.O Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! 1.22
--- 1 ----
! 2
float-3...
numfmt.pl: test float-3 failed: exit status mismatch: expected 2, got 1
unit-1...
numfmt.pl: test unit-1 failed: exit status mismatch: expected 0, got 1
unit-2...
numfmt.pl: test unit-2 failed: exit status mismatch: expected 0, got 1
unit-3...
numfmt.pl: test unit-3 failed: exit status mismatch: expected 0, got 1
unit-4...
numfmt.pl: test unit-4 failed: exit status mismatch: expected 0, got 1
unit-5...
numfmt.pl: test unit-5: stderr mismatch, comparing unit-5.1 (expected) and unit-5.E (actual)
*** unit-5.1 Wed Mar 17 15:21:09 2021
--- unit-5.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: 'AA'
--- 1,7 ----
! error: Found argument '--from-unit' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
unit-6...
numfmt.pl: test unit-6: stderr mismatch, comparing unit-6.1 (expected) and unit-6.E (actual)
*** unit-6.1 Wed Mar 17 15:21:09 2021
--- unit-6.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: '54W'
--- 1,7 ----
! error: Found argument '--from-unit' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
unit-7...
numfmt.pl: test unit-7 failed: exit status mismatch: expected 0, got 1
unit-7.1...
numfmt.pl: test unit-7.1 failed: exit status mismatch: expected 0, got 1
unit-7.2...
numfmt.pl: test unit-7.2: stderr mismatch, comparing unit-7.2.1 (expected) and unit-7.2.E (actual)
*** unit-7.2.1 Wed Mar 17 15:21:09 2021
--- unit-7.2.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: 'i'
--- 1,7 ----
! error: Found argument '--from-unit' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
unit-7.3...
numfmt.pl: test unit-7.3: stderr mismatch, comparing unit-7.3.1 (expected) and unit-7.3.E (actual)
*** unit-7.3.1 Wed Mar 17 15:21:09 2021
--- unit-7.3.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: '1i'
--- 1,7 ----
! error: Found argument '--from-unit' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
unit-8...
numfmt.pl: test unit-8: stderr mismatch, comparing unit-8.1 (expected) and unit-8.E (actual)
*** unit-8.1 Wed Mar 17 15:21:09 2021
--- unit-8.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: '18446744073709551616'
--- 1,7 ----
! error: Found argument '--from-unit' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
unit-9...
numfmt.pl: test unit-9: stderr mismatch, comparing unit-9.1 (expected) and unit-9.E (actual)
*** unit-9.1 Wed Mar 17 15:21:09 2021
--- unit-9.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: '0'
--- 1,7 ----
! error: Found argument '--from-unit' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
unit-10...
numfmt.pl: test unit-10: stderr mismatch, comparing unit-10.1 (expected) and unit-10.E (actual)
*** unit-10.1 Wed Mar 17 15:21:09 2021
--- unit-10.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid unit size: '0'
--- 1,7 ----
! error: Found argument '--to-unit' which wasn't expected, or isn't valid in this context
! Did you mean --to?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
suf-1...
suf-2...
numfmt.pl: test suf-2 failed: exit status mismatch: expected 2, got 1
suf-2.1...
numfmt.pl: test suf-2.1 failed: exit status mismatch: expected 2, got 1
suf-3...
suf-4...
numfmt.pl: test suf-4 failed: exit status mismatch: expected 2, got 1
suf-5...
numfmt.pl: test suf-5 failed: exit status mismatch: expected 2, got 1
suf-6...
suf-7...
suf-8...
suf-9...
numfmt.pl: test suf-9 failed: exit status mismatch: expected 2, got 1
suf-10...
numfmt.pl: test suf-10 failed: exit status mismatch: expected 2, got 1
suf-11...
suf-12...
numfmt.pl: test suf-12 failed: exit status mismatch: expected 0, got 1
suf-13...
numfmt.pl: test suf-13 failed: exit status mismatch: expected 0, got 1
suf-14...
numfmt.pl: test suf-14 failed: exit status mismatch: expected 0, got 1
suf-15...
numfmt.pl: test suf-15 failed: exit status mismatch: expected 0, got 1
suf-16...
numfmt.pl: test suf-16 failed: exit status mismatch: expected 0, got 1
suf-17...
numfmt.pl: test suf-17 failed: exit status mismatch: expected 2, got 1
suf-18...
numfmt.pl: test suf-18 failed: exit status mismatch: expected 2, got 1
suf-19...
numfmt.pl: test suf-19 failed: exit status mismatch: expected 0, got 1
grp-1...
numfmt.pl: test grp-1 failed: exit status mismatch: expected 0, got 1
grp-2...
numfmt.pl: test grp-2: stderr mismatch, comparing grp-2.1 (expected) and grp-2.E (actual)
*** grp-2.1 Wed Mar 17 15:21:09 2021
--- grp-2.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: grouping cannot be combined with --to
--- 1,6 ----
! error: Found argument '--grouping' which wasn't expected, or isn't valid in this context
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
pad-1...
pad-2...
pad-3...
numfmt.pl: test pad-3: stderr mismatch, comparing pad-3.1 (expected) and pad-3.E (actual)
*** pad-3.1 Wed Mar 17 15:21:09 2021
--- pad-3.E Wed Mar 17 15:21:09 2021
***************
*** 1 ****
! numfmt: invalid padding value 'A'
--- 1 ----
! numfmt: invalid digit found in string
pad-3.1...
numfmt.pl: test pad-3.1 failed: exit status mismatch: expected 1, got 0
pad-3.2...
numfmt.pl: test pad-3.2 failed: exit status mismatch: expected 1, got 137
pad-4...
pad-5...
pad-6...
pad-7...
numfmt.pl: test pad-7 failed: exit status mismatch: expected 0, got 1
pad-8...
numfmt.pl: test pad-8 failed: exit status mismatch: expected 0, got 1
delim-1...
delim-2...
numfmt.pl: test delim-2 failed: exit status mismatch: expected 0, got 1
delim-3...
delim-4...
delim-5...
delim-6...
delim-err-1...
field-1...
numfmt.pl: test field-1: stderr mismatch, comparing field-1.1 (expected) and field-1.E (actual)
*** field-1.1 Wed Mar 17 15:22:04 2021
--- field-1.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: invalid field value 'A'
! Try 'numfmt --help' for more information.
--- 1 ----
! numfmt: range 'A' was invalid: failed to parse range
field-2...
field-3...
numfmt.pl: test field-3 failed: exit status mismatch: expected 2, got 1
field-4...
field-5...
field-6...
field-8...
field-range-1...
field-range-2...
field-range-3...
field-range-4...
field-range-5...
field-range-6...
field-range-7...
field-range-8...
field-range-9...
field-range-10...
field-range-11...
field-range-12...
field-range-13...
field-range-14...
numfmt.pl: test field-range-14 failed: exit status mismatch: expected 0, got 1
field-range-15...
numfmt.pl: test field-range-15 failed: exit status mismatch: expected 0, got 1
field-range-16...
field-range-17...
field-range-18...
numfmt.pl: test field-range-18 failed: exit status mismatch: expected 0, got 1
field-range-19...
numfmt.pl: test field-range-19 failed: exit status mismatch: expected 0, got 1
all-fields-1...
field-range-err-1...
numfmt.pl: test field-range-err-1: stderr mismatch, comparing field-range-err-1.1 (expected) and field-range-err-1.E (actual)
*** field-range-err-1.1 Wed Mar 17 15:22:04 2021
--- field-range-err-1.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: invalid field value 'foo'
! Try 'numfmt --help' for more information.
--- 1,6 ----
! error: Found argument '-f' which wasn't expected, or isn't valid in this context
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-2...
numfmt.pl: test field-range-err-2: stderr mismatch, comparing field-range-err-2.1 (expected) and field-range-err-2.E (actual)
*** field-range-err-2.1 Wed Mar 17 15:22:04 2021
--- field-range-err-2.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: invalid field range
! Try 'numfmt --help' for more information.
--- 1,6 ----
! error: Found argument '--3' which wasn't expected, or isn't valid in this context
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-3...
numfmt.pl: test field-range-err-3: stderr mismatch, comparing field-range-err-3.1 (expected) and field-range-err-3.E (actual)
*** field-range-err-3.1 Wed Mar 17 15:22:04 2021
--- field-range-err-3.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: fields are numbered from 1
! Try 'numfmt --help' for more information.
--- 1 ----
! numfmt: range '0' was invalid: fields and positions are numbered from 1
field-range-err-4...
numfmt.pl: test field-range-err-4: stderr mismatch, comparing field-range-err-4.1 (expected) and field-range-err-4.E (actual)
*** field-range-err-4.1 Wed Mar 17 15:22:04 2021
--- field-range-err-4.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: invalid decreasing range
! Try 'numfmt --help' for more information.
--- 1 ----
! numfmt: range '3-2' was invalid: high end of range less than low end
field-range-err-6...
numfmt.pl: test field-range-err-6: stderr mismatch, comparing field-range-err-6.1 (expected) and field-range-err-6.E (actual)
*** field-range-err-6.1 Wed Mar 17 15:22:04 2021
--- field-range-err-6.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: multiple field specifications
--- 1,6 ----
! error: The argument '--field <FIELDS>' was provided more than once, but cannot be used multiple times
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-7...
numfmt.pl: test field-range-err-7: stderr mismatch, comparing field-range-err-7.1 (expected) and field-range-err-7.E (actual)
*** field-range-err-7.1 Wed Mar 17 15:22:04 2021
--- field-range-err-7.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: multiple field specifications
--- 1,6 ----
! error: The argument '--field <FIELDS>' was provided more than once, but cannot be used multiple times
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-8...
numfmt.pl: test field-range-err-8: stderr mismatch, comparing field-range-err-8.1 (expected) and field-range-err-8.E (actual)
*** field-range-err-8.1 Wed Mar 17 15:22:04 2021
--- field-range-err-8.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: multiple field specifications
--- 1,6 ----
! error: The argument '--field <FIELDS>' was provided more than once, but cannot be used multiple times
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-9...
numfmt.pl: test field-range-err-9: stderr mismatch, comparing field-range-err-9.1 (expected) and field-range-err-9.E (actual)
*** field-range-err-9.1 Wed Mar 17 15:22:04 2021
--- field-range-err-9.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: multiple field specifications
--- 1,6 ----
! error: The argument '--field <FIELDS>' was provided more than once, but cannot be used multiple times
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-10...
numfmt.pl: test field-range-err-10: stderr mismatch, comparing field-range-err-10.1 (expected) and field-range-err-10.E (actual)
*** field-range-err-10.1 Wed Mar 17 15:22:04 2021
--- field-range-err-10.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: multiple field specifications
--- 1,6 ----
! error: The argument '--field <FIELDS>' was provided more than once, but cannot be used multiple times
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
field-range-err-11...
numfmt.pl: test field-range-err-11: stderr mismatch, comparing field-range-err-11.1 (expected) and field-range-err-11.E (actual)
*** field-range-err-11.1 Wed Mar 17 15:22:04 2021
--- field-range-err-11.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: invalid field range
! Try 'numfmt --help' for more information.
--- 1 ----
! numfmt: range '1-2-3' was invalid: failed to parse range
field-range-err-12...
numfmt.pl: test field-range-err-12: stderr mismatch, comparing field-range-err-12.1 (expected) and field-range-err-12.E (actual)
*** field-range-err-12.1 Wed Mar 17 15:22:04 2021
--- field-range-err-12.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: fields are numbered from 1
! Try 'numfmt --help' for more information.
--- 1 ----
! numfmt: range '0-1' was invalid: fields and positions are numbered from 1
field-range-err-13...
numfmt.pl: test field-range-err-13 failed: exit status mismatch: expected 1, got 0
whitespace-1...
whitespace-2...
whitespace-3...
whitespace-4...
whitespace-5...
whitespace-6...
whitespace-7...
whitespace-8...
mix-1...
numfmt.pl: test mix-1 failed: exit status mismatch: expected 0, got 1
mix-2...
numfmt.pl: test mix-2 failed: exit status mismatch: expected 0, got 1
mix-3...
numfmt.pl: test mix-3 failed: exit status mismatch: expected 0, got 1
mix-4...
numfmt.pl: test mix-4 failed: exit status mismatch: expected 0, got 1
mix-5...
numfmt.pl: test mix-5 failed: exit status mismatch: expected 0, got 1
mix-6...
numfmt.pl: test mix-6 failed: exit status mismatch: expected 0, got 1
mix-7...
numfmt.pl: test mix-7 failed: exit status mismatch: expected 0, got 1
mix-8...
numfmt.pl: test mix-8 failed: exit status mismatch: expected 0, got 1
mix-10...
numfmt.pl: test mix-10 failed: exit status mismatch: expected 0, got 1
mix-11...
numfmt.pl: test mix-11 failed: exit status mismatch: expected 0, got 1
mix-12...
numfmt.pl: test mix-12 failed: exit status mismatch: expected 0, got 1
mix-13...
mix-14...
header-1...
header-2...
numfmt.pl: test header-2 failed: exit status mismatch: expected 0, got 1
header-3...
numfmt.pl: test header-3: stderr mismatch, comparing header-3.1 (expected) and header-3.E (actual)
*** header-3.1 Wed Mar 17 15:22:04 2021
--- header-3.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid header value 'A'
--- 1 ----
! numfmt: invalid header value ‘A’
header-4...
numfmt.pl: test header-4: stderr mismatch, comparing header-4.1 (expected) and header-4.E (actual)
*** header-4.1 Wed Mar 17 15:22:04 2021
--- header-4.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid header value '0'
--- 1 ----
! numfmt: invalid header value ‘0’
header-5...
numfmt.pl: test header-5: stderr mismatch, comparing header-5.1 (expected) and header-5.E (actual)
*** header-5.1 Wed Mar 17 15:22:04 2021
--- header-5.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid header value '-6'
--- 1 ----
! numfmt: invalid header value ‘-6’
header-6...
numfmt.pl: test header-6 failed: exit status mismatch: expected 0, got 1
header-7...
numfmt.pl: test header-7 failed: exit status mismatch: expected 0, got 1
header-8...
header-9...
strtod-1...
numfmt.pl: test strtod-1 failed: exit status mismatch: expected 2, got 1
strtod-2...
numfmt.pl: test strtod-2 failed: exit status mismatch: expected 2, got 1
strtod-5...
numfmt.pl: test strtod-5 failed: exit status mismatch: expected 2, got 1
strtod-6...
numfmt.pl: test strtod-6 failed: exit status mismatch: expected 2, got 0
strtod-6.1...
numfmt.pl: test strtod-6.1 failed: exit status mismatch: expected 2, got 1
strtod-9...
numfmt.pl: test strtod-9 failed: exit status mismatch: expected 2, got 1
strtod-10...
numfmt.pl: test strtod-10 failed: exit status mismatch: expected 2, got 1
strtod-11...
numfmt.pl: test strtod-11 failed: exit status mismatch: expected 2, got 1
dbl-to-human-1...
dbl-to-human-2...
dbl-to-human-2.1...
dbl-to-human-2.2...
dbl-to-human-2.3...
dbl-to-human-2.4...
dbl-to-human-2.5...
dbl-to-human-2.6...
dbl-to-human-2.7...
dbl-to-human-2.8...
dbl-to-human-3...
dbl-to-human-3.1...
dbl-to-human-4...
numfmt.pl: test dbl-to-human-4 failed: exit status mismatch: expected 0, got 1
dbl-to-human-5...
numfmt.pl: test dbl-to-human-5 failed: exit status mismatch: expected 0, got 1
dbl-to-human-6...
numfmt.pl: test dbl-to-human-6 failed: exit status mismatch: expected 0, got 1
dbl-to-human-7...
numfmt.pl: test dbl-to-human-7 failed: exit status mismatch: expected 0, got 1
dbl-to-human-8...
numfmt.pl: test dbl-to-human-8 failed: exit status mismatch: expected 0, got 1
dbl-to-human-9...
numfmt.pl: test dbl-to-human-9 failed: exit status mismatch: expected 0, got 1
dbl-to-human-10...
numfmt.pl: test dbl-to-human-10 failed: exit status mismatch: expected 0, got 1
dbl-to-human-11...
numfmt.pl: test dbl-to-human-11 failed: exit status mismatch: expected 0, got 1
dbl-to-human-12...
dbl-to-human-13...
dbl-to-human-14...
dbl-to-human-15...
dbl-to-human-16...
numfmt.pl: test dbl-to-human-16 failed: exit status mismatch: expected 0, got 1
dbl-to-human-17...
dbl-to-human-18...
numfmt.pl: test dbl-to-human-18 failed: exit status mismatch: expected 0, got 1
dbl-to-human-19...
dbl-to-human-20...
numfmt.pl: test dbl-to-human-20 failed: exit status mismatch: expected 0, got 1
dbl-to-human-21...
dbl-to-human-22...
numfmt.pl: test dbl-to-human-22 failed: exit status mismatch: expected 0, got 1
dbl-to-human-23...
dbl-to-human-24...
dbl-to-human-25...
dbl-to-human-25.1...
dbl-to-human-26...
dbl-to-human-27...
dbl-to-human-28...
dbl-to-human-29...
dbl-to-human-30...
numfmt.pl: test dbl-to-human-30 failed: exit status mismatch: expected 0, got 1
dbl-to-human-31...
dbl-to-human-32...
dbl-to-human-33...
round-1...
numfmt.pl: test round-1 failed: exit status mismatch: expected 0, got 1
round-2...
numfmt.pl: test round-2 failed: exit status mismatch: expected 0, got 1
round-3...
numfmt.pl: test round-3 failed: exit status mismatch: expected 0, got 1
round-4...
numfmt.pl: test round-4 failed: exit status mismatch: expected 0, got 1
round-5...
numfmt.pl: test round-5 failed: exit status mismatch: expected 0, got 1
round-1-up...
numfmt.pl: test round-1-up failed: exit status mismatch: expected 0, got 1
round-2-up...
numfmt.pl: test round-2-up failed: exit status mismatch: expected 0, got 1
round-3-up...
numfmt.pl: test round-3-up failed: exit status mismatch: expected 0, got 1
round-4-up...
numfmt.pl: test round-4-up failed: exit status mismatch: expected 0, got 1
round-5-up...
numfmt.pl: test round-5-up failed: exit status mismatch: expected 0, got 1
round-1-down...
numfmt.pl: test round-1-down failed: exit status mismatch: expected 0, got 1
round-2-down...
numfmt.pl: test round-2-down failed: exit status mismatch: expected 0, got 1
round-3-down...
numfmt.pl: test round-3-down failed: exit status mismatch: expected 0, got 1
round-4-down...
numfmt.pl: test round-4-down failed: exit status mismatch: expected 0, got 1
round-5-down...
numfmt.pl: test round-5-down failed: exit status mismatch: expected 0, got 1
round-1-to-zero...
numfmt.pl: test round-1-to-zero failed: exit status mismatch: expected 0, got 1
round-2-to-zero...
numfmt.pl: test round-2-to-zero failed: exit status mismatch: expected 0, got 1
round-3-to-zero...
numfmt.pl: test round-3-to-zero failed: exit status mismatch: expected 0, got 1
round-4-to-zero...
numfmt.pl: test round-4-to-zero failed: exit status mismatch: expected 0, got 1
round-5-to-zero...
numfmt.pl: test round-5-to-zero failed: exit status mismatch: expected 0, got 1
round-1-near...
numfmt.pl: test round-1-near failed: exit status mismatch: expected 0, got 1
round-2-near...
numfmt.pl: test round-2-near failed: exit status mismatch: expected 0, got 1
round-3-near...
numfmt.pl: test round-3-near failed: exit status mismatch: expected 0, got 1
round-4-near...
numfmt.pl: test round-4-near failed: exit status mismatch: expected 0, got 1
round-5-near...
numfmt.pl: test round-5-near failed: exit status mismatch: expected 0, got 1
leading-1...
leading-2...
numfmt.pl: test leading-2: stdout mismatch, comparing leading-2.1 (expected) and leading-2.O (actual)
*** leading-2.1 Wed Mar 17 15:22:04 2021
--- leading-2.O Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! 0.1
--- 1 ----
! 1
leading-3...
numfmt.pl: test leading-3 failed: exit status mismatch: expected 2, got 1
leading-4...
numfmt.pl: test leading-4 failed: exit status mismatch: expected 2, got 1
leading-5...
numfmt.pl: test leading-5 failed: exit status mismatch: expected 2, got 1
precision-1...
numfmt.pl: test precision-1 failed: exit status mismatch: expected 0, got 1
precision-2...
numfmt.pl: test precision-2 failed: exit status mismatch: expected 0, got 1
precision-3...
numfmt.pl: test precision-3 failed: exit status mismatch: expected 0, got 1
precision-4...
numfmt.pl: test precision-4 failed: exit status mismatch: expected 0, got 1
precision-5...
numfmt.pl: test precision-5 failed: exit status mismatch: expected 0, got 1
precision-6...
numfmt.pl: test precision-6 failed: exit status mismatch: expected 0, got 1
precision-7...
numfmt.pl: test precision-7: stderr mismatch, comparing precision-7.1 (expected) and precision-7.E (actual)
*** precision-7.1 Wed Mar 17 15:22:04 2021
--- precision-7.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid precision in format '%.-1f'
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
precision-8...
numfmt.pl: test precision-8: stderr mismatch, comparing precision-8.1 (expected) and precision-8.E (actual)
*** precision-8.1 Wed Mar 17 15:22:04 2021
--- precision-8.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid precision in format '%.+1f'
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
precision-9...
numfmt.pl: test precision-9: stderr mismatch, comparing precision-9.1 (expected) and precision-9.E (actual)
*** precision-9.1 Wed Mar 17 15:22:04 2021
--- precision-9.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid precision in format '%. 1f'
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
debug-1...
numfmt.pl: test debug-1 failed: exit status mismatch: expected 0, got 1
debug-1.1...
numfmt.pl: test debug-1.1 failed: exit status mismatch: expected 0, got 1
debug-2...
numfmt.pl: test debug-2 failed: exit status mismatch: expected 0, got 1
devdebug-1...
numfmt.pl: test devdebug-1 failed: exit status mismatch: expected 0, got 1
devdebug-2...
numfmt.pl: test devdebug-2 failed: exit status mismatch: expected 0, got 1
devdebug-3...
numfmt.pl: test devdebug-3 failed: exit status mismatch: expected 0, got 1
devdebug-4...
numfmt.pl: test devdebug-4 failed: exit status mismatch: expected 0, got 1
devdebug-5...
numfmt.pl: test devdebug-5 failed: exit status mismatch: expected 0, got 1
devdebug-6...
numfmt.pl: test devdebug-6 failed: exit status mismatch: expected 0, got 1
devdebug-7...
numfmt.pl: test devdebug-7 failed: exit status mismatch: expected 0, got 1
devdebug-9...
numfmt.pl: test devdebug-9 failed: exit status mismatch: expected 0, got 1
devdebug-10...
numfmt.pl: test devdebug-10 failed: exit status mismatch: expected 0, got 1
devdebug-11...
numfmt.pl: test devdebug-11 failed: exit status mismatch: expected 0, got 1
help-1...
numfmt.pl: test help-1: stderr mismatch, comparing help-1.1 (expected) and help-1.E (actual)
*** help-1.1 Wed Mar 17 15:22:04 2021
--- help-1.E Wed Mar 17 15:22:04 2021
***************
*** 1,2 ****
! numfmt: unrecognized option
! Try 'numfmt --help' for more information.
--- 1,6 ----
! error: Found argument '--foobar' which wasn't expected, or isn't valid in this context
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-1...
numfmt.pl: test fmt-err-1: stderr mismatch, comparing fmt-err-1.1 (expected) and fmt-err-1.E (actual)
*** fmt-err-1.1 Wed Mar 17 15:22:04 2021
--- fmt-err-1.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: format '' has no % directive
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-2...
numfmt.pl: test fmt-err-2: stderr mismatch, comparing fmt-err-2.1 (expected) and fmt-err-2.E (actual)
*** fmt-err-2.1 Wed Mar 17 15:22:04 2021
--- fmt-err-2.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: format 'hello' has no % directive
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-3...
numfmt.pl: test fmt-err-3: stderr mismatch, comparing fmt-err-3.1 (expected) and fmt-err-3.E (actual)
*** fmt-err-3.1 Wed Mar 17 15:22:04 2021
--- fmt-err-3.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: format 'hello%' ends in %
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-4...
numfmt.pl: test fmt-err-4: stderr mismatch, comparing fmt-err-4.1 (expected) and fmt-err-4.E (actual)
*** fmt-err-4.1 Wed Mar 17 15:22:04 2021
--- fmt-err-4.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid format '%d', directive must be %[0]['][-][N][.][N]f
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-5...
numfmt.pl: test fmt-err-5: stderr mismatch, comparing fmt-err-5.1 (expected) and fmt-err-5.E (actual)
*** fmt-err-5.1 Wed Mar 17 15:22:04 2021
--- fmt-err-5.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid format '% -43 f', directive must be %[0]['][-][N][.][N]f
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-6...
numfmt.pl: test fmt-err-6: stderr mismatch, comparing fmt-err-6.1 (expected) and fmt-err-6.E (actual)
*** fmt-err-6.1 Wed Mar 17 15:22:04 2021
--- fmt-err-6.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: format '%f %f' has too many % directives
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-7...
numfmt.pl: test fmt-err-7: stderr mismatch, comparing fmt-err-7.1 (expected) and fmt-err-7.E (actual)
*** fmt-err-7.1 Wed Mar 17 15:22:04 2021
--- fmt-err-7.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: invalid format '%9223372036854775808f' (width overflow)
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-9...
numfmt.pl: test fmt-err-9: stderr mismatch, comparing fmt-err-9.1 (expected) and fmt-err-9.E (actual)
*** fmt-err-9.1 Wed Mar 17 15:22:04 2021
--- fmt-err-9.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: --grouping cannot be combined with --format
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-10...
numfmt.pl: test fmt-err-10: stderr mismatch, comparing fmt-err-10.1 (expected) and fmt-err-10.E (actual)
*** fmt-err-10.1 Wed Mar 17 15:22:04 2021
--- fmt-err-10.E Wed Mar 17 15:22:04 2021
***************
*** 1 ****
! numfmt: grouping cannot be combined with --to
--- 1,7 ----
! error: Found argument '--format' which wasn't expected, or isn't valid in this context
! Did you mean --from?
!
! USAGE:
! numfmt [OPTION]... [NUMBER]...
!
! For more information try --help
fmt-err-11...
numfmt.pl: test fmt-err-11 failed: exit status mismatch: expected 0, got 1
fmt-1...
numfmt.pl: test fmt-1 failed: exit status mismatch: expected 0, got 1
fmt-2...
numfmt.pl: test fmt-2 failed: exit status mismatch: expected 0, got 1
fmt-3...
numfmt.pl: test fmt-3 failed: exit status mismatch: expected 0, got 1
fmt-4...
numfmt.pl: test fmt-4 failed: exit status mismatch: expected 0, got 1
fmt-5...
numfmt.pl: test fmt-5 failed: exit status mismatch: expected 0, got 1
fmt-6...
numfmt.pl: test fmt-6 failed: exit status mismatch: expected 0, got 1
fmt-7...
numfmt.pl: test fmt-7 failed: exit status mismatch: expected 0, got 1
fmt-8...
numfmt.pl: test fmt-8 failed: exit status mismatch: expected 0, got 1
fmt-9...
numfmt.pl: test fmt-9 failed: exit status mismatch: expected 0, got 1
fmt-10...
numfmt.pl: test fmt-10 failed: exit status mismatch: expected 0, got 1
fmt-11...
numfmt.pl: test fmt-11 failed: exit status mismatch: expected 0, got 1
fmt-12...
numfmt.pl: test fmt-12 failed: exit status mismatch: expected 0, got 1
fmt-13...
numfmt.pl: test fmt-13 failed: exit status mismatch: expected 0, got 1
fmt-14...
numfmt.pl: test fmt-14 failed: exit status mismatch: expected 0, got 1
fmt-15...
numfmt.pl: test fmt-15 failed: exit status mismatch: expected 0, got 1
fmt-16...
numfmt.pl: test fmt-16 failed: exit status mismatch: expected 0, got 1
fmt-17...
numfmt.pl: test fmt-17 failed: exit status mismatch: expected 0, got 1
fmt-18...
numfmt.pl: test fmt-18 failed: exit status mismatch: expected 0, got 1
fmt-22...
numfmt.pl: test fmt-22 failed: exit status mismatch: expected 0, got 1
fmt-23...
numfmt.pl: test fmt-23 failed: exit status mismatch: expected 0, got 1
ign-err-1...
numfmt.pl: test ign-err-1 failed: exit status mismatch: expected 2, got 1
ign-err-2...
numfmt.pl: test ign-err-2 failed: exit status mismatch: expected 2, got 1
ign-err-3...
numfmt.pl: test ign-err-3 failed: exit status mismatch: expected 2, got 1
ign-err-4...
numfmt.pl: test ign-err-4 failed: exit status mismatch: expected 2, got 1
ign-err-5...
numfmt.pl: test ign-err-5 failed: exit status mismatch: expected 2, got 1
ign-err-7...
numfmt.pl: test ign-err-7 failed: exit status mismatch: expected 2, got 1
ign-err-8...
numfmt.pl: test ign-err-8 failed: exit status mismatch: expected 2, got 1
ign-err-9...
numfmt.pl: test ign-err-9 failed: exit status mismatch: expected 2, got 1
ign-err-m1...
numfmt.pl: test ign-err-m1 failed: exit status mismatch: expected 0, got 1
ign-err-m1.1...
numfmt.pl: test ign-err-m1.1 failed: exit status mismatch: expected 0, got 1
ign-err-m1.3...
numfmt.pl: test ign-err-m1.3 failed: exit status mismatch: expected 0, got 1
ign-err-m2...
numfmt.pl: test ign-err-m2 failed: exit status mismatch: expected 2, got 1
ign-err-m2.1...
numfmt.pl: test ign-err-m2.1 failed: exit status mismatch: expected 0, got 1
ign-err-m2.2...
numfmt.pl: test ign-err-m2.2 failed: exit status mismatch: expected 2, got 1
ign-err-m3...
numfmt.pl: test ign-err-m3 failed: exit status mismatch: expected 0, got 1
ign-err-m3.1...
numfmt.pl: test ign-err-m3.1 failed: exit status mismatch: expected 2, got 1
auto-suf-si-A...
numfmt.pl: test auto-suf-si-A failed: exit status mismatch: expected 2, got 1
auto-suf-si-B...
numfmt.pl: test auto-suf-si-B failed: exit status mismatch: expected 2, got 1
auto-suf-si-C...
numfmt.pl: test auto-suf-si-C failed: exit status mismatch: expected 2, got 1
auto-suf-si-D...
numfmt.pl: test auto-suf-si-D failed: exit status mismatch: expected 2, got 1
auto-suf-si-E...
auto-suf-iec-E...
auto-suf-auto-E...
auto-suf-iec-to-ieci-E...
auto-suf-ieci-to-iec-E...
auto-suf-si-F...
numfmt.pl: test auto-suf-si-F failed: exit status mismatch: expected 2, got 1
auto-suf-si-G...
auto-suf-iec-G...
auto-suf-auto-G...
auto-suf-iec-to-ieci-G...
auto-suf-ieci-to-iec-G...
auto-suf-si-H...
numfmt.pl: test auto-suf-si-H failed: exit status mismatch: expected 2, got 1
auto-suf-si-I...
numfmt.pl: test auto-suf-si-I failed: exit status mismatch: expected 2, got 1
auto-suf-si-J...
numfmt.pl: test auto-suf-si-J failed: exit status mismatch: expected 2, got 1
auto-suf-si-K...
auto-suf-iec-K...
auto-suf-auto-K...
auto-suf-iec-to-ieci-K...
auto-suf-ieci-to-iec-K...
auto-suf-si-L...
numfmt.pl: test auto-suf-si-L failed: exit status mismatch: expected 2, got 1
auto-suf-si-M...
auto-suf-iec-M...
auto-suf-auto-M...
auto-suf-iec-to-ieci-M...
auto-suf-ieci-to-iec-M...
auto-suf-si-N...
numfmt.pl: test auto-suf-si-N failed: exit status mismatch: expected 2, got 1
auto-suf-si-O...
numfmt.pl: test auto-suf-si-O failed: exit status mismatch: expected 2, got 1
auto-suf-si-P...
auto-suf-iec-P...
auto-suf-auto-P...
auto-suf-iec-to-ieci-P...
auto-suf-ieci-to-iec-P...
auto-suf-si-Q...
numfmt.pl: test auto-suf-si-Q failed: exit status mismatch: expected 2, got 1
auto-suf-si-R...
numfmt.pl: test auto-suf-si-R failed: exit status mismatch: expected 2, got 1
auto-suf-si-S...
numfmt.pl: test auto-suf-si-S failed: exit status mismatch: expected 2, got 1
auto-suf-si-T...
auto-suf-iec-T...
auto-suf-auto-T...
auto-suf-iec-to-ieci-T...
auto-suf-ieci-to-iec-T...
auto-suf-si-U...
numfmt.pl: test auto-suf-si-U failed: exit status mismatch: expected 2, got 1
auto-suf-si-V...
numfmt.pl: test auto-suf-si-V failed: exit status mismatch: expected 2, got 1
auto-suf-si-W...
numfmt.pl: test auto-suf-si-W failed: exit status mismatch: expected 2, got 1
auto-suf-si-X...
numfmt.pl: test auto-suf-si-X failed: exit status mismatch: expected 2, got 1
auto-suf-si-Y...
auto-suf-iec-Y...
auto-suf-auto-Y...
auto-suf-iec-to-ieci-Y...
auto-suf-ieci-to-iec-Y...
auto-suf-si-Z...
auto-suf-iec-Z...
auto-suf-auto-Z...
auto-suf-iec-to-ieci-Z...
auto-suf-ieci-to-iec-Z...
auto-suf-si-a...
numfmt.pl: test auto-suf-si-a failed: exit status mismatch: expected 2, got 1
auto-suf-si-b...
numfmt.pl: test auto-suf-si-b failed: exit status mismatch: expected 2, got 1
auto-suf-si-c...
numfmt.pl: test auto-suf-si-c failed: exit status mismatch: expected 2, got 1
auto-suf-si-d...
numfmt.pl: test auto-suf-si-d failed: exit status mismatch: expected 2, got 1
auto-suf-si-e...
numfmt.pl: test auto-suf-si-e failed: exit status mismatch: expected 2, got 1
auto-suf-si-f...
numfmt.pl: test auto-suf-si-f failed: exit status mismatch: expected 2, got 1
auto-suf-si-g...
numfmt.pl: test auto-suf-si-g failed: exit status mismatch: expected 2, got 1
auto-suf-si-h...
numfmt.pl: test auto-suf-si-h failed: exit status mismatch: expected 2, got 1
auto-suf-si-i...
numfmt.pl: test auto-suf-si-i failed: exit status mismatch: expected 2, got 1
auto-suf-si-j...
numfmt.pl: test auto-suf-si-j failed: exit status mismatch: expected 2, got 1
auto-suf-si-k...
numfmt.pl: test auto-suf-si-k failed: exit status mismatch: expected 2, got 1
auto-suf-si-l...
numfmt.pl: test auto-suf-si-l failed: exit status mismatch: expected 2, got 1
auto-suf-si-m...
numfmt.pl: test auto-suf-si-m failed: exit status mismatch: expected 2, got 1
auto-suf-si-n...
numfmt.pl: test auto-suf-si-n failed: exit status mismatch: expected 2, got 1
auto-suf-si-o...
numfmt.pl: test auto-suf-si-o failed: exit status mismatch: expected 2, got 1
auto-suf-si-p...
numfmt.pl: test auto-suf-si-p failed: exit status mismatch: expected 2, got 1
auto-suf-si-q...
numfmt.pl: test auto-suf-si-q failed: exit status mismatch: expected 2, got 1
auto-suf-si-r...
numfmt.pl: test auto-suf-si-r failed: exit status mismatch: expected 2, got 1
auto-suf-si-s...
numfmt.pl: test auto-suf-si-s failed: exit status mismatch: expected 2, got 1
auto-suf-si-t...
numfmt.pl: test auto-suf-si-t failed: exit status mismatch: expected 2, got 1
auto-suf-si-u...
numfmt.pl: test auto-suf-si-u failed: exit status mismatch: expected 2, got 1
auto-suf-si-v...
numfmt.pl: test auto-suf-si-v failed: exit status mismatch: expected 2, got 1
auto-suf-si-w...
numfmt.pl: test auto-suf-si-w failed: exit status mismatch: expected 2, got 1
auto-suf-si-x...
numfmt.pl: test auto-suf-si-x failed: exit status mismatch: expected 2, got 1
auto-suf-si-y...
numfmt.pl: test auto-suf-si-y failed: exit status mismatch: expected 2, got 1
auto-suf-si-z...
numfmt.pl: test auto-suf-si-z failed: exit status mismatch: expected 2, got 1
z1...
numfmt.pl: test z1 failed: exit status mismatch: expected 0, got 1
z3...
z2...
numfmt.pl: test z2 failed: exit status mismatch: expected 0, got 1
z4...
numfmt.pl: test z4 failed: exit status mismatch: expected 0, got 1
z5...
numfmt.pl: test z5 failed: exit status mismatch: expected 0, got 1
FAIL tests/misc/numfmt.pl (exit status: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment