Commit Graph

19 Commits

Author SHA1 Message Date
Elliott Hughes
9fc5a4ec56 Stop ignoring lsattr test failures.
These tests are fixed now.

Test: treehugger
Change-Id: I14620c14a118b5ae5c3f020c81b09d63c767b368
2020-02-20 13:50:06 -08:00
Elliott Hughes
e402961785 Fix the comparison.
I hate bash.

Test: ran the tests on a local acloud instance
Change-Id: I785a7e8fe69d7eb833c0f525912feb8c6cfb6ab4
2020-01-30 18:18:25 -08:00
Elliott Hughes
38d7f3f384 Ignore lsattr failures for now too.
The lsattr tests currently pass on blueline but fail on cuttlefish.

Too... many... file systems...

Bug: http://b/147769529
Test: treehugger
Change-Id: I1de08609df55887d5d25bddeae2772fb5b39a649
2020-01-29 13:36:40 -08:00
Elliott Hughes
6e2accaa6b Ignore chattr tests while I work on fixing them.
Bug: http://b/147769529
Test: treehugger
Change-Id: I900a7bae7e4930aca3b8626fdcfbd9a54396098d
2020-01-28 17:27:17 -08:00
Elliott Hughes
59e3d62909 Force tty allocation when running toybox tests.
Bug: http://b/142798587
Test: treehugger
Change-Id: I61cdb2c237e61246f271558197a4ac11e8639c4e
2020-01-24 07:57:35 -08:00
Elliott Hughes
e823ee71a5 Revert "Ignore date test failures until we get them fixed upstream."
This reverts commit 0751987715.

Reason for revert: date tests fixed by 5854c801a7.

Bug: http://b/147071480
Change-Id: I7d0170c97c59857ae6605d742052821119b7e810
2020-01-07 15:48:49 +00:00
Elliott Hughes
0751987715 Ignore date test failures until we get them fixed upstream.
Bug: http://b/147071480
Change-Id: If47c75e17ecc96c2dfa6413341ee681a7d9fb2ed
2020-01-06 13:56:44 -08:00
Elliott Hughes
0e5eeb1f9d Stop ignoring xargs test failures.
The bug has been fixed.

Test: treehugger
Change-Id: If3818d7a026636b1366c4d45822a2610995cbc68
2019-12-11 12:15:27 -08:00
Elliott Hughes
c252865f69 Revert "Revert "Merge remote-tracking branch 'toybox/master' into HEAD""
This reverts commit 169239e04d.
2019-12-03 12:00:36 -08:00
Elliott Hughes
1be6eddd55 Revert the xargs test hack.
The accompanying bionic change makes sysconf(_SC_ARG_MAX) report the
exact value the kernel is using again.

Test: treehugger
Change-Id: Ie5a370757477e98838b5f1c7aa133734f798fe7c
2019-11-15 09:07:13 -08:00
Elliott Hughes
56af1fb2d0 Merge remote-tracking branch 'toybox/master' into HEAD
Change-Id: Ic323f5f63d1cc0a4fc341897da3a39b62bf1c198
2019-11-14 13:18:22 -08:00
Elliott Hughes
d6ab6e21db Merge remote-tracking branch 'toybox/master' into HEAD
Change-Id: I4397ea98faed959d1c14cbd4731b3ae9ab03d7d0
2019-10-17 17:59:41 -07:00
Elliott Hughes
71a0a17cc0 run-tests-on-android.sh: ignore non-toybox failures for now.
This is just blkid and unzip for now. Will probably work on blkid in my
spare time. Might make sense to move the unzip tests back into unzip...

Test: manual
Change-Id: I16ab6a190670c6dcf829fb1f81390ae11b4dbdb8
2019-07-31 15:53:01 -07:00
Elliott Hughes
6f8fa1ee20 run-tests-on-android.sh: fix tty test.
Test: manual
Change-Id: I4a2b11590be65022678f30e6acbdd5655bb33348
2019-07-08 14:30:07 -07:00
Elliott Hughes
21e9415eac run-tests-on-android.sh: more build server improvements.
Suppress these messages when using `adb shell -t` from a build server:

  Remote PTY will not be allocated because stdin is not a terminal.
  Use multiple -t options to force remote PTY allocation.

Also avoid this incorrect assumption:

  error: device offline
  -- mktemp not present

This should count as a failure instead, not "this is a test for
something that isn't on the device".

Test: still see escapes run interactively.
Bug: http://b/135744229
Change-Id: I1e6ad7fc6d5cbf4b208ad9e8ecbb51048caa3fbb
2019-07-02 15:57:47 -07:00
Elliott Hughes
5e3d99da75 run-tests-on-android.sh: no VT100 escapes on build servers.
We don't want to see escape sequences in the logs in sponge.

Test: still see escapes run interactively.
Bug: http://b/135744229
Change-Id: Ie27355c56eb8c4a09cf3c05c482336f30ea7adb4
2019-07-02 10:22:32 -07:00
Elliott Hughes
0da31fe9ae Avoid running the builtin "kill" in the kill tests.
Test: manual
Change-Id: I2e5df99f5c583c749e9392ba8ba92a0188d5984c
2019-06-27 08:35:15 -07:00
Elliott Hughes
616210e78c Improve run-tests-on-android.sh for sh_test usage.
Show a summary at the end, and return a meaningful exit status.

This doesn't actually work yet because it needs an upstream fix to use
$(()) rather than $[] for shell arithmetic --- mksh only supports the
former (and bash calls the latter deprecate and threatens to remove it).

Also run each test in its own subdirectory. The cp and mkdir tests, for
example, currently tread on each others' toes, even when run
sequentially, because cp leaves around a `walrus` that mkdir doesn't
expect to exist.

Bug: http://b/135744229
Test: run this script
Change-Id: I5f28340c9ea1f9cebb35175801197715f10700a4
2019-06-22 11:26:20 -07:00
Elliott Hughes
d3633b18c3 Check in my Android test-running script.
Also update the documentation in Android.mk.

Bug: N/A
Test: ran tests
Change-Id: Id986221f274101fff4d42b2a538bf39cd4956e06
2017-08-09 12:49:34 -07:00