diff --git a/src/test/pmempool_transform/TEST10 b/src/test/pmempool_transform/TEST10 index 23791430713..3bfd1d4db6e 100755 --- a/src/test/pmempool_transform/TEST10 +++ b/src/test/pmempool_transform/TEST10 @@ -56,7 +56,10 @@ expect_abnormal_exit $PMEMPOOL$EXESUFFIX transform \ # Check metadata by pmempool info dump_pool_info $POOLSET_IN >> $LOG_TEMP -mv $LOG_TEMP $LOG +# Exclude warning messages printed out on the stderr by PMDK in debug +grep -v -E '\*WARN\*' $LOG_TEMP > $LOG +rm $LOG_TEMP + check pass diff --git a/src/test/pmempool_transform/TEST5 b/src/test/pmempool_transform/TEST5 index 929bd3838b5..7a947d6e749 100755 --- a/src/test/pmempool_transform/TEST5 +++ b/src/test/pmempool_transform/TEST5 @@ -93,7 +93,7 @@ dump_pool_info $DIR/testfile02 >> $LOG_TEMP dump_pool_info $DIR/testfile10 >> $LOG_TEMP # Exclude error messages printed out on the stderr by PMDK in debug -fgrep -v "*ERROR*" $LOG_TEMP > $LOG +grep -v -E '\*ERROR\*|\*WARN\*' $LOG_TEMP > $LOG rm $LOG_TEMP check diff --git a/src/test/pmempool_transform/TEST6 b/src/test/pmempool_transform/TEST6 index 91bde3c12a8..27764b07df9 100755 --- a/src/test/pmempool_transform/TEST6 +++ b/src/test/pmempool_transform/TEST6 @@ -72,7 +72,7 @@ expect_abnormal_exit $PMEMPOOL$EXESUFFIX transform \ dump_pool_info $POOLSET_OUT1 >> $LOG_TEMP # Exclude error messages printed out on the stderr by PMDK in debug -fgrep -v "*ERROR*" $LOG_TEMP > $LOG +grep -v -E '\*ERROR\*|\*WARN\*' $LOG_TEMP > $LOG rm $LOG_TEMP check