summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/run.sh5
-rwxr-xr-xtests/ts/schedutils/chrt7
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index aad3acb0d..d72fdfcc1 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -160,6 +160,11 @@ echo " For development purpose only. "
echo " Don't execute on production system! "
echo
+# TODO: add more information about system
+printf "%13s: %-30s " "kernel" "$(uname -r)"
+echo
+echo
+
if [ $paraller_jobs -gt 1 ]; then
echo " Executing the tests in parallel ($paraller_jobs jobs) "
echo
diff --git a/tests/ts/schedutils/chrt b/tests/ts/schedutils/chrt
index 203d06a9b..8b2cbfc28 100755
--- a/tests/ts/schedutils/chrt
+++ b/tests/ts/schedutils/chrt
@@ -97,4 +97,11 @@ if [ $? == 0 ]; then
ts_finalize_subtest
fi
+# failed -- let's report kernel limits
+#
+if [ $TS_NSUBFAILED -ne 0 ]; then
+ echo "Supported policies:"
+ $TS_CMD_CHRT --max
+fi
+
ts_finalize