1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
systemd-stable/test/test-execute/exec-systemcallerrornumber-number.service

9 lines
221 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Test for SystemCallErrorNumber
[Service]
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
Type=oneshot
SystemCallFilter=~uname
SystemCallErrorNumber=255