diff --git a/test/testscript b/test/testscript index b0eddb5..832856d 100644 --- a/test/testscript +++ b/test/testscript @@ -17,7 +17,6 @@ umount /mnt cat >>/usr/bin/combustion-validate <<'EOF' #!/bin/bash set -euxo pipefail -exec &>/dev/ttyS0 trap '[ $? -eq 0 ] || poweroff -f' EXIT # Print a list of files which have SELinux label mismatches if restorecon -nvR -e /.snapshots -e /run / | grep -v wtmpdb | grep "Would relabel"; then @@ -33,6 +32,8 @@ chmod a+x /usr/bin/combustion-validate cat >>/etc/systemd/system/combustion-validate.service <<'EOF' [Service] +Type=oneshot +StandardOutput=journal+console ExecStart=/usr/bin/combustion-validate [Install] RequiredBy=default.target