From: Franck Bui Date: Tue, 14 Mar 2023 09:08:11 +0000 (+0100) Subject: tests: don't use absolute paths when installing binaries in TEST-58-REPART X-Git-Tag: v254-rc1~1018^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b971e0117cd78f262dbcb307a8c446e558da6ee;p=thirdparty%2Fsystemd.git 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/. --- 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