tests: use -z / -n to test for string empty / non-empty
[babeltrace.git] / tests / plugins / src.ctf.fs / query / test_query_trace_info
CommitLineData
d907165c
SM
1#!/bin/bash
2#
0235b0db 3# SPDX-License-Identifier: GPL-2.0-only
d907165c 4#
0235b0db 5# Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
d907165c 6#
d907165c 7
75e396f6 8if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
644e0364
MJ
9 UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
10else
11 UTILSSH="$(dirname "$0")/../../../utils/utils.sh"
12fi
d907165c 13
644e0364
MJ
14# shellcheck source=../../../utils/utils.sh
15source "$UTILSSH"
d907165c 16
b34bfe00 17run_python_bt2_test "${BT_TESTS_SRCDIR}/plugins/src.ctf.fs/query" test_query_trace_info.py
This page took 0.051049 seconds and 4 git commands to generate.