]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add one missing cleanup
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 30 Oct 2023 10:44:46 +0000 (11:44 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 30 Oct 2023 13:37:08 +0000 (22:37 +0900)
So the test doesn't fail when run multiple times with the same image.

test/units/testsuite-50.sh

index 1a379ee061c94104c323efea97107f829a389adc..d12323607d926e5cfbcbd823040402c029e45e3a 100755 (executable)
@@ -641,6 +641,7 @@ systemctl status foo.service 2>&1 | grep -q -F "Warning"
 systemd-sysext merge
 systemd-sysext unmerge
 systemctl status foo.service 2>&1 | grep -v -q -F "Warning"
+rm /var/lib/extensions/app-reload.raw
 
 # Test systemd-repart --make-ddi=:
 if command -v mksquashfs >/dev/null 2>&1; then