Allow user programme to set RMR verbosity level
[ric-plt/lib/rmr.git] / test / unit_test.ksh
index 9ab1827..08811f6 100755 (executable)
@@ -337,6 +337,8 @@ run_nano_tests=0
 
 export RMR_WARNING=1           # turn on warnings
 
+ulimit -c unlimited
+
 while [[ $1 == "-"* ]]
 do
        case $1 in
@@ -450,7 +452,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