mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
test: don't touch the /failed marker in the subtest scripts
As it is already handled by the "main" script (testsuite-74.sh).
This commit is contained in:
parent
0b189ac84c
commit
370fa624f5
@ -7,8 +7,6 @@ set -o pipefail
|
||||
# shellcheck source=test/units/assert.sh
|
||||
. "$(dirname "$0")"/assert.sh
|
||||
|
||||
: >/failed
|
||||
|
||||
at_exit() {
|
||||
if [[ -v NSPAWN_NAME && -e "/var/lib/machines/$NSPAWN_NAME" ]]; then
|
||||
rm -fvr "/var/lib/machines/$NSPAWN_NAME" "/etc/systemd/nspawn/$NSPAWN_NAME" "new"
|
||||
@ -38,6 +36,3 @@ script -ec 'machinectl cat "$PWD/new"' /dev/null
|
||||
|
||||
EDITOR='mv new' script -ec 'machinectl edit "$NSPAWN_NAME"' /dev/null
|
||||
printf '%s\n' '[Exec]' 'Boot=false' | cmp - "/etc/systemd/nspawn/$NSPAWN_NAME"
|
||||
|
||||
touch /testok
|
||||
rm /failed
|
||||
|
Loading…
x
Reference in New Issue
Block a user