Skip to contentSkip to conversation

Tests: Fix wrong number of tests in thread stall as root test

PATCH David Goulet 1 participant 1 message Jun 19, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged

Christian Babeux:

Quoted 27 lines
---
 tests/regression/tools/health/test_thread_stall | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/regression/tools/health/test_thread_stall +2 -2
index 9295131..0e8b510 100755
@@ -24,7 +24,7 @@ SESSION_NAME="health_thread_stall"
 EVENT_NAME="bogus"
 HEALTH_CHECK_BIN="health_check"
 SESSIOND_PRELOAD=".libs/libhealthstall.so"
-NUM_TESTS=11
+NUM_TESTS=12
 
 source $TESTDIR/utils/utils.sh
 
@@ -131,7 +131,7 @@ else
 	isroot=0
 fi
 
-skip $isroot "Root access is needed. Skipping LTTNG_THREAD_MANAGE_KERNEL tests." "3" ||
+skip $isroot "Root access is needed. Skipping LTTNG_THREAD_MANAGE_KERNEL tests." "4" ||
 {
 	test_thread_stall "LTTNG_THREAD_MANAGE_KERNEL" "8"
 }