# out-of-order input
['ooo', {IN=>{a=>"1\n3"}}, {IN=>{b=>"3\n2"}}, {EXIT=>1},
{OUT => "1\n\t\t3\n\t2\n"},
- {ERR => "$prog: file 2 is not in sorted order\n"}],
+ {ERR => "$prog: file 2 is not in sorted order\n"
+ . "$prog: input is not in sorted order\n"}],
# out-of-order input, fatal
['ooo2', '--check-order', {IN=>{a=>"1\n3"}}, {IN=>{b=>"3\n2"}}, {EXIT=>1},
['ooo4', {IN=>{a=>"3\n1\n0"}}, {IN=>{b=>"3\n2\n0"}}, {EXIT=>1},
{OUT => "\t\t3\n1\n0\n\t2\n\t0\n"},
{ERR => "$prog: file 1 is not in sorted order\n".
- "$prog: file 2 is not in sorted order\n" }],
+ "$prog: file 2 is not in sorted order\n"
+ . "$prog: input is not in sorted order\n"}],
# both inputs out-of-order on last pair
['ooo5', {IN=>{a=>"3\n1"}}, {IN=>{b=>"3\n2"}}, {EXIT=>1},
{OUT => "\t\t3\n1\n\t2\n"},
{ERR => "$prog: file 1 is not in sorted order\n".
- "$prog: file 2 is not in sorted order\n" }],
+ "$prog: file 2 is not in sorted order\n"
+ . "$prog: input is not in sorted order\n"}],
# first input out-of-order extended
['ooo5b', {IN=>{a=>"0\n3\n1"}}, {IN=>{b=>"2\n3"}}, {EXIT=>1},
{OUT => "0\n\t2\n\t\t3\n1\n"},
- {ERR => "$prog: file 1 is not in sorted order\n"}],
+ {ERR => "$prog: file 1 is not in sorted order\n"
+ . "$prog: input is not in sorted order\n"}],
# second input out-of-order extended
['ooo5c', {IN=>{a=>"0\n3"}}, {IN=>{b=>"2\n3\n1"}}, {EXIT=>1},
{OUT => "0\n\t2\n\t\t3\n\t1\n"},
- {ERR => "$prog: file 2 is not in sorted order\n"}],
+ {ERR => "$prog: file 2 is not in sorted order\n"
+ . "$prog: input is not in sorted order\n"}],
# both inputs out-of-order, but fully pairable
['ooo6', {IN=>{a=>"2\n1\n0"}}, {IN=>{b=>"2\n1\n0"}}, {EXIT=>0},
['chkodr-5d', '',
["a\nx\n\n", "b\ny\n\n"], "", 1,
"$prog: chkodr-5d.1:3: is not sorted: \n" .
- "$prog: chkodr-5d.2:3: is not sorted: \n"],
+ "$prog: chkodr-5d.2:3: is not sorted: \n" .
+ "$prog: input is not in sorted order\n"
+ ],
# Similar, but make it so each offending line has no newline.
['chkodr-5e', '',
["a\nx\no", "b\ny\np"], "", 1,
"$prog: chkodr-5e.1:3: is not sorted: o\n" .
- "$prog: chkodr-5e.2:3: is not sorted: p\n"],
+ "$prog: chkodr-5e.2:3: is not sorted: p\n" .
+ "$prog: input is not in sorted order\n"
+ ],
# Without order check, both inputs out of order and some lines
# unpairable. This is NOT supported by the GNU extension. All that