X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fplugins%2Fsink.text.pretty%2Ftest_pretty_python;fp=tests%2Fplugins%2Fsink.text.pretty%2Ftest_pretty_python;h=fe395e773b5514b5e7ec84db87c608b4d5a8d613;hp=3fdac62ceaed84cd92177501c78c6ed655b0a499;hb=75e396f6b20bdf52c76a3c7312e7fb815ac1e5e9;hpb=8dea686a2397bdadb81f44a3e74fd39fd7397ee2 diff --git a/tests/plugins/sink.text.pretty/test_pretty_python b/tests/plugins/sink.text.pretty/test_pretty_python index 3fdac62c..fe395e77 100755 --- a/tests/plugins/sink.text.pretty/test_pretty_python +++ b/tests/plugins/sink.text.pretty/test_pretty_python @@ -5,7 +5,7 @@ # Copyright (C) 2017 Philippe Proulx # -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"