[lvm-devel] master - test: Remove a redundant drain() from the timeout path.

Petr Rockai mornfall at fedoraproject.org
Wed Aug 28 12:53:55 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d07cf851e5e9f501a034ac69d9f544e7426ec82c
Commit:        d07cf851e5e9f501a034ac69d9f544e7426ec82c
Parent:        c1217e6881f6d679c0589078c00350f00c6bee10
Author:        Petr Rockai <prockai at redhat.com>
AuthorDate:    Mon Aug 5 21:12:39 2013 +0200
Committer:     Petr Rockai <prockai at redhat.com>
CommitterDate: Wed Aug 28 14:53:23 2013 +0200

test: Remove a redundant drain() from the timeout path.

---
 test/lib/harness.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/test/lib/harness.c b/test/lib/harness.c
index 586c5d3..af30c44 100644
--- a/test/lib/harness.c
+++ b/test/lib/harness.c
@@ -390,7 +390,6 @@ static void run(int i, char *f) {
 					kill(-pid, SIGKILL);
 					w = pid; // waitpid(pid, &st, NULL);
 				}
-				drain();
 				runaway = 1;
 				break;
 			}




More information about the lvm-devel mailing list