]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-systemcallerrornumber-name.service
Merge pull request #7301 from poettering/loginctl-ellipsize
[thirdparty/systemd.git] / test / test-execute / exec-systemcallerrornumber-name.service
1 [Unit]
2 Description=Test for SystemCallErrorNumber
3
4 [Service]
5 ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
6 Type=oneshot
7 SystemCallFilter=~uname
8 SystemCallErrorNumber=EACCES