the taskset command used for the cpu system test seems
to be failing under vmware, causing a test failure. we
can try the taskset command and skip the test if it doesn't
work.
(cherry picked from commit
a8a49bb783764821e062233fa87dc2ff41bce8aa)
Linux*)
;;
*)
- echo_i "cpu test only runs on Linux, skipping test"
+ echo_i "cpu test only runs on Linux"
exit 255
;;
esac
if ! test -x "$TASKSET" ; then
exit 255
fi
+
+if ! $TASKSET fff0 true > /dev/null 2>&1; then
+ echo_i "taskset failed"
+ exit 255
+fi