Skip to content

Commit

Permalink
rcutorture: Don't keep empty console.log.diags files
Browse files Browse the repository at this point in the history
Currently, an error-free run produces an empty console.log.diags file.
This can be annoying when using "vi */console.log.diags" to see a full
summary of the errors.  This commit therefore removes any empty files
during the analysis process.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
  • Loading branch information
Paul E. McKenney committed Jan 26, 2016
1 parent f5a5386 commit fc91cba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/testing/selftests/rcutorture/bin/parse-console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ then
summary="$summary Stalls: $n_stalls"
fi
print_warning Summary: $summary
else
rm $1.diags
fi

0 comments on commit fc91cba

Please sign in to comment.