diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-26 15:16:12 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-07-03 08:19:22 +0200 |
commit | a7c55007659ab768293f15c5f5fc00c5d9e5c814 (patch) | |
tree | 97aca7f6a1aa8be46221d7cb6217f9038a79d270 /source3/torture | |
parent | b0c191e5de15e54646b02925e37458d6a56db015 (diff) | |
download | samba-a7c55007659ab768293f15c5f5fc00c5d9e5c814.tar.gz samba-a7c55007659ab768293f15c5f5fc00c5d9e5c814.tar.xz samba-a7c55007659ab768293f15c5f5fc00c5d9e5c814.zip |
ctdb-tests: Fix racy test for debugging hung scripts
Debugging can still be running when a monitor event times out and
scriptstatus output changes.
When debugging a hung script to a log file, write to a temporary file
and move the temporary file over the log file when done. The test
then waits for the log file to appear.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Jul 3 08:19:23 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/torture')
0 files changed, 0 insertions, 0 deletions