summaryrefslogtreecommitdiffstats
path: root/test/TEST-62-RESTRICT-IFACES
diff options
context:
space:
mode:
authorMauricio Vásquez <mauricio@kinvolk.io>2021-02-26 01:59:36 +0100
committerMauricio Vásquez <mauricio@kinvolk.io>2021-08-19 14:25:01 +0200
commit00d6fceeb3724bbe8fa0e0138bb23954c1d44642 (patch)
treefe9c68d3f674d003e3d081a6ff03f9e9931a2cd7 /test/TEST-62-RESTRICT-IFACES
parentsrc/test: add restrict network interfaces to test-cgroup-mask (diff)
downloadsystemd-00d6fceeb3724bbe8fa0e0138bb23954c1d44642.tar.xz
systemd-00d6fceeb3724bbe8fa0e0138bb23954c1d44642.zip
tests: add integration test for RestrictNetworkInterfaces=
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
Diffstat (limited to 'test/TEST-62-RESTRICT-IFACES')
l---------test/TEST-62-RESTRICT-IFACES/Makefile1
-rwxr-xr-xtest/TEST-62-RESTRICT-IFACES/test.sh9
2 files changed, 10 insertions, 0 deletions
diff --git a/test/TEST-62-RESTRICT-IFACES/Makefile b/test/TEST-62-RESTRICT-IFACES/Makefile
new file mode 120000
index 0000000000..e9f93b1104
--- /dev/null
+++ b/test/TEST-62-RESTRICT-IFACES/Makefile
@@ -0,0 +1 @@
+../TEST-01-BASIC/Makefile \ No newline at end of file
diff --git a/test/TEST-62-RESTRICT-IFACES/test.sh b/test/TEST-62-RESTRICT-IFACES/test.sh
new file mode 100755
index 0000000000..b2829d2a1f
--- /dev/null
+++ b/test/TEST-62-RESTRICT-IFACES/test.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+TEST_NO_NSPAWN=1
+
+set -e
+TEST_DESCRIPTION="test RestrictNetworkInterfaces="
+. $TEST_BASE_DIR/test-functions
+
+do_test "$@" 62