799e3a3e48
- Make cfengine home directory to avoid spamming logfiles during unit tests (bnc#1016848) OBS-URL: https://build.opensuse.org/request/show/448292 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=151
16 lines
564 B
Diff
16 lines
564 B
Diff
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
|