1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

test: run systemd-dissect and systemd-run with log level debug in TEST-50-DISSECT

This commit is contained in:
Luca Boccassi 2020-07-20 16:43:18 +01:00 committed by Yu Watanabe
parent 3a978b30cd
commit 08de6f945d

View File

@ -4,6 +4,8 @@
set -ex set -ex
set -o pipefail set -o pipefail
export SYSTEMD_LOG_LEVEL=debug
cleanup() cleanup()
{ {
if [ -z "${image_dir}" ]; then if [ -z "${image_dir}" ]; then
@ -70,6 +72,9 @@ elif [ "${machine}" = "arm" ]; then
elif [ "${machine}" = "ia64" ]; then elif [ "${machine}" = "ia64" ]; then
root_guid=993d8d3d-f80e-4225-855a-9daf8ed7ea97 root_guid=993d8d3d-f80e-4225-855a-9daf8ed7ea97
verity_guid=86ed10d5-b607-45bb-8957-d350f23d0571 verity_guid=86ed10d5-b607-45bb-8957-d350f23d0571
else
echo "Unexpected uname -m: ${machine} in testsuite-50.sh, please fix me"
exit 1
fi fi
# du rounds up to block size, which is more helpful for partitioning # du rounds up to block size, which is more helpful for partitioning
root_size="$(du -k ${image}.raw | cut -f1)" root_size="$(du -k ${image}.raw | cut -f1)"