Systemd/test/test-execute/exec-inaccessiblepaths-proc...

8 lines
230 B
Desktop File

[Unit]
Description=Test to make sure that mount namespace setup works properly with the 'InaccessiblePaths=/proc' option
[Service]
InaccessiblePaths=/proc
ExecStart=/bin/sh -x -c 'test "$$(stat -c %%a /proc)" = "0"'
Type=oneshot