mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
TEST-21-DFUZZER: skip test when no sanitizer is enabled
This commit is contained in:
@@ -490,6 +490,14 @@ def main() -> None:
|
||||
"""
|
||||
)
|
||||
|
||||
if os.getenv('TEST_RUN_DFUZZER'):
|
||||
dropin += textwrap.dedent(
|
||||
f"""
|
||||
[Service]
|
||||
Environment=TEST_RUN_DFUZZER={os.environ['TEST_RUN_DFUZZER']}
|
||||
"""
|
||||
)
|
||||
|
||||
if os.getenv('TEST_JOURNAL_USE_TMP', '0') == '1':
|
||||
if statfs(Path('/tmp')) != 'tmpfs' and statfs(Path('/dev/shm')) == 'tmpfs':
|
||||
tmp = Path('/dev/shm')
|
||||
|
||||
Reference in New Issue
Block a user