Fix: Tests that assume CPU 0 is present
[lttng-tools.git] / tests / regression / tools / notification / test_notification_ust
index 57ae52cbd8f6df9c1ec9003804ac2923c6ef4bef..f963bd0ced741b4ab907edad09cc1cc950164ece 100755 (executable)
@@ -53,7 +53,7 @@ function ust_event_generator
                        if [[ -f $state_file ]]; then
                                rm -rf $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.023886 seconds and 4 git commands to generate.