Testing without an option does not really increase test coverage, if
we anyways test both with "ro" and "rw".
It is not actually tested if volatile mode is actually enabled.
Let's remove these tests steps until there is an actual assertion
for these modes.
}
test_run() {
- client_run "no option specified" || return 1
client_run "readonly root" "ro" || return 1
client_run "writeable root" "rw" || return 1
- # volatile mode
- client_run "volatile=overlayfs root" "systemd.volatile=overlayfs" || return 1
- client_run "volatile=state root" "systemd.volatile=state" || return 1
-
# shellcheck source=$TESTDIR/luks.uuid
. "$TESTDIR"/luks.uuid
}
test_run() {
- client_run "no option specified" || return 1
client_run "readonly root" "ro" || return 1
client_run "writeable root" "rw" || return 1
-
- # volatile mode
- client_run "volatile=overlayfs root" "systemd.volatile=overlayfs" || return 1
- client_run "volatile=state root" "systemd.volatile=state" || return 1
}
test_setup() {