Skip to content

Commit

Permalink
Fix unit test (first attempt)
Browse files Browse the repository at this point in the history
  • Loading branch information
grembo committed Dec 19, 2023
1 parent 99a963d commit e98d9ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/network1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ bridge2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Expand Down

0 comments on commit e98d9ef

Please sign in to comment.