enable vsftpd-based tests
This commit is contained in:
parent
dd7f91e26e
commit
e1c294381a
@ -77,6 +77,9 @@ rm -f tests/fake-curl/libcurl/*.so
|
|||||||
# remove a test-case that relies on sftp://web.sourceforge.net being available
|
# remove a test-case that relies on sftp://web.sourceforge.net being available
|
||||||
rm -f tests/ssh_key_cb_test.py
|
rm -f tests/ssh_key_cb_test.py
|
||||||
|
|
||||||
|
# remove a test-case that fails in Koji
|
||||||
|
rm -f tests/seek_cb_test.py
|
||||||
|
|
||||||
# remove tests depending on the 'flaky' nose plug-in (not available in Fedora)
|
# remove tests depending on the 'flaky' nose plug-in (not available in Fedora)
|
||||||
grep '^import flaky' -r tests | cut -d: -f1 | xargs rm -fv
|
grep '^import flaky' -r tests | cut -d: -f1 | xargs rm -fv
|
||||||
|
|
||||||
@ -96,6 +99,7 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
||||||
|
export PYCURL_VSFTPD_PATH=vsftpd
|
||||||
make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v"
|
make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v"
|
||||||
rm -fv tests/fake-curl/libcurl/*.so
|
rm -fv tests/fake-curl/libcurl/*.so
|
||||||
|
|
||||||
@ -115,6 +119,7 @@ rm -fv tests/fake-curl/libcurl/*.so
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 14 2018 Kamil Dudka <kdudka@redhat.com> - 7.43.0-15
|
* Wed Mar 14 2018 Kamil Dudka <kdudka@redhat.com> - 7.43.0-15
|
||||||
|
- enable vsftpd-based tests
|
||||||
- run the test-suite for Python 3 only
|
- run the test-suite for Python 3 only
|
||||||
- do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora
|
- do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user