X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fcli%2Fparams%2Ftest_params;fp=tests%2Fcli%2Fparams%2Ftest_params;h=c207532a50e888f2a908dbdf9f777f3c60e35f6e;hp=8f13ca60e7a5cccdcc207512292bee39baf4be1d;hb=75e396f6b20bdf52c76a3c7312e7fb815ac1e5e9;hpb=8dea686a2397bdadb81f44a3e74fd39fd7397ee2 diff --git a/tests/cli/params/test_params b/tests/cli/params/test_params index 8f13ca60..c207532a 100755 --- a/tests/cli/params/test_params +++ b/tests/cli/params/test_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"