Force kill children on FreeBSD in history tests

This is yet another attempt.

Signed-off-by: Gavin Howard <gavin@yzena.com>
diff --git a/tests/history.py b/tests/history.py
index 47e4e5e..64a8775 100755
--- a/tests/history.py
+++ b/tests/history.py
@@ -90,6 +90,12 @@
 def wait(child):
 	if child.isalive():
 		child.sendeof()
+		time.sleep(1)
+		if child.isalive():
+			child.kill(signal.SIGTERM)
+			time.sleep(1)
+			if child.isalive():
+				child.kill(signal.SIGKILL)
 	child.wait()