projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: compile some tools/tests as C++
[lttng-tools.git]
/
tests
/
regression
/
tools
/
trigger
/
rate-policy
/
test_ust_rate_policy
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 ef4626c250286e783790beaf8d8c5f27cfb8f838..ee5b590bd710a150a952bb7b08789b15632e8d48 100755
(executable)
--- 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
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"
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 \
# time the condition is met.
lttng_add_trigger_ok \
$TRIGGER_NAME \
- --condition event-rule-matches --
domain
=user --name="tp:tptest" \
+ --condition event-rule-matches --
type
=user --name="tp:tptest" \
--action notify \
--rate-policy=every:5
--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 \
# the notification subsystem.
lttng_add_trigger_ok \
$END_TRIGGER_NAME \
- --condition event-rule-matches --
domain
=user --name="tp:end" \
+ --condition event-rule-matches --
type
=user --name="tp:end" \
--action notify
for i in $(seq 1 4); do
--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
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"
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 \
# time the condition is met.
lttng_add_trigger_ok \
$TRIGGER_NAME \
- --condition event-rule-matches --
domain
=user --name="tp:tptest" \
+ --condition event-rule-matches --
type
=user --name="tp:tptest" \
--action notify \
--rate-policy=once-after:5
--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 \
# the notification subsystem.
lttng_add_trigger_ok \
$END_TRIGGER_NAME \
- --condition event-rule-matches --
domain
=user --name="tp:end" \
+ --condition event-rule-matches --
type
=user --name="tp:end" \
--action notify
## Phase 1
--action notify
## Phase 1
This page took
0.024158 seconds
and
4
git commands to generate.