mirror of
https://github.com/systemd/systemd.git
synced 2024-12-12 19:53:55 +08:00
Merge pull request #32885 from yuwata/test-do-not-fill-journal
test: do not fill journal with garbage
This commit is contained in:
commit
d42b71213a
@ -35,7 +35,7 @@ done
|
||||
# Create one "long running" container with some basic signal handling
|
||||
create_dummy_container /var/lib/machines/long-running
|
||||
cat >/var/lib/machines/long-running/sbin/init <<\EOF
|
||||
#!/usr/bin/bash -x
|
||||
#!/usr/bin/bash
|
||||
|
||||
PID=0
|
||||
|
||||
|
@ -118,7 +118,7 @@ timeout 30 bash -c 'until test "$(systemctl show test63-pr-30768.service -P Acti
|
||||
diff /tmp/copyme /tmp/copied
|
||||
echo test2 > /tmp/copyme
|
||||
exec {lock}<&-
|
||||
timeout 30 bash -c 'until diff /tmp/copyme /tmp/copied; do sleep .2; done'
|
||||
timeout 30 bash -c 'until diff /tmp/copyme /tmp/copied >/dev/null; do sleep .2; done'
|
||||
|
||||
systemctl log-level info
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user