[Toybox] github ci broken for macOS

enh enh at google.com
Wed Jun 7 13:17:03 PDT 2023


probably because macOS defaults to a case-insensitive (but case-preserving)
filesystem?

https://github.com/landley/toybox/actions/runs/5145613066/jobs/9263481336

FAIL: ls --group-directories-first
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls"
--group-directories-first
--- expected 2023-06-01 14:30:11.000000000 +0000
+++ actual 2023-06-01 14:30:11.000000000 +0000
@@ -1,6 +1,5 @@
 dir
 zzz
-Abc
 abc
 abc.jkl
 bcd.ghi
FAIL: ls -cr
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls" -cr
--- expected 2023-06-01 14:30:11.000000000 +0000
+++ actual 2023-06-01 14:30:11.000000000 +0000
@@ -1,9 +1,8 @@
-abc
 x
 abc.jkl
 zzz
 xxx
-Abc
+abc
 cde.def
 dir
 bcd.ghi
FAIL: ls -tr
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls" -tr
--- expected 2023-06-01 14:30:11.000000000 +0000
+++ actual 2023-06-01 14:30:11.000000000 +0000
@@ -1,9 +1,8 @@
 bcd.ghi
 dir
 cde.def
-Abc
+abc
 xxx
 zzz
 abc.jkl
 x
-abc
FAIL: ls -S --group-directories-first
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls" -S
--group-directories-first
--- expected 2023-06-01 14:30:11.000000000 +0000
+++ actual 2023-06-01 14:30:11.000000000 +0000
@@ -2,7 +2,6 @@
 zzz
 abc
 xxx
-Abc
 abc.jkl
 bcd.ghi
 cde.def
FAIL: ls -X
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls" -X
--- expected 2023-06-01 14:30:11.000000000 +0000
+++ actual 2023-06-01 14:30:11.000000000 +0000
@@ -1,4 +1,3 @@
-Abc
 abc
 dir
 x
PASS: ls -U matches -f
FAIL: ls -ou
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls" -ou
--full-time . | sed -n "s/.*:\([0-9]*\).*/\1/p"
--- expected 2023-06-01 14:30:11.000000000 +0000
+++ actual 2023-06-01 14:30:11.000000000 +0000
@@ -1,5 +1,4 @@
 34
-39
 37
 31
 33
FAIL: ls -otu
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls" -otu
--full-time . | sed -n "s/.*:\([0-9]*\).*/\1/p"
--- expected 2023-06-01 14:30:12.000000000 +0000
+++ actual 2023-06-01 14:30:12.000000000 +0000
@@ -1,4 +1,3 @@
-39
 38
 37
 36
FAIL: ls --sort=reverse
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls"
--sort=reverse
--- expected 2023-06-01 14:30:12.000000000 +0000
+++ actual 2023-06-01 14:30:12.000000000 +0000
@@ -6,4 +6,3 @@
 bcd.ghi
 abc.jkl
 abc
-Abc
FAIL: ls --sort=nocase,time
echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/ls"
--sort=nocase,time
--- expected 2023-06-01 14:30:12.000000000 +0000
+++ actual 2023-06-01 14:30:12.000000000 +0000
@@ -1,5 +1,4 @@
 abc
-Abc
 abc.jkl
 bcd.ghi
 cde.def
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230607/ed650227/attachment.htm>


More information about the Toybox mailing list