]> git.saurik.com Git - redis.git/commit - tests/support/util.tcl
Redis test: include bug report on crash.
authorantirez <antirez@gmail.com>
Tue, 22 May 2012 11:13:24 +0000 (13:13 +0200)
committerantirez <antirez@gmail.com>
Wed, 23 May 2012 09:52:35 +0000 (11:52 +0200)
commitdfa90b596960b64f9dd615154b084768dd11108a
tree672c9324d73c46b74a979e5306f813831ecaeeb5
parenta5a037bf8134b58b5130168e0eb1526106e5b26c
Redis test: include bug report on crash.

Due to a change in the format of the bug report in case of crash of
failed assertion the test suite was no longer able to properly log it.
Instead just a protocol error was logged by the Redis TCL client that
provided no clue about the actual problem.

This commit resolves the issue by logging everything from the first line
of the log including the string REDIS BUG REPORT, till the end of the
file.
tests/support/util.tcl