Commit | Line | Data |
---|---|---|
1a9956b9 SM |
1 | #!/bin/bash |
2 | # | |
3 | # SPDX-License-Identifier: GPL-2.0-only | |
4 | # | |
5 | # Copyright (C) 2024 EfficiOS, Inc. | |
6 | # | |
7 | ||
8 | if [ -n "${BT_TESTS_SRCDIR:-}" ]; then | |
9 | UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" | |
10 | else | |
11 | UTILSSH="$(dirname "$0")/../utils/utils.sh" | |
12 | fi | |
13 | ||
14 | # shellcheck source=../utils/utils.sh | |
15 | source "$UTILSSH" | |
16 | ||
17 | ret=0 | |
18 | ||
19 | "${BT_TESTS_BUILDDIR}/lib/test-plugin-init-fail" "${BT_TESTS_BUILDDIR}/lib/test-plugin-init-fail-plugin/.libs" yes || ret=1 | |
20 | "${BT_TESTS_BUILDDIR}/lib/test-plugin-init-fail" "${BT_TESTS_BUILDDIR}/lib/test-plugin-init-fail-plugin/.libs" no || ret=1 | |
21 | ||
22 | exit $ret |