src.ctf.lttng-live: remove some goto error-handling
[babeltrace.git] / tests / plugins / flt.lttng-utils.debug-info / test_bin_info_x86_64-linux-gnu
1 #!/bin/bash
2 #
3 # SPDX-License-Identifier: GPL-2.0-only
4 #
5 # Copyright (C) 2015 Antoine Busque <abusque@efficios.com>
6 # Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com>
7 #
8
9 if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
10 UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
11 else
12 UTILSSH="$(dirname "$0")/../../utils/utils.sh"
13 fi
14
15 # shellcheck source=../../utils/utils.sh
16 source "$UTILSSH"
17
18 this_dir_relative="plugins/flt.lttng-utils.debug-info"
19 this_dir_build="$BT_TESTS_BUILDDIR/$this_dir_relative"
20 debug_info_data="$BT_TESTS_DATADIR/$this_dir_relative/x86_64-linux-gnu"
21
22 "$this_dir_build/test_bin_info" \
23 --foo-addr=0x2277 \
24 --printf-offset=0xf0 \
25 --printf-lineno=36 \
26 --tp-offset=0x89 \
27 --tp-lineno=35 \
28 --debug-link-crc=0x289a8fdc \
29 --debug-info-dir "$debug_info_data" \
30 --build-id cdd98cdd87f7fe64c13b6daad553987eafd40cbb
This page took 0.029836 seconds and 4 git commands to generate.