X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fust%2Flow-throughput%2Frun;fp=tests%2Fust%2Flow-throughput%2Frun;h=219a6417e38c3e9193339e91f17b2479df79a8a5;hp=3f2d1b72cfb8fe2b7f3ef1b1dfd53233e575e42b;hb=c38b5107fcb9435ea7584e82f6c61319a9391fc0;hpb=fec81a7e6e7d21bef1a16643404ac5016009feb3 diff --git a/tests/ust/low-throughput/run b/tests/ust/low-throughput/run index 3f2d1b72c..219a6417e 100755 --- a/tests/ust/low-throughput/run +++ b/tests/ust/low-throughput/run @@ -14,6 +14,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this library; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +TEST_DESC="UST tracer - Testing low events throughput" CURDIR=$(dirname $0)/ TESTDIR=$CURDIR/../.. @@ -23,9 +24,7 @@ EVENT_NAME="tp:slow" source $TESTDIR/utils.sh -echo -e "\n-------------------------------------------" -echo -e "UST tracer - Testing low events throughput" -echo -e "-------------------------------------------" +print_test_banner "$TEST_DESC" if [ ! -x "$CURDIR/$BIN_NAME" ]; then echo -e "No UST nevents binary detected. Passing." @@ -92,9 +91,9 @@ done if [ $out -eq 0 ]; then echo -n "Trace is coherent... " - echo -e "\e[1;32mOK\e[0m" + print_ok else - echo -e "\e[1;31mFAILED\e[0m" + print_fail fi rm -rf $TRACE_PATH