# You should have received a copy of the GNU Lesser General Public License
# along with this library; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+TEST_DESC="Streaming - URI switching"
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/../..
source $TESTDIR/utils.sh
-echo -e "\n"
-echo -e "---------------------------"
-echo -e " Streaming - URI switching "
-echo -e "---------------------------"
+print_test_banner "$TEST_DESC"
if [ ! -x "$CURDIR/$BIN_NAME" ]; then
echo -e "No UST nevents binary detected. Skipping."
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
- else
- break
fi
}
validate_trace $EVENT_NAME $TMP_PATH/$FILE_PATH
if [ $? -eq 0 ]; then
- # Only delete if successful
- rm -rf $TMP_PATH
+ # Only delete if successful
+ rm -rf $TMP_PATH
else
- break
+ break
fi
done
}