Fix race condition in one of the tests
This commit is contained in:
parent
d9dcecbf5d
commit
4b345092bc
@ -1,6 +1,6 @@
|
|||||||
Name: tang
|
Name: tang
|
||||||
Version: 4
|
Version: 4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Network Presence Binding Daemon
|
Summary: Network Presence Binding Daemon
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -61,6 +61,7 @@ echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
|
|||||||
%{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name}
|
%{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%{__sed} -i 's|\./tang -u|sleep 0.5; ./tang -u|' ./test-nagios
|
||||||
if ! make %{?_smp_mflags} check; then
|
if ! make %{?_smp_mflags} check; then
|
||||||
cat test-suite.log
|
cat test-suite.log
|
||||||
false
|
false
|
||||||
@ -101,6 +102,9 @@ exit 0
|
|||||||
%{_libdir}/nagios/plugins/%{name}
|
%{_libdir}/nagios/plugins/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 14 2016 Nathaniel McCallum <npmccallum@redhat.com> - 4-2
|
||||||
|
- Fix a race condition in one of the tests
|
||||||
|
|
||||||
* Thu Nov 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 4-1
|
* Thu Nov 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 4-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
- Add nagios subpackage
|
- Add nagios subpackage
|
||||||
|
Loading…
Reference in New Issue
Block a user