tests: use -z / -n to test for string empty / non-empty
[babeltrace.git] / tests / plugins / src.ctf.fs / succeed / test_succeed
index 68b70b73d41f426dbe478bf9e049b51f84df0be3..81d87593e3ee7e824c736644e121205b79ec5937 100755 (executable)
@@ -13,7 +13,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"
@@ -125,7 +125,7 @@ test_force_origin_unix_epoch() {
        rm -f "$temp_stdout_output_file" "$temp_stderr_output_file"
 }
 
-plan_tests 10
+plan_tests 13
 
 test_force_origin_unix_epoch 2packets barectf-event-before-packet
 test_ctf_gen_single simple
@@ -134,5 +134,8 @@ test_ctf_single 2packets
 test_ctf_single barectf-event-before-packet
 test_ctf_single session-rotation
 test_ctf_single lttng-tracefile-rotation
+test_ctf_single array-align-elem
+test_ctf_single struct-array-align-elem
+test_ctf_single meta-ctx-sequence
 test_packet_end lttng-event-after-packet
 test_packet_end lttng-crash
This page took 0.02485 seconds and 4 git commands to generate.