Relayd enable/start test and basic kernel run test
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 23 Jun 2015 21:18:52 +0000 (17:18 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 23 Jun 2015 21:18:52 +0000 (17:18 -0400)
packaging/el7-enable-and-start-relayd.sh [new file with mode: 0644]
packaging/el7-test-run.sh [new file with mode: 0644]

diff --git a/packaging/el7-enable-and-start-relayd.sh b/packaging/el7-enable-and-start-relayd.sh
new file mode 100644 (file)
index 0000000..045f52e
--- /dev/null
@@ -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 (file)
index 0000000..1c2b492
--- /dev/null
@@ -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
+
+
This page took 0.023116 seconds and 4 git commands to generate.