mirror of https://gitee.com/openkylin/qemu.git
20 lines
615 B
Plaintext
Executable File
20 lines
615 B
Plaintext
Executable File
printf "Running port test... "
|
|
./port
|
|
if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
|
|
|
printf "Running bridge test... "
|
|
./bridge
|
|
if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
|
|
|
printf "Running bridge STP test... "
|
|
./bridge-stp
|
|
if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
|
|
|
printf "Running bridge VLAN test... "
|
|
./bridge-vlan
|
|
if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
|
|
|
printf "Running bridge VLAN STP test... "
|
|
./bridge-vlan-stp
|
|
if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|