From: David Goulet Date: Wed, 15 Aug 2012 14:41:46 +0000 (-0400) Subject: Fix typos in uri_switch test X-Git-Tag: v2.1.0-rc1~19 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d007b9c39bcdd189bf27d24658d97df64b4b20c5;p=lttng-tools.git Fix typos in uri_switch test Signed-off-by: David Goulet --- diff --git a/tests/tools/streaming/uri_switch b/tests/tools/streaming/uri_switch index d6fc9385b..a6b158230 100755 --- a/tests/tools/streaming/uri_switch +++ b/tests/tools/streaming/uri_switch @@ -106,8 +106,6 @@ function test_uri_switch_localhost_folder if [ $? -eq 0 ]; then # Only delete if successful rm -rf $TRACE_PATH - else - break fi } @@ -191,10 +189,10 @@ IPVER=$1 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 }