X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Funit_test.ksh;h=8b21feec36437f697b8be9d65cb61500ce91c905;hb=77406e61f2158f5b88b7a9f6e3e86d8f62c8f71a;hp=9ab1827b8f76f192e4a168e7a68cdbd05c84ee4d;hpb=d9de79acd9c205dc4f795e90a98331628ed6c85b;p=ric-plt%2Flib%2Frmr.git diff --git a/test/unit_test.ksh b/test/unit_test.ksh index 9ab1827..8b21fee 100755 --- a/test/unit_test.ksh +++ b/test/unit_test.ksh @@ -450,7 +450,7 @@ do if ! ./${tfile%.c} >/tmp/PID$$.log 2>&1 then echo "[FAIL] unit test failed for: $tfile" - if [[ -n capture_file ]] + if [[ -n $capture_file ]] then echo "all errors captured in $capture_file, listing only fail message on tty" echo "$tfile --------------------------------------" >>$capture_file