diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/include.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc index 1272cdecbda..4a35a7d04cf 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -843,12 +843,15 @@ log_newer() msg=$2 logdir=`$CLI --print-logdir` + local x_ifs=$IFS IFS="[" for date in `grep -hr "$msg" $logdir | grep -v "G_LOG" | awk -F '[\]]' '{print $1}'` ; do if [ `date -d "$date" +%s` -gt $ts ] ; then + IFS=$x_ifs return 0; fi done 2>/dev/null + IFS=$x_ifs return 1 } |