[Toybox] toybox tar test failure

enh enh at google.com
Mon Jul 15 10:11:31 PDT 2024


tried to sync this morning, but i'm getting a new tar test failure:

FAIL: tar honor umask
echo -ne '' | umask 0022 && rm -rf dir && mkdir dir && tar xf
$FILES/tar/dir.tar && stat -c%A dir dir/file
--- expected 2024-07-15 16:20:47.217287424 +0000
+++ actual 2024-07-15 16:20:47.257287423 +0000
@@ -1,2 +1,2 @@
-drwxr-xr-x
--rwxr-xr-x
+drwxrwxrwx
+-rwxrwxrwx



also (since possibly WAI, and not a blocker because we ignore toybox
failures in tests if we're not using the toybox implementation), one
of the awk tests fails against Android's "one true awk":

PASS: awk -f test11.awk
/system/bin/awk: non-terminated string ... at source line 1 source file test.awk
 context is
BEGIN { RS=""; FS=" >>>
 <<<
FAIL: awk -f test12.awk
echo -ne "abc def ghi 5\nghi jkl mno 10\nmno pqr stu 15\nstu vwx abc
20\n" > input
echo -ne '' | "/system/bin/awk" -f test.awk input
--- expected 2024-07-15 16:18:00.345293604 +0000
+++ actual 2024-07-15 16:18:00.345293604 +0000
@@ -1 +0,0 @@
-ghi jkl mno 10 mno pqr stu 15


More information about the Toybox mailing list