Gen-ust-events: use options instead of arguments
[lttng-tools.git] / tests / regression / ust / nprocesses / test_nprocesses
index 02fd0d0324f00dfd3b86fd30f5c0c4d357878e6b..8b64e621a7365bca7fe6def99cec704a697b3fe5 100755 (executable)
@@ -52,7 +52,9 @@ file_sync_before_last=$(mktemp -u)
 diag "Starting $NUM_PROCESS test applications"
 for i in `seq 1 $NUM_PROCESS`
 do
-       $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT ${file_sync_after_first} ${file_sync_before_last} >/dev/null 2>&1 &
+       $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT \
+               --sync-after-first-event ${file_sync_after_first} \
+               --sync-before-last-event ${file_sync_before_last} >/dev/null 2>&1 &
        APPS_PID="${APPS_PID} ${!}"
 done
 
@@ -78,8 +80,8 @@ touch ${file_sync_before_last}
 # We don't validate whether the applications have traced here, rather
 # just that they registered to sessiond (above).
 
-stop_lttng_tracing $SESSION_NAME
-destroy_lttng_session $SESSION_NAME
+stop_lttng_tracing_ok $SESSION_NAME
+destroy_lttng_session_ok $SESSION_NAME
 
 #TODO: add trace validation.
 
This page took 0.024714 seconds and 5 git commands to generate.