From e98d9ef3edf6708306e2e578bbf2e4fdbc637f7f Mon Sep 17 00:00:00 2001 From: Michael Gmelin Date: Tue, 19 Dec 2023 18:34:01 +0100 Subject: [PATCH] Fix unit test (first attempt) --- tests/network1.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/network1.sh b/tests/network1.sh index 1f6c7220..a8d7a09f 100755 --- a/tests/network1.sh +++ b/tests/network1.sh @@ -59,6 +59,13 @@ bridge2: flags=8843 metric 0 mtu 1500 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 +EOF-- + return 0 # true + elif [ "$1" = "-g" ] && [ "$2" = "bridge" ] + cat << EOF-- +bridge0 +bridge1 +bridge2 EOF-- return 0 # true elif [ "$1" = "bridge0" ]; then