]> git.proxmox.com Git - mirror_spl-debian.git/commit
splat command verbose behavior
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Dec 2012 17:53:55 +0000 (09:53 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Dec 2012 23:08:19 +0000 (15:08 -0800)
commit576ec6aac4a4a15754892824643cedb30d652c39
treefa1ce5e35201d3dfbb7f3ef6ba473db74654c7f8
parent9b88fa165f320d9fc19d965f0f918511fca460a9
splat command verbose behavior

The splat command takes a verbose option which when set prints
the internal debug log for every test.  This is helpful when
tracking down a common failure, but for a rare failure the
volume of log data is distracting.

Therefore, the verbose option has been adjusted to allow only
printing the debug log on failure.  The legacy behavior is still
available by specifying the verbose option twice.  For example:

$ splat -t all:all     # Never print the debug log
$ splat -v -t all:all  # Only print debug log on failure
$ splat -vv -t all:all # Always print the debug log

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
cmd/splat.c