summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2023-03-14 10:08:11 +0100
committerFranck Bui <fbui@suse.com>2023-03-14 10:11:27 +0100
commit1b971e0117cd78f262dbcb307a8c446e558da6ee (patch)
tree15eacf1c430f7a0b6481d00e10cbc73fa1b05916 /test
parent8fd25ba3438487cf79bd693c9022c51699562126 (diff)
downloadsystemd-1b971e0117cd78f262dbcb307a8c446e558da6ee.tar.gz
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/.
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-58-REPART/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-58-REPART/test.sh b/test/TEST-58-REPART/test.sh
index 5f04d2017a..7549de568c 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