]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: remove extension from /var/lib/extensions at the end of the test
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 8 Sep 2025 12:38:30 +0000 (13:38 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 9 Sep 2025 06:52:37 +0000 (08:52 +0200)
commit9cc9e14ed4671eb8c0424b465504202371e17419
tree9ce53b06a2c18c2f108b2f5d96c0d88572bec1db
parentcb90434c2ae7fca3432c398cb15444a97d492abf
test: remove extension from /var/lib/extensions at the end of the test

Otherwise it remains there, and another test case accidentally
uses it on refresh, which then makes another later test fail,
as the hierarchy is already merged:

[  203.969708] TEST-50-DISSECT.sh[890]: + systemd-sysext status
[  203.981831] TEST-50-DISSECT.sh[2795]: HIERARCHY EXTENSIONS SINCE
[  203.982196] TEST-50-DISSECT.sh[2795]: /opt      app0       Mon 2025-09-08 11:49:11 UTC
[  203.982551] TEST-50-DISSECT.sh[2795]: /usr      app0       Mon 2025-09-08 11:49:11 UTC

[  204.119772] TEST-50-DISSECT.sh[2799]: Hierarchy '/usr' is already merged.

Fixes https://github.com/systemd/systemd/issues/38282
test/units/TEST-50-DISSECT.sysext.sh