From 4f127aa681dd738c6317a71dd683b22fb8355bf2 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 14 Nov 2026 17:23:00 -0600 Subject: [PATCH] More TEST_HOST fixup, with some TODO --- tests/file.test | 4 ++-- tests/mv.test | 4 ++-- tests/netcat.test | 0 tests/readelf.test | 2 +- tests/tr.test | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) mode change 100755 => 100644 tests/netcat.test mode change 100755 => 100644 tests/tr.test diff --git a/tests/file.test b/tests/file.test index e87d5a3a..7a5254ab 100755 --- a/tests/file.test +++ b/tests/file.test @@ -49,8 +49,8 @@ test_line "bzip2 data" "tar/tar.tbz2" \ "bzip2 compressed data, block size = 900k\n" "" "" test_line "7z file" "tar/tar.7z" "7-zip archive data, version 0.4\n" "" "" testing "zip file" \ - "file $FILES/zip/example.zip | egrep -o '(Zip archive data|at least v1.0 to extract)'" \ - "Zip archive data\nat least v1.0 to extract\n" "" "" + "file $FILES/zip/example.zip | egrep -o '(Zip archive data|at least v1.0)'" \ + "Zip archive data\nat least v1.0\n" "" "" echo R0lGODlhIAAgAMZHAAAAABYWFiYmJioqKi4uLjIy | base64 -d > gif testing "gif file" "file gif" "gif: GIF image data, version 89a, 32 x 32\n" "" "" diff --git a/tests/mv.test b/tests/mv.test index 155915d8..189ecd64 100755 --- a/tests/mv.test +++ b/tests/mv.test @@ -150,13 +150,13 @@ toyonly testing "interactive: no stdin" \ rm -f file* touch file1 file2 -toyonly testing "interactive: answered YES" \ +testing "interactive: answered YES" \ "mv -i file2 file1 2>/dev/null && [ -e file1 -a ! -e file2 ] && echo yes" \ "yes\n" "" "y\n" rm -f file* touch file1 file2 -testing "interactive: answered NO" \ +toyonly testing "interactive: answered NO" \ "mv -i file2 file1 2>/dev/null && [ -e file1 -a -e file2 ] && echo yes" \ "yes\n" "" "n\n" rm -f file* diff --git a/tests/netcat.test b/tests/netcat.test old mode 100755 new mode 100644 diff --git a/tests/readelf.test b/tests/readelf.test index ff76923d..634cac8f 100755 --- a/tests/readelf.test +++ b/tests/readelf.test @@ -123,7 +123,7 @@ Program Headers: GNU_RELRO 0x002000 0x00002000 0x00002000 0x00144 0x01000 R 0x1 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0 NOTE 0x000188 0x00000188 0x00000188 0x00038 0x00038 R 0x4 - EXIDX 0x0001c0 0x000001c0 0x000001c0 0x00030 0x00030 R 0x4 + ARM_EXIDX 0x0001c0 0x000001c0 0x000001c0 0x00030 0x00030 R 0x4 Section to Segment mapping: Segment Sections... diff --git a/tests/tr.test b/tests/tr.test old mode 100755 new mode 100644 index 6d598bee..64808e76 --- a/tests/tr.test +++ b/tests/tr.test @@ -8,6 +8,6 @@ testing "" "tr 1 2" "223223223" "" "123123123" testing "-d" "tr -d 1" "232323" "" "123123123" testing "-s" "tr -s 1" "12223331222333" "" "111222333111222333" testing "-t" "tr -t 1234 567" "5674" "" "1234" -testing "-t one arg" "tr -t 1234" "1234" "" "1234" +testing "-t one arg" "tr -t 1234" "1234" "" "1234" # does not pass on host testing "no pathological flushing" "seq 10000000 | tr 1 2 > /dev/null" "" "" "" -- 2.39.5