File make_home_dir_for_tests.patch of Package cfengine

Author: Adam Majer <adam.majer@suse.de>
Upstream: https://tracker.mender.io/browse/CFE-2549
BNC#1016848
Summary: this tests requires home directory, otherwise spams logfile

Index: cfengine-3.10.0b1/tests/load/run_lastseen_threaded_load.sh
===================================================================
--- cfengine-3.10.0b1.orig/tests/load/run_lastseen_threaded_load.sh
+++ cfengine-3.10.0b1/tests/load/run_lastseen_threaded_load.sh
@@ -1,3 +1,5 @@
 #!/bin/sh
 
+text -x ~/.cfagent/state || mkdir -p ~/.cfagent/state
+
 ./lastseen_threaded_load -c 1   4 1 1