enable vsftpd-based tests

This commit is contained in:
Kamil Dudka 2018-03-14 12:34:24 +01:00
parent dd7f91e26e
commit e1c294381a

View File

@ -77,6 +77,9 @@ rm -f tests/fake-curl/libcurl/*.so
# remove a test-case that relies on sftp://web.sourceforge.net being available
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)
grep '^import flaky' -r tests | cut -d: -f1 | xargs rm -fv
@ -96,6 +99,7 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl
%check
export PYTHONPATH=%{buildroot}%{python3_sitearch}
export PYCURL_VSFTPD_PATH=vsftpd
make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v"
rm -fv tests/fake-curl/libcurl/*.so
@ -115,6 +119,7 @@ rm -fv tests/fake-curl/libcurl/*.so
%changelog
* 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
- do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora