X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=c1d702e823c33120f96b256df93bd35044a73d8e;hb=cdcf8972424da5cba4c0210d7fdfa2e7123aa748;hp=27816deddd9c25b1581515471e58ee76c00dd761;hpb=8e023ed42dff12632a5096a3b2d6c25d144bdbfb;p=lttng-tools.git diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 27816dedd..c1d702e82 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -1691,9 +1691,10 @@ function destroy_lttng_session () local withtap=$1 local expected_to_fail=$2 local sess_name=$3 + shift 3 _run_lttng_cmd "$OUTPUT_DEST" "$ERROR_OUTPUT_DEST" \ - destroy $sess_name + destroy $sess_name $@ ret=$? if [[ $expected_to_fail -eq "1" ]]; then test "$ret" -ne "0"