| 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (C) - 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
| 4 | # |
| 5 | # This program is free software; you can redistribute it and/or modify it |
| 6 | # under the terms of the GNU General Public License, version 2 only, as |
| 7 | # published by the Free Software Foundation. |
| 8 | # |
| 9 | # This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 12 | # more details. |
| 13 | # |
| 14 | # You should have received a copy of the GNU General Public License along with |
| 15 | # this program; if not, write to the Free Software Foundation, Inc., 51 |
| 16 | # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 17 | CURDIR=$(dirname $0) |
| 18 | TESTDIR=${CURDIR}/../../.. |
| 19 | |
| 20 | source $TESTDIR/utils/utils.sh |
| 21 | |
| 22 | # Try to launch a sessiond before invoking the python test script |
| 23 | start_lttng_sessiond_notap |
| 24 | |
| 25 | python3 ${CURDIR}/test_linking.py |
| 26 | |
| 27 | stop_lttng_sessiond_notap |