diff options
author | Rob Landley <rob@landley.net> | 2020-05-29 00:34:24 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-05-29 00:34:24 -0500 |
commit | c9e684a5a33233422f1f0457ba75a604f12e45b3 (patch) | |
tree | 177dfb5753028b133cdd4bc481687d7eb802c154 | |
parent | 2e2f76ed5af80ecd056a7237010dbc1af43e5cdf (diff) | |
download | toybox-c9e684a5a33233422f1f0457ba75a604f12e45b3.tar.gz |
Replace more SKIP_HOST with toyonly.
SKIP_HOST won't run a test when TEST_HOST set, but toyonly runs its arguments
whenever testing toybox (including when the host version is toybox).
-rwxr-xr-x | tests/readelf.test | 2 | ||||
-rw-r--r-- | tests/touch.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/readelf.test b/tests/readelf.test index 32917b31..1e85e45e 100755 --- a/tests/readelf.test +++ b/tests/readelf.test @@ -144,7 +144,7 @@ Dynamic section at offset 0xd98 contains 33 entries: " "" "" # toybox does a better job of decoding Android's ELF notes than binutils. -SKIP_HOST=1 testing "-n" "readelf -nW $elf-short" " +toyonly testing "-n" "readelf -nW $elf-short" " Displaying notes found in: .note.android.ident Owner Data size Description Android 0x00000004 NT_VERSION API level 28 diff --git a/tests/touch.test b/tests/touch.test index 8be231b7..6d131d7c 100644 --- a/tests/touch.test +++ b/tests/touch.test @@ -35,7 +35,7 @@ testing "-t seconds" \ testing "-t -" "TZ=utc touch -t 200109090146.40 - > walrus && TZ=utc date -r walrus +%s" \ "1000000000\n" "" "" -SKIP_HOST=1 testing "-t nanoseconds" \ +toyonly testing "-t nanoseconds" \ "touch -t 201201231234.56123456789 walrus && date -r walrus +%Y%m%d-%H%M%S.%N" \ "20120123-123456.123456789\n" "" "" |