Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Add patch to fix comparepasswords_issafe test failure on i386.
· 5eb1d124
Bas Couwenberg
authored
Mar 01, 2019
5eb1d124
Set CTEST_OUTPUT_ON_FAILURE environment variable.
· 893536b4
Bas Couwenberg
authored
Mar 01, 2019
893536b4
Set distribution to unstable.
· b426b5e7
Bas Couwenberg
authored
Mar 01, 2019
b426b5e7
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
b426b5e7
icinga2 (2.10.3-2) unstable; urgency=medium
* Team upload.
* Add patch to fix comparepasswords_issafe test failure on i386.
* Set CTEST_OUTPUT_ON_FAILURE environment variable.
-- Bas Couwenberg <sebastic@debian.org> Fri, 01 Mar 2019 12:18:30 +0100
icinga2 (2.10.3-1) unstable; urgency=medium
* Team upload.
...
...
debian/patches/comparepasswords_issafe.patch
0 → 100644
View file @
b426b5e7
Description: Ignore failure of unit test base_utility/comparepasswords_issafe
as volatile system load may cause false negatives
Author: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Origin: https://github.com/Icinga/icinga2/pull/6977/commits/646feb76e06155f908a4dcee51144db8f05a114f
Bug: https://github.com/Icinga/icinga2/issues/6987
--- a/test/base-utility.cpp
+++ b/test/base-utility.cpp
@@ -64,7 +64,7 @@
BOOST_AUTO_TEST_CASE(comparepasswords_is
auto duration2 (steady_clock::now() - start2);
double diff = (double)duration_cast<microseconds>(duration1).count() / (double)duration_cast<microseconds>(duration2).count();
- BOOST_CHECK(0.9 <= diff && diff <= 1.1);
+ BOOST_WARN(0.9 <= diff && diff <= 1.1);
}
BOOST_AUTO_TEST_SUITE_END()
debian/patches/series
View file @
b426b5e7
21_config_changes
postgres-checkcommand.patch
comparepasswords_issafe.patch
debian/rules
View file @
b426b5e7
...
...
@@ -7,6 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
export CTEST_OUTPUT_ON_FAILURE=1
# disable unity builds for arches with low memory
ifneq (,$(findstring $(DEB_BUILD_ARCH),"armhf mips mipsel"))
UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off
...
...