summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-systemcallerrornumber-number.service
blob: 203215682fb7bff382a0ece6b578d43bd2eaac61 (plain)
1
2
3
4
5
6
7
8
[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