projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Gen-ust-events: use options instead of arguments
[lttng-tools.git]
/
tests
/
regression
/
tools
/
crash
/
test_crash
diff --git
a/tests/regression/tools/crash/test_crash
b/tests/regression/tools/crash/test_crash
index 13909c1bfc04b7fe1d4c55168559240877a72e1a..7b24764c25368ecfedd175a54f74e8237271293d 100755
(executable)
--- a/
tests/regression/tools/crash/test_crash
+++ b/
tests/regression/tools/crash/test_crash
@@
-48,7
+48,7
@@
function start_test_app()
local tmp_file=$(mktemp -u)
# Start application with a temporary file.
local tmp_file=$(mktemp -u)
# Start application with a temporary file.
- $TESTAPP_BIN
$NR_ITER $NR_USEC_WAIT
$tmp_file &
+ $TESTAPP_BIN
-i $NR_ITER -w $NR_USEC_WAIT --sync-after-first-event
$tmp_file &
ret=$?
APPS_PID="${APPS_PID} ${!}"
ok $ret "Start application to trace"
ret=$?
APPS_PID="${APPS_PID} ${!}"
ok $ret "Start application to trace"
@@
-232,7
+232,7
@@
function test_lttng_crash()
start_lttng_tracing_ok $session_name
# Generate 10 events
start_lttng_tracing_ok $session_name
# Generate 10 events
- $TESTAPP_BIN
10
0
+ $TESTAPP_BIN
-i 10 -w
0
stop_lttng_tracing_ok
crash_recup_count=$($LTTNG_CRASH $shm_path | wc -l)
stop_lttng_tracing_ok
crash_recup_count=$($LTTNG_CRASH $shm_path | wc -l)
@@
-270,7
+270,7
@@
function test_lttng_crash_extraction()
start_lttng_tracing_ok $session_name
# Generate 10 events
start_lttng_tracing_ok $session_name
# Generate 10 events
- $TESTAPP_BIN
10
0
+ $TESTAPP_BIN
-i 10 -w
0
stop_lttng_tracing_ok
$LTTNG_CRASH -x $extraction_path $shm_path
stop_lttng_tracing_ok
$LTTNG_CRASH -x $extraction_path $shm_path
@@
-366,7
+366,7
@@
function test_lttng_crash_extraction_sigkill()
start_lttng_tracing_ok $session_name
# Generate 10 events
start_lttng_tracing_ok $session_name
# Generate 10 events
- $TESTAPP_BIN
10
0
+ $TESTAPP_BIN
-i 10 -w
0
sigstop_lttng_sessiond
sigstop_lttng_consumerd
sigstop_lttng_sessiond
sigstop_lttng_consumerd
This page took
0.025135 seconds
and
5
git commands to generate.