Skip to content

Commit

Permalink
common: adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grom72 committed Jan 31, 2024
1 parent d9ca2f6 commit f7a0fb5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/test/pmempool_sync/TEST24
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET1 >> $LOG_TEMP
dump_pool_info $POOLSET1 >> $LOG_TEMP

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" | fgrep -v "*WARN*" > $LOG
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP

check
Expand Down
4 changes: 2 additions & 2 deletions src/test/pmempool_transform/TEST5
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ dump_pool_info $DIR/testfile01 >> $LOG_TEMP
dump_pool_info $DIR/testfile02 >> $LOG_TEMP
dump_pool_info $DIR/testfile10 >> $LOG_TEMP

# Exclude error and warning messages printed out on the stderr by PMDK in debug
grep -v -E "\*ERROR\*|\*WARN\*" $LOG_TEMP > $LOG
# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP

check
Expand Down
4 changes: 2 additions & 2 deletions src/test/pmempool_transform/TEST6
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ expect_abnormal_exit $PMEMPOOL$EXESUFFIX transform \
# Check metadata by pmempool info
dump_pool_info $POOLSET_OUT1 >> $LOG_TEMP

# Exclude error and warning messages printed out on the stderr by PMDK in debug
grep -v -E "\*ERROR\*|\*WARN\*" $LOG_TEMP > $LOG
# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP

check
Expand Down

0 comments on commit f7a0fb5

Please sign in to comment.