diff options
Diffstat (limited to 'test/simple-NetgearXSM-1')
-rw-r--r-- | test/simple-NetgearXSM-1 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/test/simple-NetgearXSM-1 b/test/simple-NetgearXSM-1 index 98ea9df..0f31100 100644 --- a/test/simple-NetgearXSM-1 +++ b/test/simple-NetgearXSM-1 @@ -34,7 +34,10 @@ clear_logs # Start all the test machines logging, then wait 60s to let all of # them show baseline results before we start testing start_logging +log "CHECK INIT START" +log "CHECK INIT CHECK VLAN_BASE:imx5301:imx5302" pause 60 +log "CHECK INIT END" # Create a VLAN with tag 30, named "test30" log "Creating new VLAN tag 30" @@ -58,6 +61,11 @@ log "Done moving ports to VLAN ID $VLAN_ID" # Wait 60s for everything to settle and logs to show it again pause 60 +log "CHECK STEP1 START" +log "CHECK STEP1 CHECK VLAN_BASE:imx5301:imx5302" +pause 60 +log "CHECK STEP1 END" + # Move test machines back to their base VLANs log "Moving ports back to base" run_admin_command --restore_port_to_base_vlan ${imx5301_PORT_ID} @@ -67,6 +75,11 @@ log "Done moving ports back to base" # Wait 60s for everything to settle pause 60 +log "CHECK FINI START" +log "CHECK FINI CHECK VLAN_BASE:imx5301:imx5302" +pause 60 +log "CHECK FINI END" + # Check that they're all back on their base VLANs log "Checking base VLANs after the test" verify_all_hosts_are_base @@ -85,8 +98,8 @@ grab_logs >> $LOGFILE # Clear old logs clear_logs -# And now sort the logs so we have clean output -sort -u $LOGFILE +# How did the test do? +check_test_steps echo "Full details are in $LOGFILE, use \"sort -u $LOGFILE\" to read them in order." |