]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: don't use absolute paths when installing binaries in TEST-58-REPART 26804/head
authorFranck Bui <fbui@suse.com>
Tue, 14 Mar 2023 09:08:11 +0000 (10:08 +0100)
committerFranck Bui <fbui@suse.com>
Tue, 14 Mar 2023 09:11:27 +0000 (10:11 +0100)
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

index 5f04d2017a1c14866859bb1d5593a20630ef80d8..7549de568c2d7a16dfb36c575a652ef76479037c 100755 (executable)
@@ -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