X-Git-Url: https://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fcli%2Fconvert%2Ftest_auto_source_discovery_params;h=65ef536fb1d0aafde4dc4d6e1fc0dc9c1616615b;hp=446e6c426d25cc3f8023de006dd93c8c4c49cdcf;hb=75e396f6b20bdf52c76a3c7312e7fb815ac1e5e9;hpb=8dea686a2397bdadb81f44a3e74fd39fd7397ee2 diff --git a/tests/cli/convert/test_auto_source_discovery_params b/tests/cli/convert/test_auto_source_discovery_params index 446e6c42..65ef536f 100755 --- a/tests/cli/convert/test_auto_source_discovery_params +++ b/tests/cli/convert/test_auto_source_discovery_params @@ -8,7 +8,7 @@ # Test how parameters are applied to sources auto-discovered by the convert # command. -if [ "x${BT_TESTS_SRCDIR:-}" != "x" ]; then +if [ -n "${BT_TESTS_SRCDIR:-}" ]; then UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" else UTILSSH="$(dirname "$0")/../../utils/utils.sh"