[arch-commits] Commit in facter/trunk (PKGBUILD workaround-broken-double-test.patch)
Thore Bödecker
foxxx0 at archlinux.org
Sat Oct 12 17:57:54 UTC 2019
Date: Saturday, October 12, 2019 @ 17:57:53
Author: foxxx0
Revision: 515256
upgpkg: facter 3.14.5-1
libwhereami 0.3.1 rebuild
Added:
facter/trunk/workaround-broken-double-test.patch
Modified:
facter/trunk/PKGBUILD
-------------------------------------+
PKGBUILD | 8 ++++++--
workaround-broken-double-test.patch | 16 ++++++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-12 17:47:53 UTC (rev 515255)
+++ PKGBUILD 2019-10-12 17:57:53 UTC (rev 515256)
@@ -29,7 +29,8 @@
'FindUDEV.cmake'
'fix-shared-libwhereami-detection.patch'
'shared_cpp_hcon.patch'
- 'rapidjson-1.1-compat.patch')
+ 'rapidjson-1.1-compat.patch'
+ 'workaround-broken-double-test.patch')
validpgpkeys=('6F6B15509CF8E59E6E469F327F438280EF8D349F') # "Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release at puppet.com>"
sha512sums=('219d8a2be7029a07da9b078d2be80fadc5fc98e33633f9de7e4c5e02f7f66122a03e7ba85ee9dad0df8c65ef16778091071c7990ddc2a047b7131985549131cc'
'SKIP'
@@ -36,7 +37,8 @@
'c06f8b75a697c89c696729aaca88d30cf4d8652406245d457d97a0de973f6129a037e226847e71785070dc16d5b40b98f287258f961da7904cf5338eb601fc09'
'1f5d2595cd6b2a63fc01c92c84eccf8f92bd9e9f0721ea1a3f59836d7d02f5ec6e6e3711b223b240d46ca55f7377f27339b7458c12d6c21564a2764c76df12b2'
'15fdfb75bb1045e160c095b62025f10d0a04c167223340072a9b8d065a2a185e942d299f86c80449661f37be5e1807efb49e77def44b8de4a9a9f7c2cc111e1a'
- 'a1fb08be2c6c9b2a4085404f1d13b13c9d41e3c1a38d35cbad1d29bbd497380492dab368a0fa7288d141f7f94ff7a7a0ae5ce271119e7074e039868682cc766f')
+ 'a1fb08be2c6c9b2a4085404f1d13b13c9d41e3c1a38d35cbad1d29bbd497380492dab368a0fa7288d141f7f94ff7a7a0ae5ce271119e7074e039868682cc766f'
+ '335c6db6a4953cf3678877ba81506c475d93f461ec2ee75c22fba4a3f938db0bca7f6cf3ee0376eb4c34b43f1f3fb1a35a0a0e64be5a484c344bd689641ddc2b')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -60,6 +62,8 @@
patch -p1 -N -i "${srcdir}/fix-shared-libwhereami-detection.patch"
patch -p1 -N -i "${srcdir}/shared_cpp_hcon.patch"
patch -p1 -N -i "${srcdir}/rapidjson-1.1-compat.patch"
+
+ patch -p1 -N -i "${srcdir}/workaround-broken-double-test.patch"
}
build() {
Added: workaround-broken-double-test.patch
===================================================================
--- workaround-broken-double-test.patch (rev 0)
+++ workaround-broken-double-test.patch 2019-10-12 17:57:53 UTC (rev 515256)
@@ -0,0 +1,16 @@
+--- a/lib/tests/facts/double_value.cc 2019-09-30 09:13:02.000000000 +0200
++++ b/lib/tests/facts/double_value.cc 2019-10-12 19:54:49.184377937 +0200
+@@ -23,13 +23,6 @@ SCENARIO("using a double fact value") {
+ REQUIRE(json.GetDouble() == Approx(42.4242));
+ }
+ }
+- WHEN("serialized to YAML") {
+- THEN("it should have the same value") {
+- Emitter emitter;
+- value.write(emitter);
+- REQUIRE(string(emitter.c_str()) == "42.4242");
+- }
+- }
+ WHEN("serialized to text") {
+ THEN("it should have the same value") {
+ ostringstream stream;
More information about the arch-commits
mailing list