X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2Ftools%2Fwildcard%2Ftest_event_wildcard;h=f69baffc430ac2e5d3d1e6df50136a5cbaa40958;hb=2c8657f67ef532282ebccba79f9efa7a47ed538f;hp=a15ff2af80243ddc47412cfde22a0899d3c390fc;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/regression/tools/wildcard/test_event_wildcard b/tests/regression/tools/wildcard/test_event_wildcard index a15ff2af8..f69baffc4 100755 --- a/tests/regression/tools/wildcard/test_event_wildcard +++ b/tests/regression/tools/wildcard/test_event_wildcard @@ -14,6 +14,7 @@ TESTAPP_NAME="gen-ust-events" TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME" SESSION_NAME="wildcard" NR_ITER=100 +NR_USEC_WAIT=1 NUM_GLOBAL_TESTS=2 NUM_UST_TESTS=$(( 7 * 25 )) NUM_KERNEL_TESTS=$(( 7 * 25 )) @@ -34,7 +35,7 @@ function run_kernel function test_event_wildcard() { - TRACE_PATH=$(mktemp -d) + TRACE_PATH=$(mktemp --tmpdir -d "tmp.${FUNCNAME[0]}_trace_path.XXXXXX") DOMAIN="$1" FIND="$2" WILDCARD="$3" @@ -68,7 +69,7 @@ function test_event_wildcard() function test_event_wildcard_fail() { - TRACE_PATH=$(mktemp -d) + TRACE_PATH=$(mktemp --tmpdir -d "tmp.${FUNCNAME[0]}_trace_path.XXXXXX") DOMAIN="$1" WILDCARD="$2" @@ -166,7 +167,7 @@ skip $isroot "Root access is needed. Skipping all kernel wildcard tests." $NUM_K test_event_wildcard kernel 1 'lttng*test*filter*event' test_event_wildcard kernel 1 '*lttng*test*filter*event*' - rmmod lttng-test + modprobe --remove lttng-test } stop_lttng_sessiond