From 1b971e0117cd78f262dbcb307a8c446e558da6ee Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 14 Mar 2023 10:08:11 +0100 Subject: [PATCH] tests: don't use absolute paths when installing binaries in TEST-58-REPART Let image_install figures the binary paths out itself as not all distributions ship the mkfs.* tools in the same location. For example openSUSE ships mksquashfs in /usr/bin/. --- test/TEST-58-REPART/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/TEST-58-REPART/test.sh b/test/TEST-58-REPART/test.sh index 5f04d2017a1..7549de568c2 100755 --- a/test/TEST-58-REPART/test.sh +++ b/test/TEST-58-REPART/test.sh @@ -15,8 +15,8 @@ test_append_files() { instmods dm_verity =md instmods erofs generate_module_dependencies - image_install -o /sbin/mksquashfs - image_install -o /bin/mkfs.erofs + image_install -o mksquashfs + image_install -o mkfs.erofs fi inst_binary mcopy -- 2.47.3