From ef1e1b46ff2c9ad7f7aa8791b211772fbf94ad33 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 5 Nov 2026 20:11:54 -0600 Subject: [PATCH] Make another toyonly test pass on TEST_HOST via percussive use of sed. --- tests/readelf.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/readelf.test b/tests/readelf.test index 6e3622da..ff76923d 100755 --- a/tests/readelf.test +++ b/tests/readelf.test @@ -176,7 +176,7 @@ Dynamic section at offset 0xd98 contains 29 entries: " "" "" # toybox does a better job of decoding Android's ELF notes than binutils. -toyonly testing "-n" "readelf -nW $elf-short" " +NOSPACE=1 testing "-n" "readelf -nW $elf-short | sed 's/(.*).*://;s/1c 00 00 00/API level 28/'" " Displaying notes found in: .note.android.ident Owner Data size Description Android 0x00000004 NT_VERSION API level 28 -- 2.39.5