Fix typos in uri_switch test
[lttng-tools.git] / tests / tools / streaming / uri_switch
index d6fc9385b69642d8a09abd2245df635d1d63110f..a6b158230f4cb4cedd5793a413101508e8948812 100755 (executable)
@@ -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
 }
This page took 0.024712 seconds and 4 git commands to generate.