From c9e684a5a33233422f1f0457ba75a604f12e45b3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 29 May 2020 00:34:24 -0500 Subject: 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). --- tests/readelf.test | 2 +- tests/touch.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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" "" "" -- cgit v1.2.3