cfengine/0003-make-home-dir-for-tests.patch

28 lines
885 B
Diff

From 114297240e5a86235a13f654bd2905c27c777b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Tue, 3 Jul 2018 09:38:39 +0200
Subject: [PATCH 3/3] make home dir for tests
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
---
tests/load/run_lastseen_threaded_load.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/load/run_lastseen_threaded_load.sh b/tests/load/run_lastseen_threaded_load.sh
index aebcf21a913e..215379e9f416 100755
--- a/tests/load/run_lastseen_threaded_load.sh
+++ b/tests/load/run_lastseen_threaded_load.sh
@@ -7,5 +7,6 @@ then
fi
echo "Starting run_lastseen_threaded_load.sh test"
+text -x ~/.cfagent/state || mkdir -p ~/.cfagent/state
./lastseen_threaded_load -c 1 4 1 1
--
2.24.0