projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ust snapshot: cleanup after error
[lttng-tools.git]
/
tests
/
regression
/
tools
/
snapshots
/
ust_test
diff --git
a/tests/regression/tools/snapshots/ust_test
b/tests/regression/tools/snapshots/ust_test
index e727aa6349f5075fcf04531374af08b9092c9571..128849ef8ce7c87618aea7d361803c79ab38307a 100755
(executable)
--- a/
tests/regression/tools/snapshots/ust_test
+++ b/
tests/regression/tools/snapshots/ust_test
@@
-168,8
+168,6
@@
function test_ust_local_snapshot ()
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
- else
- break
fi
kill_test_app
fi
kill_test_app
@@
-247,8
+245,6
@@
function test_ust_local_snapshot_large_metadata ()
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
- else
- break
fi
}
fi
}
@@
-282,8
+278,6
@@
function test_ust_per_uid_local_snapshot ()
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
- else
- break
fi
kill_test_app
fi
kill_test_app
@@
-311,8
+305,6
@@
function test_ust_per_uid_local_snapshot_post_mortem ()
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
- else
- break
fi
}
fi
}
@@
-337,8
+329,6
@@
function test_ust_local_snapshots ()
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
if [ $? -eq 0 ]; then
# Only delete if successful
rm -rf $TRACE_PATH
- else
- break
fi
done
stop_lttng_tracing $SESSION_NAME
fi
done
stop_lttng_tracing $SESSION_NAME
This page took
0.025535 seconds
and
4
git commands to generate.