]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-systemcallerrornumber-number.service
tmpfiles: make truncate_file() safe
[thirdparty/systemd.git] / test / test-execute / exec-systemcallerrornumber-number.service
CommitLineData
7a18854f
YW
1[Unit]
2Description=Test for SystemCallErrorNumber
3
4[Service]
7f749487 5ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
7a18854f
YW
6Type=oneshot
7SystemCallFilter=~uname
8SystemCallErrorNumber=255