summaryrefslogtreecommitdiff
path: root/test/testsuite-04.units
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-05-03 18:24:17 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-05-03 18:32:00 +0200
commitb003e2c7a6a0b7be8d4f949d285e6b810c0768a8 (patch)
treef0072cf886ce5b5d3d2c8179eb6740a6576e8e7f /test/testsuite-04.units
parent8077d99fd2a85ee005d6dbb371ebb04092bd65bd (diff)
downloadsystemd-b003e2c7a6a0b7be8d4f949d285e6b810c0768a8.tar.gz
test: clean up the test script even further
Most notably: - use `systemd-id128 new` instead of `journalctl --new-id128` - move all temporary files to /tmp - wrap repetitive checks in a function
Diffstat (limited to 'test/testsuite-04.units')
-rw-r--r--test/testsuite-04.units/forever-print-hola.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsuite-04.units/forever-print-hola.service b/test/testsuite-04.units/forever-print-hola.service
index c86b131519..9273d6d3fb 100644
--- a/test/testsuite-04.units/forever-print-hola.service
+++ b/test/testsuite-04.units/forever-print-hola.service
@@ -4,4 +4,4 @@ Description=ForeverPrintHola service
[Service]
Type=exec
-ExecStart=sh -x -c 'while :; do printf "Hola\n" || touch /i-lose-my-logs; sleep 1; done'
+ExecStart=sh -x -c 'while :; do printf "Hola\n" || touch /tmp/i-lose-my-logs; sleep 1; done'