]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: don't strip directives from test units 41808/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 25 Apr 2026 21:39:47 +0000 (23:39 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 25 Apr 2026 21:39:47 +0000 (23:39 +0200)
commitef3c07352b5dfe04afefdf66f4693986562ddc2b
tree7bb8413a3b1897268333d4c7d95dd261142fd4f8
parent035ba3ea571bad6772cf3731f6b5379ccb08267f
test: don't strip directives from test units

The original find was matching even our test units, which caused issues
when the check was extended with Memory*= directives, as we stripped
them off from test units for TEST-55-OOMD where we certainly need them.
Since the stripping was meant primarily for "production-grade" units,
let's limit it to units under /etc/systemd/system/ and
/usr/lib/systemd/system/.
mkosi/mkosi.sanitizers/mkosi.postinst