X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftrigger%2Frate-policy%2Ftest_ust_rate_policy;h=91a571c13226dc59f6346d71eca79007e38df4ce;hb=4f7da553ae57a6c947da2b9668c06418b2d50e99;hp=8a392a0f99f2fed5c160db83a69640fee28a791d;hpb=50ad08620ff49e3c27e6eb3fea5151e744ae13ec;p=lttng-tools.git diff --git a/tests/regression/tools/trigger/rate-policy/test_ust_rate_policy b/tests/regression/tools/trigger/rate-policy/test_ust_rate_policy index 8a392a0f9..91a571c13 100755 --- a/tests/regression/tools/trigger/rate-policy/test_ust_rate_policy +++ b/tests/regression/tools/trigger/rate-policy/test_ust_rate_policy @@ -28,7 +28,7 @@ function test_rate_policy_every_n() local END_TRIGGER_NAME="end-trigger1" local SYNC_AFTER_NOTIF_REGISTER_PATH - SYNC_AFTER_NOTIF_REGISTER_PATH=$(mktemp -u test-notif-register.XXXXXX) + SYNC_AFTER_NOTIF_REGISTER_PATH=$(mktemp --tmpdir -u test-notif-register.XXXXXX) diag "Every N rate policy" @@ -36,7 +36,7 @@ function test_rate_policy_every_n() # time the condition is met. lttng_add_trigger_ok \ $TRIGGER_NAME \ - --condition event-rule-matches -u --name="tp:tptest" \ + --condition event-rule-matches --domain=user --name="tp:tptest" \ --action notify \ --rate-policy=every:5 @@ -46,7 +46,7 @@ function test_rate_policy_every_n() # the notification subsystem. lttng_add_trigger_ok \ $END_TRIGGER_NAME \ - --condition event-rule-matches -u --name="tp:end" \ + --condition event-rule-matches --domain=user --name="tp:end" \ --action notify for i in $(seq 1 4); do @@ -114,7 +114,7 @@ function test_rate_policy_once_after_n() local END_TRIGGER_NAME="end-trigger1" local SYNC_AFTER_NOTIF_REGISTER_PATH - SYNC_AFTER_NOTIF_REGISTER_PATH=$(mktemp -u test-notif-register.XXXXXX) + SYNC_AFTER_NOTIF_REGISTER_PATH=$(mktemp --tmpdir -u test-notif-register.XXXXXX) diag "Once after N rate policy" @@ -122,7 +122,7 @@ function test_rate_policy_once_after_n() # time the condition is met. lttng_add_trigger_ok \ $TRIGGER_NAME \ - --condition event-rule-matches -u --name="tp:tptest" \ + --condition event-rule-matches --domain=user --name="tp:tptest" \ --action notify \ --rate-policy=once-after:5 @@ -132,7 +132,7 @@ function test_rate_policy_once_after_n() # the notification subsystem. lttng_add_trigger_ok \ $END_TRIGGER_NAME \ - --condition event-rule-matches -u --name="tp:end" \ + --condition event-rule-matches --domain=user --name="tp:end" \ --action notify ## Phase 1