X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=5fca4a0227ceaec51cd9c46c2ae746520a851af2;hb=26402e0c0f988fb1665f7c21da9ab720d71f0ee9;hp=f73b1764c7c32750f3e8a44fd44edcfe4f9bb69b;hpb=5eecee74ccdce343ccf1504174eef7c03d859fb0;p=lttng-tools.git diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index f73b1764c..5fca4a022 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -315,6 +315,15 @@ function lttng_snapshot_add_output () ok $? "Added snapshot output file://$trace_path" } +function lttng_snapshot_del_output () +{ + local sess_name=$1 + local id=$2 + + $TESTDIR/../src/bin/lttng/$LTTNG_BIN snapshot del-output -s $sess_name $id >/dev/null 2>&1 + ok $? "Deleted snapshot output id $id" +} + function lttng_snapshot_record () { sess_name=$1