aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-05Merge remote-tracking branch 'goog/rvc-dev-plus-aosp' into mm am: 147afca1b8 ↵r_aml_301500702android-mainline-12.0.0_r55android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r4android-mainline-11.0.0_r33android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r10android-mainline-11.0.0_r1android11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseAutomerger Merge Worker
am: 5cd86c8912 am: 2d39270127 Change-Id: I3b12022cd867b3e0a057db72abeee5f6f84db03d
2020-03-05Merge remote-tracking branch 'goog/rvc-dev-plus-aosp' into mm am: 147afca1b8 ↵android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-d2-releaseAutomerger Merge Worker
am: 5cd86c8912 Change-Id: I8312d38c67ca2e57ade01e1ca38bc3dbb86da9bf
2020-03-05Merge remote-tracking branch 'goog/rvc-dev-plus-aosp' into mm am: 147afca1b8android-11.0.0_r16android11-d1-b-releaseAutomerger Merge Worker
Change-Id: I9d3993bcb27ff949f39b62b4c9366a5d2f1ec325
2020-03-05Merge remote-tracking branch 'goog/rvc-dev-plus-aosp' into mmandroid-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android11-mainline-tethering-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devElliott Hughes
Bug: http://b/150808858 Change-Id: Iee3a0cdddfc11720738b141bacf18a181adb41f2
2020-03-03Stop ignoring chattr test failures. am: ad17340170 am: f7dea2434eAutomerger Merge Worker
Change-Id: Id0b24bc57a01419de91e22f867491d67285f9bd3
2020-03-03Stop ignoring chattr test failures. am: ad17340170Automerger Merge Worker
Change-Id: I08b5e4974042a608c9806284cd2783f3f536731d
2020-02-28Stop ignoring chattr test failures.Elliott Hughes
The tests should be fixed now. Test: treehugger Change-Id: I118c4cabd0e350bd4374191cfe1edb03c51eb7c8
2020-02-29Merge remote-tracking branch 'toybox/master' into HEAD am: 2cb5869e2e am: ↵Automerger Merge Worker
66bc8fa438 Change-Id: Ie30668aa9555293074e6e5c327777a39fe6ab715
2020-02-29Merge remote-tracking branch 'toybox/master' into HEAD am: 2cb5869e2eAutomerger Merge Worker
Change-Id: I0153ad960e1aeb6f48bc358dae2f150db8cb3e8d
2020-02-28Merge remote-tracking branch 'toybox/master' into HEADElliott Hughes
Change-Id: Ic550ad8585e96f96338c592713f2b39fc18a9fab
2020-02-28Enable zcat in the host toybox. am: b168545663 am: 5b7be74cb1Automerger Merge Worker
Change-Id: Id865f86b9163006ea42297c067acf9a20f1734c2
2020-02-28[automerger skipped] Enable zcat in the host toybox. am: b168545663 -s oursAutomerger Merge Worker
am skip reason: Change-Id I13b8c5e4c5ac9dfbc7467b6744da2ca76141f5d3 with SHA-1 250a80c9dc is in history Change-Id: I17f9c7a6191d13dd913b5d9afca0476023e55fe1
2020-02-28Enable zcat in the host toybox. am: b168545663Automerger Merge Worker
Change-Id: If6080aebc5ab2620c5d26da8737a487155893231
2020-02-28Enable zcat in the host toybox. am: 250a80c9dc am: 9f203e8e49Automerger Merge Worker
Change-Id: I472e20438fdae414113de156fc77730568e9bacf
2020-02-28Enable zcat in the host toybox. am: 250a80c9dcAutomerger Merge Worker
Change-Id: I7bc357f0cc2f3b0e6fd83d2c3bee1ab11868cdfd
2020-02-28Enable zcat in the host toybox.Elliott Hughes
toybox tar will try to run zcat (which we don't currently have) rather than `gzip -dc` (which we do). Easiest thing to do is just have zcat too. Bug: http://b/150370062 Test: toybox zcat Change-Id: I13b8c5e4c5ac9dfbc7467b6744da2ca76141f5d3 Merged-In: I13b8c5e4c5ac9dfbc7467b6744da2ca76141f5d3 (cherry picked from commit 250a80c9dcdf5a310659c5820acc07564ba8f86d)
2020-02-28Some compilers get upset if ? : produces different types.Rob Landley
2020-02-27Enable zcat in the host toybox.Elliott Hughes
toybox tar will try to run zcat (which we don't currently have) rather than `gzip -dc` (which we do). Easiest thing to do is just have zcat too. Bug: http://b/150370062 Test: toybox zcat Change-Id: I13b8c5e4c5ac9dfbc7467b6744da2ca76141f5d3
2020-02-27chattr: allow `chattr =`.Elliott Hughes
Also fix another bug where we were testing `set` twice. Fixes https://github.com/landley/toybox/issues/172.
2020-02-26More sh tests.Rob Landley
2020-02-26Fix bugs reported by anatasluo: min/range/max were out of order,Rob Landley
min/max weren't being calculated, only print summary when we recieved at least one reply packet. And switch to FLAG() macros.
2020-02-26Fix xclearenv() breakage pointed out by Derrick Pallas.Rob Landley
Toybox doesn't modify inherited environ[] (the same way we don't modify our inherited argv[]), so instead of freeing our allocated environ[] when we want to clear it we need to allocate a new environ[] in the else path (at a length compatible with the existing plumbing's add stride), set the first entry of _that_ to 0, and set toys.envc = 1 to record it's an alloced environ.
2020-02-25Shell ! testsRob Landley
2020-02-25Fix off by one error that treats bit 31 as negative (so ls --color setsRob Landley
all the bits). While we're at it, make LL be ULL so bit 63 doesn't have the same problem.
2020-02-25ps: widen pid_t fields.Elliott Hughes
My desktop and laptop have a pid_max of 262144 now.
2020-02-24Fix fuzz to output lines that didn't match patch context.Rob Landley
(It was outputting the patch hunk where it went, which reverted the context.)
2020-02-22Make ASAN=1 affect the HOSTCC-built tools too.Elliott Hughes
Bug: https://github.com/landley/toybox/issues/169
2020-02-22mkflags: fix a sscanf buffer off-by-one.Elliott Hughes
Sadly, the compilers don't even catch this common mistake if you use sscanf_s(3). Luckily, ASan does.
2020-02-20Fix bitrot in macos_miniconfig.Elliott Hughes
2020-02-21Stop ignoring lsattr test failures. am: 9fc5a4ec56 am: 3320614018 am: 0e8b8c94acAutomerger Merge Worker
Change-Id: Ib562d3a0b9d08a599ff6d89fc1730b28e1c0f7b0
2020-02-20Stop ignoring lsattr test failures. am: 9fc5a4ec56 am: 3320614018Automerger Merge Worker
Change-Id: I52e257544a8f15621634f2fa5c988690dfe9ff6d
2020-02-20Stop ignoring lsattr test failures. am: 9fc5a4ec56Automerger Merge Worker
Change-Id: I272e389b46003b42f7cfa0ea2c2d68f121a07608
2020-02-20Stop ignoring lsattr test failures.Elliott Hughes
These tests are fixed now. Test: treehugger Change-Id: I14620c14a118b5ae5c3f020c81b09d63c767b368
2020-02-19Enable test(1) for device and host. am: bd94be156c am: 43614ebb6f am: 4ad14f33b6Automerger Merge Worker
Change-Id: I5b44a97d3e55ece25acfbefb55ecdd6816f68129
2020-02-19Enable test(1) for device and host. am: bd94be156c am: 43614ebb6fAutomerger Merge Worker
Change-Id: I199cbdce469a0be7471bf40b7faf23e1e63c6721
2020-02-19Enable test(1) for device and host. am: bd94be156cAutomerger Merge Worker
Change-Id: I6c075dfc26135bd3b4442a04faa843fc9d89c8cf
2020-02-18Enable test(1) for device and host.Elliott Hughes
Test: treehugger Change-Id: I83bea17f43580e5d063339b51bbd708de980e37f
2020-02-17More sh tests.Rob Landley
2020-02-17Rename config symbol now that we've worked around the worst of the breakage.Rob Landley
2020-02-17Work around kernel build bug where "make distclean" doesn't work in cp -sfRRob Landley
directory. Downside: this modifies (distcleans) the source directory for an out of tree build, but the alternative is (sometimes subtle) build breaks.
2020-02-17Tighten up build script a little.Rob Landley
2020-02-17For "cross.sh all" announce each target in title bar.Rob Landley
2020-02-17Fix musl-cross-make nommu build (at least for sh2eb).Rob Landley
2020-02-14Tests for upcoming sh plumbing.Rob Landley
2020-02-11Fix wget version concat segfault.Denys Nykula
2020-02-12Merge remote-tracking branch 'toybox/master' into HEAD am: d8dd46c6a4 am: ↵Automerger Merge Worker
724d425513 am: acf30bdca2 Change-Id: I8af39d15f747e0537d79955df24c975777b2b4cc
2020-02-12Merge remote-tracking branch 'toybox/master' into HEAD am: d8dd46c6a4 am: ↵Automerger Merge Worker
724d425513 Change-Id: I2bb9656c3f6f3bcb80df803b30ce7e6fdad0af4f
2020-02-12Merge remote-tracking branch 'toybox/master' into HEAD am: d8dd46c6a4Automerger Merge Worker
Change-Id: Ia68d7c36c1f0cf7d88f0645be414f2ecbab5dca7
2020-02-11Merge remote-tracking branch 'toybox/master' into HEADElliott Hughes
Change-Id: I5050e66a43c9403cc6dcb304a0a5c7164b15661c
2020-02-11chattr: fix exit status, redo the tests.Elliott Hughes
The e2fsprogs chattr(1) returns failure when it fails to do what was asked of it, and so should we. Fixing this then reveals a lot of issues with the tests that were being accidentally swept under the carpet. The bulk of this patch is going through all the tests, removing the duplicates and making the remaining tests more thorough. I've tested this on ext4 and f2fs on a variety of 4.x and 5.x kernel versions (but nothing older). We might need to reduce the list of attribtues we try to toggle, but the more thorough tests use well-supported attributes. I've also fixed the -R test to actually involve a directory hierarchy.