4f557e8121
Mew test test-redirection-loop
...
* tests/Makefile.am: Add test-redirection-loop to tests
* tests/libtest.c (_http_server_thread): Check scope of requested URL,
skip check for expected files when not specified
* tests/libtest.h: Add wget_test_url_t.scope,
define WGET_TEST_URL_SCOPE_HTTP and WGET_TEST_URL_SCOPE_HTTPS
* tests/test-redirection-loop.c: New test file
2017-05-16 21:31:32 +02:00
b3aede0e57
Remove gnulib dependencies from examples and wget.h
...
* cfg.mk: Add examples as excludes for config.h
* examples/Makefile.am: Remove -I to srcdir and builddir
* examples/*.c: Remove #include <config.h>
* include/wget/wget.h: Remove gettext include and defines
* libwget/private.h: Add gettext include and defines
* src/wget_main.h: Likewise
* tests/libtest.h: Likewise
* src/log.c: Add #include <string.h>
2017-04-30 21:37:39 +02:00
59f163cd7b
Remove useless cpp parens (syntax-check)
2017-04-29 20:56:57 +02:00
c1dee14c72
Spell filesystem 'file system' (syntax-check)
...
* docs/wget2_manual.md: filesystem -> file system
* tests/libtest.c: Likewise
* tests/libtest.h: Likewise
* tests/test-wget-1.c: Likewise
2017-04-29 19:41:15 +02:00
dba2663197
Fix --chunk-size with missing Content-Length
...
* src/wget.c (process_head_response): Don't release job after HEAD
* tests/libtest.c: Implement WGET_TEST_SERVER_SEND_CONTENT_LENGTH
* tests/libtest.h: Define WGET_TEST_SERVER_SEND_CONTENT_LENGTH
* tests/test-wget-1.c: Add new tests for --chunk-size
2017-04-21 12:49:34 +02:00
ec396c577f
Fix URLs to HTTPS where possible
2017-02-28 15:31:30 +01:00
909afd75fc
Make the visibiity attribute preceed the prototype
...
* include/wget/wget.h: Make library symbol export attribute
((__visibility__)) preceed the function prototype to work on Windows
with MSVC
* tests/libtest.h: Same
Reported-by: Gisle Vanem
2016-11-16 12:03:27 +01:00
ecbfea77c0
Rename LIBWGET_EXPORT to WGETAPI
...
* include/wget/wget.t: Rename LIBWGET_EXPORT to WGETAPI
* tests/libtest.h: Same
2016-11-16 11:45:46 +01:00
9568b0c87e
Rename include/libwget.h to include/wget/wget.h+wgetver.h
2016-09-30 09:47:32 +02:00
37687a2c5b
Let test suite survive on case-sensitive filesystems (e.g. HFS+)
...
* tests/libtest.c: New function wget_test_check_filesystem(),
(_empty_directory, _remove_directory): Do not print
errors about missing directories.
* tests/libtest.h: Add define WGET_TEST_FS_CASEMATTERS
* tests/test--accept.c: Renamed files to avoid casing problems
* tests/test-wget-1.c: Skip casing tests on case-sensitive filesystem
2016-05-19 16:55:43 +02:00
dd3c2f63b2
Updated copyright year for all relevant files
2016-01-25 13:06:21 +01:00
7250e6ccb9
Add symbol visibility control to libwget
...
* autogen.sh: Add gnulib module lib-symbol-visibility,
add --libtool to gnulib-tool invokation
* examples/Makefile.am: Remove -static from AM_LDFLAGS,
remove ../lib/libgnu.a from LDADD
* include/libwget.h.in: Define LIBWGET_EXPORT,
add LIBWGET_EXPORT to all visible symbols
* libwget/Makefile.am: Remove AM_CPPFLAGS and LDADD,
add libwget_la_CPPFLAGS and libwget_la_LIBADD,
add test_linking_CPPFLAGS, fix test_linking_LDADD
* libwget/iri.c: Add LIBWGET_EXPORT to wget_iri_schemes and iri_ports
* src/Makefile.am: Remove wget2_LDFLAGS, fix wget2_LDADD
* tests/Makefile.am: Fix LDADD, fix test_LDADD, fix test_parse_html_LDADD,
fix libtest_la_CPPFLAGS and libtest_la_LIBADD
* tests/libtest.h: Add LIBWGET_EXPORT to symbols
2016-01-15 11:21:35 +01:00
3cb9027e51
Add extension of test suite port variables in response headers
...
* tests/libtest.h: Add member header_alloc to wget_test_url_t
* tests/libtest.c: Extend port vars in response headers
2015-10-20 22:41:36 +02:00
0f8e49128a
Transfer copyright to Free Software Foundation, Inc.
2015-09-22 11:50:06 +02:00
c6b0e461a1
Transform Mget into Wget
2015-09-19 22:54:38 +02:00
9de3f85c77
Add AUTH command to FTP test suite
2015-07-12 21:01:56 +02:00
a7d9d4fcf3
Add FTPS server to test suite
2015-07-11 10:01:36 +02:00
c0a5561afc
Allow ordered and unordered I/O for FTP test suite
2015-07-11 09:35:26 +02:00
91beea791e
Add first FTP testing capability
2015-07-09 21:26:22 +02:00
1187e0aac5
fixed directory clashes and added test-directory-clash
2014-09-22 12:13:37 +02:00
7533f67118
fixed some minor warnings
2014-02-02 21:07:51 +01:00
f93a03830d
fine tuning on some library functions
2013-09-25 17:12:03 +02:00
68f6865964
more work on the test suite
2013-09-19 17:11:48 +02:00
3cf32c4828
more tests
2013-07-27 13:03:12 +02:00
83ec284bfe
let HTTP test server understand Range headers
2013-03-28 21:57:57 +01:00
f24c8d8b08
converted more tests from Perl to C
2013-03-17 21:34:51 +01:00
354d54ed38
work on test suite
2013-03-13 22:52:47 +01:00
616496f183
new C testsuite
2013-03-10 21:41:39 +01:00