comm.log (6 failed)

test link: tests/misc/comm.pl
FAIL: tests/misc/comm
=====================

comm 0.0.28


basic...


zbasic...


opt-1...


zopt-1...


opt-2...


zopt-2...


opt-3...


zopt-3...


opt-12...


zopt-12...


opt-13...


zopt-13...


opt-23...


zopt-23...


opt-123...


total-all...


total-123...


missing-arg1...
comm.pl: test missing-arg1: stderr mismatch, comparing missing-arg1.1 (expected) and missing-arg1.E (actual)
--- missing-arg1.1	2024-12-20 17:53:19.504928592 +0000
+++ missing-arg1.E	2024-12-20 17:53:19.506928575 +0000
@@ -1,2 +1,6 @@
-comm: missing operand after 'a'
-Try 'comm --help' for more information.
+error: the following required arguments were not provided:
+  
+


+Usage: comm [OPTION]... FILE1 FILE2
+
+For more information, try '--help'.


missing-arg2...
comm.pl: test missing-arg2: stderr mismatch, comparing missing-arg2.1 (expected) and missing-arg2.E (actual)
--- missing-arg2.1	2024-12-20 17:53:19.509928549 +0000
+++ missing-arg2.E	2024-12-20 17:53:19.511928533 +0000
@@ -1,2 +1,7 @@
-comm: missing operand
-Try 'comm --help' for more information.
+error: the following required arguments were not provided:
+  
+  
+


+Usage: comm [OPTION]... FILE1 FILE2
+
+For more information, try '--help'.


extra-arg...
comm.pl: test extra-arg: stderr mismatch, comparing extra-arg.1 (expected) and extra-arg.E (actual)
--- extra-arg.1	2024-12-20 17:53:19.514928507 +0000
+++ extra-arg.E	2024-12-20 17:53:19.516928490 +0000
@@ -1,2 +1,5 @@
-comm: extra operand 'no-such'
-Try 'comm --help' for more information.
+error: unexpected argument 'no-such' found
+


+Usage: comm [OPTION]... FILE1 FILE2
+
+For more information, try '--help'.


ooo...
comm.pl: test ooo failed: exit status mismatch:  expected 1, got 0


ooo2...
comm.pl: test ooo2: stdout mismatch, comparing ooo2.1 (expected) and ooo2.O (actual)
--- ooo2.1	2024-12-20 17:53:19.522928440 +0000
+++ ooo2.O	2024-12-20 17:53:19.523928431 +0000
@@ -1,2 +0,0 @@
-1
-		3
comm.pl: test ooo2: stderr mismatch, comparing ooo2.2 (expected) and ooo2.E (actual)
--- ooo2.2	2024-12-20 17:53:19.522928440 +0000
+++ ooo2.E	2024-12-20 17:53:19.524928423 +0000
@@ -1 +1,7 @@
-comm: file 2 is not in sorted order
+error: unexpected argument '--check-order' found
+
+  tip: to pass '--check-order' as a value, use '-- --check-order'
+


+Usage: comm [OPTION]... FILE1 FILE2
+
+For more information, try '--help'.


ooo3...
comm.pl: test ooo3 failed: exit status mismatch:  expected 0, got 1


ooo4...
comm.pl: test ooo4 failed: exit status mismatch:  expected 1, got 0


ooo5...
comm.pl: test ooo5 failed: exit status mismatch:  expected 1, got 0


ooo5b...
comm.pl: test ooo5b failed: exit status mismatch:  expected 1, got 0


ooo5c...
comm.pl: test ooo5c failed: exit status mismatch:  expected 1, got 0


ooo6...


ooo7...
comm.pl: test ooo7: stdout mismatch, comparing ooo7.1 (expected) and ooo7.O (actual)
--- ooo7.1	2024-12-20 17:53:19.546928237 +0000
+++ ooo7.O	2024-12-20 17:53:19.547928229 +0000
@@ -1 +0,0 @@
-		2
comm.pl: test ooo7: stderr mismatch, comparing ooo7.2 (expected) and ooo7.E (actual)
--- ooo7.2	2024-12-20 17:53:19.546928237 +0000
+++ ooo7.E	2024-12-20 17:53:19.548928220 +0000
@@ -1 +1,7 @@
-comm: file 1 is not in sorted order
+error: unexpected argument '--check-order' found
+
+  tip: to pass '--check-order' as a value, use '-- --check-order'
+


+Usage: comm [OPTION]... FILE1 FILE2
+
+For more information, try '--help'.


ooo-prefix...
comm.pl: test ooo-prefix: stdout mismatch, comparing ooo-prefix.1 (expected) and ooo-prefix.O (actual)
--- ooo-prefix.1	2024-12-20 17:53:19.554928170 +0000
+++ ooo-prefix.O	2024-12-20 17:53:19.555928161 +0000
@@ -1 +0,0 @@
-Xa
comm.pl: test ooo-prefix: stderr mismatch, comparing ooo-prefix.2 (expected) and ooo-prefix.E (actual)
--- ooo-prefix.2	2024-12-20 17:53:19.554928170 +0000
+++ ooo-prefix.E	2024-12-20 17:53:19.556928153 +0000
@@ -1 +1,7 @@
-comm: file 1 is not in sorted order
+error: unexpected argument '--check-order' found
+
+  tip: to pass '--check-order' as a value, use '-- --check-order'
+


+Usage: comm [OPTION]... FILE1 FILE2
+
+For more information, try '--help'.


delim-comma...


delim-2char...


delim-empty...


zdelim-empty...


total-delim-empty...


delim-dual...
comm.pl: test delim-dual: stderr mismatch, comparing delim-dual.1 (expected) and delim-dual.E (actual)
--- delim-dual.1	2024-12-20 17:53:19.574928001 +0000
+++ delim-dual.E	2024-12-20 17:53:19.576927984 +0000
@@ -1 +1 @@
-comm: multiple output delimiters specified
+comm: multiple conflicting output delimiters specified


delim-dual2...


totalz-all...


totalz-123...
FAIL tests/misc/comm.pl (exit status: 1)