summaryrefslogtreecommitdiffstats
path: root/test/TEST-13-NSPAWN/test.sh
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-14 10:08:35 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-11-14 10:08:50 +0100
commita65f008784a74257c8bd7f010dc398f2e891a3ee (patch)
tree16fc2a9d244bac574de76b6fd537958d7b482387 /test/TEST-13-NSPAWN/test.sh
parentnspawn: ignore failure in creating /dev/net/tun when --private-network is uns... (diff)
downloadsystemd-a65f008784a74257c8bd7f010dc398f2e891a3ee.tar.xz
systemd-a65f008784a74257c8bd7f010dc398f2e891a3ee.zip
TEST-13-NSPAWN: add test case for /dev/net/tun
For issue #35116.
Diffstat (limited to 'test/TEST-13-NSPAWN/test.sh')
-rwxr-xr-xtest/TEST-13-NSPAWN/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TEST-13-NSPAWN/test.sh b/test/TEST-13-NSPAWN/test.sh
index b1d9fb6c53..5d21f340c3 100755
--- a/test/TEST-13-NSPAWN/test.sh
+++ b/test/TEST-13-NSPAWN/test.sh
@@ -19,6 +19,8 @@ test_append_files() {
instmods mac80211_hwsim
# for IPMasquerade=
instmods "=net/netfilter"
+ # For /dev/net/tun
+ instmods tun
generate_module_dependencies
# For unprivileged mountfsd.
if command -v openssl >/dev/null 2>&1; then