X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=5fca4a0227ceaec51cd9c46c2ae746520a851af2;hb=10a5031171c7bca5b4498c871b119e5a88b6a3fb;hp=f73b1764c7c32750f3e8a44fd44edcfe4f9bb69b;hpb=07b86b528dc279d59cdf16e6cb946c144fe773f2;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