From: Jonathan Rajotte Date: Tue, 23 Jun 2015 21:18:52 +0000 (-0400) Subject: Relayd enable/start test and basic kernel run test X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d7df5cec1713de25424f2a9ff3cc079e2ffb1d3d;p=lttng-ci.git Relayd enable/start test and basic kernel run test --- diff --git a/packaging/el7-enable-and-start-relayd.sh b/packaging/el7-enable-and-start-relayd.sh new file mode 100644 index 0000000..045f52e --- /dev/null +++ b/packaging/el7-enable-and-start-relayd.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +systemctl enable lttng-relayd + +systemctl start lttng-relayd diff --git a/packaging/el7-test-run.sh b/packaging/el7-test-run.sh new file mode 100644 index 0000000..1c2b492 --- /dev/null +++ b/packaging/el7-test-run.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +lttng create +lttng enable-event -a -k +lttng start +wait 1 +lttng stop + +count=$(lttng view | wc -l) +if [ $count -lt "100" ]; then + false +fi + +