Fix: Tests that assume CPU 0 is present
[lttng-tools.git] / tests / regression / tools / notification / test_notification_multi_app
index 9468d0a0db19c8aeb66486cc2a3352a850eb3c8a..1e94f44416d32815cea771ee03a30d978c481b98 100755 (executable)
@@ -86,7 +86,7 @@ function ust_event_generator
                        if [[ -f $state_file ]]; then
                                rm $state_file 2> /dev/null
                        fi
-                       taskset  -c 0 $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT > /dev/null 2>&1
+                       taskset -c "$(get_any_available_cpu)" $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT > /dev/null 2>&1
                fi
        done
 }
This page took 0.026633 seconds and 4 git commands to generate.