projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b189ac
)
test: don't touch the /failed marker in the subtest scripts
author
Frantisek Sumsal
<frantisek@sumsal.cz>
Sat, 25 Mar 2023 11:15:33 +0000
(12:15 +0100)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Sat, 25 Mar 2023 11:15:33 +0000
(12:15 +0100)
As it is already handled by the "main" script (testsuite-74.sh).
test/units/testsuite-74.machinectl.sh
patch
|
blob
|
history
diff --git
a/test/units/testsuite-74.machinectl.sh
b/test/units/testsuite-74.machinectl.sh
index 4adb1cd6373154df50b5baa6b1bd0f1429eddc13..119c9bdc0278c3524beb69f143e506074a179c0c 100755
(executable)
--- a/
test/units/testsuite-74.machinectl.sh
+++ b/
test/units/testsuite-74.machinectl.sh
@@
-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