tests: use -z / -n to test for string empty / non-empty
[babeltrace.git] / tests / plugins / flt.utils.muxer / succeed / test_succeed
index 98cd6b95772c9355e2000920835f8a84b68a82bc..578ac223600ce80e5af30320fe722a9f9145699f 100755 (executable)
@@ -9,7 +9,7 @@
 
 SH_TAP=1
 
-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"
This page took 0.0244 seconds and 4 git commands to generate.