From 97e60383c0648e961c317188003130639c1de8d6 Mon Sep 17 00:00:00 2001 From: Djalal Harouni Date: Tue, 15 Nov 2016 15:50:19 +0100 Subject: test: add tests for RestrictNamespaces= --- test/test-execute/exec-restrict-namespaces-mnt.service | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/test-execute/exec-restrict-namespaces-mnt.service (limited to 'test/test-execute/exec-restrict-namespaces-mnt.service') diff --git a/test/test-execute/exec-restrict-namespaces-mnt.service b/test/test-execute/exec-restrict-namespaces-mnt.service new file mode 100644 index 0000000000..1aeed72717 --- /dev/null +++ b/test/test-execute/exec-restrict-namespaces-mnt.service @@ -0,0 +1,7 @@ +[Unit] +Description=Test RestrictNamespaces=mnt + +[Service] +RestrictNamespaces=mnt +ExecStart=/bin/sh -x -c 'unshare -m' +Type=oneshot -- cgit v1.2.3-54-g00ecf