diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-10 15:40:00 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-15 20:23:51 +0100 |
commit | e2d057456d69906fab64984d93c51a839f2d8702 (patch) | |
tree | 01cb8709ce98098d7c2b9c14afc46d6b3f89f9ec /test/TEST-58-REPART | |
parent | repart: Don't use loop devices when we're not operating on a block device (diff) | |
download | systemd-e2d057456d69906fab64984d93c51a839f2d8702.tar.xz systemd-e2d057456d69906fab64984d93c51a839f2d8702.zip |
repart: Run most repart integration tests without root privileges
To make sure rootless mode keeps working, let's run all repart
integration tests that we can without root privileges. The only ones
we need to keep running with root privileges are the tests that operate
on a block/loop device and those that use --image=.
Diffstat (limited to 'test/TEST-58-REPART')
-rwxr-xr-x | test/TEST-58-REPART/test.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/TEST-58-REPART/test.sh b/test/TEST-58-REPART/test.sh index fb4a05fc77..0d513cf85b 100755 --- a/test/TEST-58-REPART/test.sh +++ b/test/TEST-58-REPART/test.sh @@ -12,14 +12,15 @@ TEST_FORCE_NEWIMAGE=1 test_append_files() { if ! get_bool "${TEST_NO_QEMU:=}"; then install_dmevent - if command -v openssl >/dev/null 2>&1; then - inst_binary openssl - fi - inst_binary mcopy instmods dm_verity =md generate_module_dependencies image_install -o /sbin/mksquashfs fi + + inst_binary mcopy + if command -v openssl >/dev/null 2>&1; then + inst_binary openssl + fi } do_test "$@" |