X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftrigger%2Ftest_list_triggers_cli;fp=tests%2Fregression%2Ftools%2Ftrigger%2Ftest_list_triggers_cli;h=162b1328b61b34ec34176a648b894eff9c3efee9;hp=7355f3897e6c2313c9bfd53955a522a7810f7ab8;hb=df9542428e02e1b63ac8a023cda7164a68c8ef34;hpb=3780c5f8ba2264b33923001bc2a723c5ffa5c889 diff --git a/tests/regression/tools/trigger/test_list_triggers_cli b/tests/regression/tools/trigger/test_list_triggers_cli index 7355f3897..162b1328b 100755 --- a/tests/regression/tools/trigger/test_list_triggers_cli +++ b/tests/regression/tools/trigger/test_list_triggers_cli @@ -814,7 +814,7 @@ test_event_rule_matches_probe () fi offset_hex="0x$(printf '%x' $offset)" - channel_enable_addr_decimal=$(echo "ibase=16; ${channel_enable_addr^^} " | bc) + channel_enable_addr_decimal=$(printf '%u' 0x"${channel_enable_addr}") lttng_add_trigger_ok "T0" --condition event-rule-matches --type=kprobe --location=lttng_channel_enable --event-name=my_channel_enable --action notify lttng_add_trigger_ok "T1" --condition event-rule-matches --type=kprobe --location="${base_symbol}+${offset_hex}" --event-name=my_channel_enable --action notify