projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: test_kernel: break should only be used in loops
[lttng-tools.git]
/
tests
/
regression
/
tools
/
snapshots
/
test_kernel
diff --git
a/tests/regression/tools/snapshots/test_kernel
b/tests/regression/tools/snapshots/test_kernel
index 02cf98d945516b416c552d6abd3c6efdb611ce8a..f1015ee25c938be9d557c2cf27e46fee7ac2276f 100755
(executable)
--- a/
tests/regression/tools/snapshots/test_kernel
+++ b/
tests/regression/tools/snapshots/test_kernel
@@
-56,8
+56,6
@@
function test_kernel_local_snapshot_after_stop ()
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
}
@@
-79,8
+77,6
@@
function test_kernel_local_snapshot_append_to_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
diag "Adding event $EVENT2"
fi
diag "Adding event $EVENT2"
@@
-92,8
+88,6
@@
function test_kernel_local_snapshot_append_to_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
stop_lttng_tracing_ok $SESSION_NAME
fi
stop_lttng_tracing_ok $SESSION_NAME
This page took
0.02312 seconds
and
4
git commands to generate.