Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 7c38995d360d4abf2d919fd08428f5cb2c1b015e Mon Sep 17 00:00:00 2001
From: Pawel <pawelwi@microsoft.com>
Date: Mon, 5 Oct 2020 06:34:43 -0700
Subject: [PATCH] Extending timeout for test cases with multiple read/writes.

---
src/libstrongswan/tests/suites/test_settings.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/libstrongswan/tests/suites/test_settings.c b/src/libstrongswan/tests/suites/test_settings.c
index e060960..df3b4ef 100644
--- a/src/libstrongswan/tests/suites/test_settings.c
+++ b/src/libstrongswan/tests/suites/test_settings.c
@@ -1731,6 +1731,7 @@ Suite *settings_suite_create()
suite_add_tcase(s, tc);

tc = tcase_create("valid/invalid data");
+ tcase_set_timeout(tc, 10);
tcase_add_checked_fixture(tc, setup_base_config, teardown_config);
tcase_add_test(tc, test_valid);
tcase_add_test(tc, test_invalid);
--
2.17.1

35 changes: 19 additions & 16 deletions SPECS/strongswan/strongswan.spec
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
Summary: The OpenSource IPsec-based VPN Solution
Name: strongswan
Version: 5.7.2
Release: 2%{?dist}
License: GPLv2+
URL: https://www.strongswan.org/
Group: System Environment/Security
Summary: The OpenSource IPsec-based VPN Solution
Name: strongswan
Version: 5.7.2
Release: 3%{?dist}
License: GPLv2+
URL: https://www.strongswan.org/
Group: System Environment/Security
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: https://download.strongswan.org/%{name}-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: gmp-devel
Patch0: strongswan-fix-make-check.patch
Source0: https://download.strongswan.org/%{name}-%{version}.tar.bz2

BuildRequires: autoconf
BuildRequires: gmp-devel
Patch0: strongswan-fix-make-check.patch
Patch1: 0001-Extending-timeout-for-test-cases-with-multiple-read-.patch

%description
strongSwan is a complete IPsec implementation for Linux 2.6, 3.x, and 4.x kernels.

%prep
%setup -q
%patch0 -p1
%autosetup -p1

%build
%configure
Expand Down Expand Up @@ -51,9 +52,11 @@ rm -rf %{buildroot}/*
%{_datadir}/strongswan/*

%changelog
* Sat May 09 00:20:42 PST 2020 Nick Samson <nisamson@microsoft.com> - 5.7.2-2
- Added %%license line automatically

* Mon Oct 05 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 5.7.2-3
- Adding a patch to extend the timeout for the ''valid/invalid data' test case.
- Switching to %%autosetup.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 5.7.2-2
- Added %%license line automatically
* Wed Mar 18 2020 Henry Beberman <henry.beberman@microsoft.com> 5.7.2-1
- Update to 5.7.2. Remove CVE patch fixed in 5.7.0. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 5.6.3-4
Expand Down