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 that assume CPU 0 is present
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_ust
diff --git
a/tests/regression/tools/notification/test_notification_ust
b/tests/regression/tools/notification/test_notification_ust
index 57ae52cbd8f6df9c1ec9003804ac2923c6ef4bef..f963bd0ced741b4ab907edad09cc1cc950164ece 100755
(executable)
--- a/
tests/regression/tools/notification/test_notification_ust
+++ b/
tests/regression/tools/notification/test_notification_ust
@@
-53,7
+53,7
@@
function ust_event_generator
if [[ -f $state_file ]]; then
rm -rf $state_file 2> /dev/null
fi
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
}
fi
done
}
This page took
0.026843 seconds
and
4
git commands to generate.