sort-debug-warn.log ( failed)

test link: tests/sort/sort-debug-warn.sh
FAIL: tests/sort/sort-debug-warn
================================

--- exp	2024-10-20 15:55:20.289581590 +0000
+++ out	2024-10-20 15:55:20.316581687 +0000
@@ -1,59 +1,31 @@
 1
-sort: text ordering performed using simple byte comparison
-sort: key 1 has zero width and will be ignored
 2
-sort: text ordering performed using simple byte comparison
-sort: key 1 has zero width and will be ignored
-sort: note numbers use '.' as a decimal point in this locale
 3
-sort: text ordering performed using simple byte comparison
-sort: key 1 is numeric and spans multiple fields
-sort: note numbers use '.' as a decimal point in this locale
 4
-sort: text ordering performed using simple byte comparison
-sort: note numbers use '.' as a decimal point in this locale
-sort: options '-bghMRrV' are ignored
+error: the argument '--random-sort' cannot be used with:
+  --version-sort
+  --month-sort
+  --human-numeric-sort
+  --general-numeric-sort
+
+Usage: sort [OPTION]... [FILE]...
 5
-sort: text ordering performed using simple byte comparison
-sort: note numbers use '.' as a decimal point in this locale
-sort: options '-bghMRV' are ignored
-sort: option '-r' only applies to last-resort comparison
+error: the argument '--random-sort' cannot be used with:
+  --version-sort
+  --month-sort
+  --human-numeric-sort
+  --general-numeric-sort
+
+Usage: sort [OPTION]... [FILE]...
 6
-sort: text ordering performed using simple byte comparison
-sort: note numbers use '.' as a decimal point in this locale
-sort: option '-r' only applies to last-resort comparison
 7
-sort: text ordering performed using simple byte comparison
-sort: leading blanks are significant in key 2; consider also specifying 'b'
-sort: note numbers use '.' as a decimal point in this locale
-sort: options '-bg' are ignored
 8
-sort: text ordering performed using simple byte comparison
-sort: note numbers use '.' as a decimal point in this locale
 9
-sort: text ordering performed using simple byte comparison
-sort: note numbers use '.' as a decimal point in this locale
-sort: option '-b' is ignored
 10
-sort: text ordering performed using simple byte comparison
-sort: note numbers use '.' as a decimal point in this locale
 11
-sort: text ordering performed using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying 'b'
 12
-sort: text ordering performed using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying 'b'
 13
-sort: text ordering performed using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying 'b'
-sort: option '-d' is ignored
 14
-sort: text ordering performed using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying 'b'
-sort: option '-i' is ignored
 15
-sort: text ordering performed using simple byte comparison
 16
-sort: text ordering performed using simple byte comparison
 17
-sort: text ordering performed using simple byte comparison
--- exp	2024-10-20 15:55:20.320581702 +0000
+++ out	2024-10-20 15:55:20.321581705 +0000
@@ -1,2 +0,0 @@
-sort: failed to set locale
-sort: text ordering performed using simple byte comparison
--- exp	2024-10-20 15:55:20.326581723 +0000
+++ out	2024-10-20 15:55:20.327581727 +0000
@@ -1,7 +1,5 @@
-sort: text ordering performed using simple byte comparison
-sort: key 1 is numeric and spans multiple fields
-sort: obsolescent key '+2 -1' used; consider '-k 3,1' instead
-sort: key 2 has zero width and will be ignored
-sort: note numbers use '.' as a decimal point in this locale
-sort: option '-b' is ignored
-sort: option '-r' only applies to last-resort comparison
+error: unexpected argument '-1' found
+
+  tip: to pass '-1' as a value, use '-- -1'
+
+Usage: sort [OPTION]... [FILE]...
--- exp	2024-10-20 15:55:20.335581755 +0000
+++ out	2024-10-20 15:55:20.335581755 +0000
@@ -1,3 +0,0 @@
-sort: text ordering performed using simple byte comparison
-sort: key 1 is numeric and spans multiple fields
-sort: field separator '.' is treated as a decimal point in numbers
--- exp	2024-10-20 15:55:20.340581774 +0000
+++ out	2024-10-20 15:55:20.340581774 +0000
@@ -1,4 +0,0 @@
-sort: text ordering performed using simple byte comparison
-sort: key 1 is numeric and spans multiple fields
-sort: field separator '-' is treated as a minus sign in numbers
-sort: note numbers use '.' as a decimal point in this locale
--- exp	2024-10-20 15:55:20.345581792 +0000
+++ out	2024-10-20 15:55:20.345581792 +0000
@@ -1,4 +0,0 @@
-sort: text ordering performed using simple byte comparison
-sort: key 1 is numeric and spans multiple fields
-sort: field separator '+' is treated as a plus sign in numbers
-sort: note numbers use '.' as a decimal point in this locale
FAIL tests/sort/sort-debug-warn.sh (exit status: 1)