|
From: | Darshit Shah |
Subject: | [Bug-wget] [Bug-Wget][PATCH] Merge Python based test suite into master |
Date: | Thu, 24 Jul 2014 17:15:50 +0530 |
The Python based test suite has been lying in parallel-wget for quite some time now. I proposed to merge that into origin/master recently. Attached are a set of patches that can be used to merge testenv/ the home of the Python based testsuite into master. In generating these patches, I've squashed consecutive commits from the same author into a single commit. Zinhang's patch on refactoring the test suite makes git complain about whitespace errors. However, you can safely ignore those since the errors are caused due to certain blank files that are required by Python for everything to work well. Do let me know if this series of patches seems sane and I'll push them to master. Darshit Shah (5): Introducing Python based Test Environment More features to Python based test suite Fix crash in test suite Document SERVER_WAIT Support running tests through valgrind Giuseppe Scrivano (2): testenv: fix make dist testenv: Remove Test--spider-r.py from XFAIL_TESTS Zihang Chen (1): Refactor the Python based test suite ChangeLog | 5 + Makefile.am | 2 +- configure.ac | 2 +- testenv/ChangeLog | 451 +++++++++++++++++++++++++ testenv/Makefile.am | 82 +++++ testenv/README | 303 +++++++++++++++++ testenv/Test--https.py | 53 +++ testenv/Test--spider-r.py | 106 ++++++ testenv/Test-Content-disposition-2.py | 53 +++ testenv/Test-Content-disposition.py | 56 +++ testenv/Test-Head.py | 44 +++ testenv/Test-O.py | 45 +++ testenv/Test-Parallel-Proto.py | 54 +++ testenv/Test-Post.py | 48 +++ testenv/Test-Proto.py | 75 +++++ testenv/Test-auth-basic-fail.py | 51 +++ testenv/Test-auth-basic.py | 59 ++++ testenv/Test-auth-both.py | 77 +++++ testenv/Test-auth-digest.py | 50 +++ testenv/Test-auth-no-challenge-url.py | 54 +++ testenv/Test-auth-no-challenge.py | 54 +++ testenv/Test-auth-retcode.py | 50 +++ testenv/Test-auth-with-content-disposition.py | 54 +++ testenv/Test-c-full.py | 53 +++ testenv/Test-cookie-401.py | 59 ++++ testenv/Test-cookie-domain-mismatch.py | 57 ++++ testenv/Test-cookie-expires.py | 80 +++++ testenv/Test-cookie.py | 57 ++++ testenv/certs/wget-cert.pem | 30 ++ testenv/conf/__init__.py | 47 +++ testenv/conf/authentication.py | 9 + testenv/conf/expect_header.py | 7 + testenv/conf/expected_files.py | 42 +++ testenv/conf/expected_ret_code.py | 19 ++ testenv/conf/files_crawled.py | 18 + testenv/conf/hook_sample.py | 15 + testenv/conf/local_files.py | 12 + testenv/conf/reject_header.py | 7 + testenv/conf/response.py | 7 + testenv/conf/rule_sample.py | 10 + testenv/conf/send_header.py | 7 + testenv/conf/server_conf.py | 11 + testenv/conf/server_files.py | 15 + testenv/conf/urls.py | 10 + testenv/conf/wget_commands.py | 10 + testenv/exc/__init__.py | 0 testenv/exc/test_failed.py | 7 + testenv/misc/__init__.py | 0 testenv/misc/colour_terminal.py | 31 ++ testenv/misc/wget_file.py | 16 + testenv/server/__init__.py | 0 testenv/server/ftp/__init__.py | 0 testenv/server/ftp/ftp_server.py | 162 +++++++++ testenv/server/http/__init__.py | 0 testenv/server/http/http_server.py | 467 ++++++++++++++++++++++++++ testenv/test/__init__.py | 0 testenv/test/base_test.py | 230 +++++++++++++ testenv/test/http_test.py | 45 +++ 58 files changed, 3366 insertions(+), 2 deletions(-) create mode 100644 testenv/ChangeLog create mode 100644 testenv/Makefile.am create mode 100644 testenv/README create mode 100755 testenv/Test--https.py create mode 100755 testenv/Test--spider-r.py create mode 100755 testenv/Test-Content-disposition-2.py create mode 100755 testenv/Test-Content-disposition.py create mode 100755 testenv/Test-Head.py create mode 100755 testenv/Test-O.py create mode 100755 testenv/Test-Parallel-Proto.py create mode 100755 testenv/Test-Post.py create mode 100755 testenv/Test-Proto.py create mode 100755 testenv/Test-auth-basic-fail.py create mode 100755 testenv/Test-auth-basic.py create mode 100755 testenv/Test-auth-both.py create mode 100755 testenv/Test-auth-digest.py create mode 100755 testenv/Test-auth-no-challenge-url.py create mode 100755 testenv/Test-auth-no-challenge.py create mode 100755 testenv/Test-auth-retcode.py create mode 100755 testenv/Test-auth-with-content-disposition.py create mode 100755 testenv/Test-c-full.py create mode 100755 testenv/Test-cookie-401.py create mode 100755 testenv/Test-cookie-domain-mismatch.py create mode 100755 testenv/Test-cookie-expires.py create mode 100755 testenv/Test-cookie.py create mode 100644 testenv/certs/wget-cert.pem create mode 100644 testenv/conf/__init__.py create mode 100644 testenv/conf/authentication.py create mode 100644 testenv/conf/expect_header.py create mode 100644 testenv/conf/expected_files.py create mode 100644 testenv/conf/expected_ret_code.py create mode 100644 testenv/conf/files_crawled.py create mode 100644 testenv/conf/hook_sample.py create mode 100644 testenv/conf/local_files.py create mode 100644 testenv/conf/reject_header.py create mode 100644 testenv/conf/response.py create mode 100644 testenv/conf/rule_sample.py create mode 100644 testenv/conf/send_header.py create mode 100644 testenv/conf/server_conf.py create mode 100644 testenv/conf/server_files.py create mode 100644 testenv/conf/urls.py create mode 100644 testenv/conf/wget_commands.py create mode 100644 testenv/exc/__init__.py create mode 100644 testenv/exc/test_failed.py create mode 100644 testenv/misc/__init__.py create mode 100644 testenv/misc/colour_terminal.py create mode 100644 testenv/misc/wget_file.py create mode 100644 testenv/server/__init__.py create mode 100644 testenv/server/ftp/__init__.py create mode 100644 testenv/server/ftp/ftp_server.py create mode 100644 testenv/server/http/__init__.py create mode 100644 testenv/server/http/http_server.py create mode 100644 testenv/test/__init__.py create mode 100644 testenv/test/base_test.py create mode 100644 testenv/test/http_test.py -- Thanking You, Darshit Shah
0005-Refactor-the-Python-based-test-suite.patch
Description: Text Data
0004-More-features-to-Python-based-test-suite.patch
Description: Text Data
0003-testenv-Remove-Test-spider-r.py-from-XFAIL_TESTS.patch
Description: Text Data
0002-testenv-fix-make-dist.patch
Description: Text Data
0001-Introducing-Python-based-Test-Environment.patch
Description: Text Data
0008-Support-running-tests-through-valgrind.patch
Description: Text Data
0007-Document-SERVER_WAIT.patch
Description: Text Data
0006-Fix-crash-in-test-suite.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |