bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_bridge-utils/10-delete_bridge.sh

root 06ef83
#!/bin/bash
root 06ef83
# Author : Madhurranjan Mohaan <madhurranjan.mohaan@gmail.com>
Pablo Greco 6c1f07
Pablo Greco 6c1f07
. "$(dirname "$0")"/p_bridge-utils-functions
root 06ef83
#add bridge
root 06ef83
bridge=testbridge2
Pablo Greco 6c1f07
bru_add_bridge $bridge >/dev/null
Pablo Greco 6c1f07
root 06ef83
t_Log "Running $0 - Deleting the dummy bridge: $bridge"
root 06ef83
Pablo Greco 6c1f07
t_Log "Deleting bridge $bridge"
Pablo Greco 6c1f07
ret_val=$(bru_del_bridge $bridge)
Pablo Greco 6c1f07
root 06ef83
t_CheckExitStatus $ret_val