test-execute: change path to python3 (#7306)
Change python3 path from /bin/python3 to /usr/bin/python3 to make the test work on Ubuntu Xenial. Follow-up for #7178.
This commit is contained in:
parent
cb6d2872ba
commit
7f749487c5
|
@ -2,7 +2,7 @@
|
||||||
Description=Test for SystemCallErrorNumber
|
Description=Test for SystemCallErrorNumber
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SystemCallFilter=~uname
|
SystemCallFilter=~uname
|
||||||
SystemCallErrorNumber=EACCES
|
SystemCallErrorNumber=EACCES
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Test for SystemCallErrorNumber
|
Description=Test for SystemCallErrorNumber
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SystemCallFilter=~uname
|
SystemCallFilter=~uname
|
||||||
SystemCallErrorNumber=255
|
SystemCallErrorNumber=255
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Test for SystemCallFilter with errno name
|
Description=Test for SystemCallFilter with errno name
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SystemCallFilter=~uname:EILSEQ
|
SystemCallFilter=~uname:EILSEQ
|
||||||
SystemCallErrorNumber=EACCES
|
SystemCallErrorNumber=EACCES
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Test for SystemCallFilter with errno number
|
Description=Test for SystemCallFilter with errno number
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SystemCallFilter=~uname:255
|
SystemCallFilter=~uname:255
|
||||||
SystemCallErrorNumber=EACCES
|
SystemCallErrorNumber=EACCES
|
||||||
|
|
Loading…
Reference in New Issue