Accepting request 448292 from home:adamm:branches:systemsmanagement
- 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
This commit is contained in:
parent
8d903b24ac
commit
799e3a3e48
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 30 12:46:35 UTC 2016 - adam.majer@suse.de
|
||||||
|
|
||||||
|
- Make cfengine home directory to avoid spamming logfiles during
|
||||||
|
unit tests (bnc#1016848)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 29 09:53:50 UTC 2016 - kkaempf@suse.com
|
Thu Dec 29 09:53:50 UTC 2016 - kkaempf@suse.com
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@ Patch1: 0001-Set-sys.bindir-to-usr-sbin-expect-cf-components-ther.patch
|
|||||||
Patch2: 0002-Simplify-and-fix-parsing-of-etc-SuSE-release-fixes-i.patch
|
Patch2: 0002-Simplify-and-fix-parsing-of-etc-SuSE-release-fixes-i.patch
|
||||||
|
|
||||||
# SLE 11 or RHEL5 autoconf does not support AM_SUBST_NOTMAKE, kkaempf@suse.de
|
# SLE 11 or RHEL5 autoconf does not support AM_SUBST_NOTMAKE, kkaempf@suse.de
|
||||||
|
Patch10: make_home_dir_for_tests.patch
|
||||||
Patch99: remove-am_subst_notmake.patch
|
Patch99: remove-am_subst_notmake.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -177,6 +178,7 @@ Lots of examples promises for CFEngine.
|
|||||||
%if 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} <= 1110
|
||||||
%patch99 -p1
|
%patch99 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
##### rpmlint
|
##### rpmlint
|
||||||
#### wrong-file-end-of-line-encoding
|
#### wrong-file-end-of-line-encoding
|
||||||
|
15
make_home_dir_for_tests.patch
Normal file
15
make_home_dir_for_tests.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user