summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-08-23 05:13:44 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-08-24 15:55:32 +0200
commit927e20fa4976c7b68c95814f3706cd4e89ac28c8 (patch)
tree6763cf1b3546534f9e2b5f0153abbf0a8d47a0dc /test
parentman/repart: use <filename> and add missing <para> (diff)
downloadsystemd-927e20fa4976c7b68c95814f3706cd4e89ac28c8.tar.xz
systemd-927e20fa4976c7b68c95814f3706cd4e89ac28c8.zip
nspawn: check validity of the internal interface name only explicitly specified
Follow-up for 2f091b1b49543aade4aad9ec3b35b3665abac3e7. Fixes #28844.
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-13.nspawn.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/units/testsuite-13.nspawn.sh b/test/units/testsuite-13.nspawn.sh
index 9bcdec9298..8d7a2e92ab 100755
--- a/test/units/testsuite-13.nspawn.sh
+++ b/test/units/testsuite-13.nspawn.sh
@@ -341,7 +341,7 @@ testcase_nspawn_settings() {
rm -f "/etc/systemd/nspawn/$container.nspawn"
mkdir -p "$root/tmp" "$root"/opt/{tmp,inaccessible,also-inaccessible}
- for dev in sd-host-only sd-shared{1,2} sd-macvlan{1,2} sd-ipvlan{1,2}; do
+ for dev in sd-host-only sd-shared{1,2} sd-macvlan{1,2} sd-macvlanloong sd-ipvlan{1,2} sd-ipvlanlooong; do
ip link add "$dev" type dummy
done
udevadm settle
@@ -395,8 +395,8 @@ VirtualEthernet=yes
VirtualEthernetExtra=my-fancy-veth1
VirtualEthernetExtra=fancy-veth2:my-fancy-veth2
Interface=sd-shared1 sd-shared2:sd-shared2
-MACVLAN=sd-macvlan1 sd-macvlan2:my-macvlan2
-IPVLAN=sd-ipvlan1 sd-ipvlan2:my-ipvlan2
+MACVLAN=sd-macvlan1 sd-macvlan2:my-macvlan2 sd-macvlanloong
+IPVLAN=sd-ipvlan1 sd-ipvlan2:my-ipvlan2 sd-ipvlanlooong
Zone=sd-zone0
Port=80
Port=81:8181