tests: use %LOGDIR to refer to the log directory
—
$ git checkout -f e7a021e13551f221e13f4c99a245482ca9a2af1b
Previous HEAD position was 6e3734f74f tests: fix unit tests to run with a dynamic log directory
HEAD is now at e7a021e135 tests: use %LOGDIR to refer to the log directory
$ git clean -fdx
Removing Makefile
Removing Makefile.in
Removing aclocal.m4
Removing autom4te.cache/
Removing compile
Removing config.guess
Removing config.log
Removing config.status
Removing config.sub
Removing configure
Removing curl-config
Removing depcomp
Removing docs/Makefile
Removing docs/Makefile.in
Removing docs/cmdline-opts/Makefile
Removing docs/cmdline-opts/Makefile.in
Removing docs/curl.1
Removing docs/examples/.deps/
Removing docs/examples/Makefile
Removing docs/examples/Makefile.in
Removing docs/libcurl/Makefile
Removing docs/libcurl/Makefile.in
Removing docs/libcurl/opts/Makefile
Removing docs/libcurl/opts/Makefile.in
Removing include/Makefile
Removing include/Makefile.in
Removing include/curl/Makefile
Removing include/curl/Makefile.in
Removing install-sh
Removing lib/.deps/
Removing lib/.dirstamp
Removing lib/.libs/
Removing lib/Makefile
Removing lib/Makefile.in
Removing lib/curl_config.h
Removing lib/curl_config.h.in
Removing lib/curl_multibyte.o
Removing lib/dynbuf.o
Removing lib/libcurl.la
Removing lib/libcurl.plist
Removing lib/libcurl.vers
Removing lib/libcurl_la-altsvc.lo
Removing lib/libcurl_la-altsvc.o
Removing lib/libcurl_la-amigaos.lo
Removing lib/libcurl_la-amigaos.o
Removing lib/libcurl_la-asyn-ares.lo
Removing lib/libcurl_la-asyn-ares.o
Removing lib/libcurl_la-asyn-thread.lo
Removing lib/libcurl_la-asyn-thread.o
Removing lib/libcurl_la-base64.lo
Removing lib/libcurl_la-base64.o
Removing lib/libcurl_la-bufq.lo
Removing lib/libcurl_la-bufq.o
Removing lib/libcurl_la-bufref.lo
Removing lib/libcurl_la-bufref.o
Removing lib/libcurl_la-c-hyper.lo
Removing lib/libcurl_la-c-hyper.o
Removing lib/libcurl_la-cf-https-connect.lo
Removing lib/libcurl_la-cf-https-connect.o
Removing lib/libcurl_la-cf-socket.lo
Removing lib/libcurl_la-cf-socket.o
Removing lib/libcurl_la-cfilters.lo
Removing lib/libcurl_la-cfilters.o
Removing lib/libcurl_la-conncache.lo
Removing lib/libcurl_la-conncache.o
Removing lib/libcurl_la-connect.lo
Removing lib/libcurl_la-connect.o
Removing lib/libcurl_la-content_encoding.lo
Removing lib/libcurl_la-content_encoding.o
Removing lib/libcurl_la-cookie.lo
Removing lib/libcurl_la-cookie.o
Removing lib/libcurl_la-curl_addrinfo.lo
Removing lib/libcurl_la-curl_addrinfo.o
Removing lib/libcurl_la-curl_des.lo
Removing lib/libcurl_la-curl_des.o
Removing lib/libcurl_la-curl_endian.lo
Removing lib/libcurl_la-curl_endian.o
Removing lib/libcurl_la-curl_fnmatch.lo
Removing lib/libcurl_la-curl_fnmatch.o
Removing lib/libcurl_la-curl_get_line.lo
Removing lib/libcurl_la-curl_get_line.o
Removing lib/libcurl_la-curl_gethostname.lo
Removing lib/libcurl_la-curl_gethostname.o
Removing lib/libcurl_la-curl_gssapi.lo
Removing lib/libcurl_la-curl_gssapi.o
Removing lib/libcurl_la-curl_log.lo
Removing lib/libcurl_la-curl_log.o
Removing lib/libcurl_la-curl_memrchr.lo
Removing lib/libcurl_la-curl_memrchr.o
Removing lib/libcurl_la-curl_multibyte.lo
Removing lib/libcurl_la-curl_multibyte.o
Removing lib/libcurl_la-curl_ntlm_core.lo
Removing lib/libcurl_la-curl_ntlm_core.o
Removing lib/libcurl_la-curl_ntlm_wb.lo
Removing lib/libcurl_la-curl_ntlm_wb.o
Removing lib/libcurl_la-curl_path.lo
Removing lib/libcurl_la-curl_path.o
Removing lib/libcurl_la-curl_range.lo
Removing lib/libcurl_la-curl_range.o
Removing lib/libcurl_la-curl_rtmp.lo
Removing lib/libcurl_la-curl_rtmp.o
Removing lib/libcurl_la-curl_sasl.lo
Removing lib/libcurl_la-curl_sasl.o
Removing lib/libcurl_la-curl_sspi.lo
Removing lib/libcurl_la-curl_sspi.o
Removing lib/libcurl_la-curl_threads.lo
Removing lib/libcurl_la-curl_threads.o
Removing lib/libcurl_la-dict.lo
Removing lib/libcurl_la-dict.o
Removing lib/libcurl_la-doh.lo
Removing lib/libcurl_la-doh.o
Removing lib/libcurl_la-dynbuf.lo
Removing lib/libcurl_la-dynbuf.o
Removing lib/libcurl_la-dynhds.lo
Removing lib/libcurl_la-dynhds.o
Removing lib/libcurl_la-easy.lo
Removing lib/libcurl_la-easy.o
Removing lib/libcurl_la-easygetopt.lo
Removing lib/libcurl_la-easygetopt.o
Removing lib/libcurl_la-easyoptions.lo
Removing lib/libcurl_la-easyoptions.o
Removing lib/libcurl_la-escape.lo
Removing lib/libcurl_la-escape.o
Removing lib/libcurl_la-file.lo
Removing lib/libcurl_la-file.o
Removing lib/libcurl_la-fileinfo.lo
Removing lib/libcurl_la-fileinfo.o
Removing lib/libcurl_la-fopen.lo
Removing lib/libcurl_la-fopen.o
Removing lib/libcurl_la-formdata.lo
Removing lib/libcurl_la-formdata.o
Removing lib/libcurl_la-ftp.lo
Removing lib/libcurl_la-ftp.o
Removing lib/libcurl_la-ftplistparser.lo
Removing lib/libcurl_la-ftplistparser.o
Removing lib/libcurl_la-getenv.lo
Removing lib/libcurl_la-getenv.o
Removing lib/libcurl_la-getinfo.lo
Removing lib/libcurl_la-getinfo.o
Removing lib/libcurl_la-gopher.lo
Removing lib/libcurl_la-gopher.o
Removing lib/libcurl_la-h2h3.lo
Removing lib/libcurl_la-h2h3.o
Removing lib/libcurl_la-hash.lo
Removing lib/libcurl_la-hash.o
Removing lib/libcurl_la-headers.lo
Removing lib/libcurl_la-headers.o
Removing lib/libcurl_la-hmac.lo
Removing lib/libcurl_la-hmac.o
Removing lib/libcurl_la-hostasyn.lo
Removing lib/libcurl_la-hostasyn.o
Removing lib/libcurl_la-hostip.lo
Removing lib/libcurl_la-hostip.o
Removing lib/libcurl_la-hostip4.lo
Removing lib/libcurl_la-hostip4.o
Removing lib/libcurl_la-hostip6.lo
Removing lib/libcurl_la-hostip6.o
Removing lib/libcurl_la-hostsyn.lo
Removing lib/libcurl_la-hostsyn.o
Removing lib/libcurl_la-hsts.lo
Removing lib/libcurl_la-hsts.o
Removing lib/libcurl_la-http.lo
Removing lib/libcurl_la-http.o
Removing lib/libcurl_la-http2.lo
Removing lib/libcurl_la-http2.o
Removing lib/libcurl_la-http_aws_sigv4.lo
Removing lib/libcurl_la-http_aws_sigv4.o
Removing lib/libcurl_la-http_chunks.lo
Removing lib/libcurl_la-http_chunks.o
Removing lib/libcurl_la-http_digest.lo
Removing lib/libcurl_la-http_digest.o
Removing lib/libcurl_la-http_negotiate.lo
Removing lib/libcurl_la-http_negotiate.o
Removing lib/libcurl_la-http_ntlm.lo
Removing lib/libcurl_la-http_ntlm.o
Removing lib/libcurl_la-http_proxy.lo
Removing lib/libcurl_la-http_proxy.o
Removing lib/libcurl_la-idn.lo
Removing lib/libcurl_la-idn.o
Removing lib/libcurl_la-if2ip.lo
Removing lib/libcurl_la-if2ip.o
Removing lib/libcurl_la-imap.lo
Removing lib/libcurl_la-imap.o
Removing lib/libcurl_la-inet_ntop.lo
Removing lib/libcurl_la-inet_ntop.o
Removing lib/libcurl_la-inet_pton.lo
Removing lib/libcurl_la-inet_pton.o
Removing lib/libcurl_la-krb5.lo
Removing lib/libcurl_la-krb5.o
Removing lib/libcurl_la-ldap.lo
Removing lib/libcurl_la-ldap.o
Removing lib/libcurl_la-llist.lo
Removing lib/libcurl_la-llist.o
Removing lib/libcurl_la-md4.lo
Removing lib/libcurl_la-md4.o
Removing lib/libcurl_la-md5.lo
Removing lib/libcurl_la-md5.o
Removing lib/libcurl_la-memdebug.lo
Removing lib/libcurl_la-memdebug.o
Removing lib/libcurl_la-mime.lo
Removing lib/libcurl_la-mime.o
Removing lib/libcurl_la-mprintf.lo
Removing lib/libcurl_la-mprintf.o
Removing lib/libcurl_la-mqtt.lo
Removing lib/libcurl_la-mqtt.o
Removing lib/libcurl_la-multi.lo
Removing lib/libcurl_la-multi.o
Removing lib/libcurl_la-netrc.lo
Removing lib/libcurl_la-netrc.o
Removing lib/libcurl_la-nonblock.lo
Removing lib/libcurl_la-nonblock.o
Removing lib/libcurl_la-noproxy.lo
Removing lib/libcurl_la-noproxy.o
Removing lib/libcurl_la-openldap.lo
Removing lib/libcurl_la-openldap.o
Removing lib/libcurl_la-parsedate.lo
Removing lib/libcurl_la-parsedate.o
Removing lib/libcurl_la-pingpong.lo
Removing lib/libcurl_la-pingpong.o
Removing lib/libcurl_la-pop3.lo
Removing lib/libcurl_la-pop3.o
Removing lib/libcurl_la-progress.lo
Removing lib/libcurl_la-progress.o
Removing lib/libcurl_la-psl.lo
Removing lib/libcurl_la-psl.o
Removing lib/libcurl_la-rand.lo
Removing lib/libcurl_la-rand.o
Removing lib/libcurl_la-rename.lo
Removing lib/libcurl_la-rename.o
Removing lib/libcurl_la-rtsp.lo
Removing lib/libcurl_la-rtsp.o
Removing lib/libcurl_la-select.lo
Removing lib/libcurl_la-select.o
Removing lib/libcurl_la-sendf.lo
Removing lib/libcurl_la-sendf.o
Removing lib/libcurl_la-setopt.lo
Removing lib/libcurl_la-setopt.o
Removing lib/libcurl_la-sha256.lo
Removing lib/libcurl_la-sha256.o
Removing lib/libcurl_la-share.lo
Removing lib/libcurl_la-share.o
Removing lib/libcurl_la-slist.lo
Removing lib/libcurl_la-slist.o
Removing lib/libcurl_la-smb.lo
Removing lib/libcurl_la-smb.o
Removing lib/libcurl_la-smtp.lo
Removing lib/libcurl_la-smtp.o
Removing lib/libcurl_la-socketpair.lo
Removing lib/libcurl_la-socketpair.o
Removing lib/libcurl_la-socks.lo
Removing lib/libcurl_la-socks.o
Removing lib/libcurl_la-socks_gssapi.lo
Removing lib/libcurl_la-socks_gssapi.o
Removing lib/libcurl_la-socks_sspi.lo
Removing lib/libcurl_la-socks_sspi.o
Removing lib/libcurl_la-speedcheck.lo
Removing lib/libcurl_la-speedcheck.o
Removing lib/libcurl_la-splay.lo
Removing lib/libcurl_la-splay.o
Removing lib/libcurl_la-strcase.lo
Removing lib/libcurl_la-strcase.o
Removing lib/libcurl_la-strdup.lo
Removing lib/libcurl_la-strdup.o
Removing lib/libcurl_la-strerror.lo
Removing lib/libcurl_la-strerror.o
Removing lib/libcurl_la-strtok.lo
Removing lib/libcurl_la-strtok.o
Removing lib/libcurl_la-strtoofft.lo
Removing lib/libcurl_la-strtoofft.o
Removing lib/libcurl_la-system_win32.lo
Removing lib/libcurl_la-system_win32.o
Removing lib/libcurl_la-telnet.lo
Removing lib/libcurl_la-telnet.o
Removing lib/libcurl_la-tftp.lo
Removing lib/libcurl_la-tftp.o
Removing lib/libcurl_la-timediff.lo
Removing lib/libcurl_la-timediff.o
Removing lib/libcurl_la-timeval.lo
Removing lib/libcurl_la-timeval.o
Removing lib/libcurl_la-transfer.lo
Removing lib/libcurl_la-transfer.o
Removing lib/libcurl_la-url.lo
Removing lib/libcurl_la-url.o
Removing lib/libcurl_la-urlapi.lo
Removing lib/libcurl_la-urlapi.o
Removing lib/libcurl_la-version.lo
Removing lib/libcurl_la-version.o
Removing lib/libcurl_la-version_win32.lo
Removing lib/libcurl_la-version_win32.o
Removing lib/libcurl_la-warnless.lo
Removing lib/libcurl_la-warnless.o
Removing lib/libcurl_la-ws.lo
Removing lib/libcurl_la-ws.o
Removing lib/nonblock.o
Removing lib/stamp-h1
Removing lib/strtoofft.o
Removing lib/timediff.o
Removing lib/vauth/.deps/
Removing lib/vauth/.dirstamp
Removing lib/vauth/libcurl_la-cleartext.lo
Removing lib/vauth/libcurl_la-cleartext.o
Removing lib/vauth/libcurl_la-cram.lo
Removing lib/vauth/libcurl_la-cram.o
Removing lib/vauth/libcurl_la-digest.lo
Removing lib/vauth/libcurl_la-digest.o
Removing lib/vauth/libcurl_la-digest_sspi.lo
Removing lib/vauth/libcurl_la-digest_sspi.o
Removing lib/vauth/libcurl_la-gsasl.lo
Removing lib/vauth/libcurl_la-gsasl.o
Removing lib/vauth/libcurl_la-krb5_gssapi.lo
Removing lib/vauth/libcurl_la-krb5_gssapi.o
Removing lib/vauth/libcurl_la-krb5_sspi.lo
Removing lib/vauth/libcurl_la-krb5_sspi.o
Removing lib/vauth/libcurl_la-ntlm.lo
Removing lib/vauth/libcurl_la-ntlm.o
Removing lib/vauth/libcurl_la-ntlm_sspi.lo
Removing lib/vauth/libcurl_la-ntlm_sspi.o
Removing lib/vauth/libcurl_la-oauth2.lo
Removing lib/vauth/libcurl_la-oauth2.o
Removing lib/vauth/libcurl_la-spnego_gssapi.lo
Removing lib/vauth/libcurl_la-spnego_gssapi.o
Removing lib/vauth/libcurl_la-spnego_sspi.lo
Removing lib/vauth/libcurl_la-spnego_sspi.o
Removing lib/vauth/libcurl_la-vauth.lo
Removing lib/vauth/libcurl_la-vauth.o
Removing lib/version_win32.o
Removing lib/vquic/.deps/
Removing lib/vquic/.dirstamp
Removing lib/vquic/libcurl_la-curl_msh3.lo
Removing lib/vquic/libcurl_la-curl_msh3.o
Removing lib/vquic/libcurl_la-curl_ngtcp2.lo
Removing lib/vquic/libcurl_la-curl_ngtcp2.o
Removing lib/vquic/libcurl_la-curl_quiche.lo
Removing lib/vquic/libcurl_la-curl_quiche.o
Removing lib/vquic/libcurl_la-vquic.lo
Removing lib/vquic/libcurl_la-vquic.o
Removing lib/vssh/.deps/
Removing lib/vssh/.dirstamp
Removing lib/vssh/libcurl_la-libssh.lo
Removing lib/vssh/libcurl_la-libssh.o
Removing lib/vssh/libcurl_la-libssh2.lo
Removing lib/vssh/libcurl_la-libssh2.o
Removing lib/vssh/libcurl_la-wolfssh.lo
Removing lib/vssh/libcurl_la-wolfssh.o
Removing lib/vtls/.deps/
Removing lib/vtls/.dirstamp
Removing lib/vtls/libcurl_la-bearssl.lo
Removing lib/vtls/libcurl_la-bearssl.o
Removing lib/vtls/libcurl_la-gskit.lo
Removing lib/vtls/libcurl_la-gskit.o
Removing lib/vtls/libcurl_la-gtls.lo
Removing lib/vtls/libcurl_la-gtls.o
Removing lib/vtls/libcurl_la-hostcheck.lo
Removing lib/vtls/libcurl_la-hostcheck.o
Removing lib/vtls/libcurl_la-keylog.lo
Removing lib/vtls/libcurl_la-keylog.o
Removing lib/vtls/libcurl_la-mbedtls.lo
Removing lib/vtls/libcurl_la-mbedtls.o
Removing lib/vtls/libcurl_la-mbedtls_threadlock.lo
Removing lib/vtls/libcurl_la-mbedtls_threadlock.o
Removing lib/vtls/libcurl_la-nss.lo
Removing lib/vtls/libcurl_la-nss.o
Removing lib/vtls/libcurl_la-openssl.lo
Removing lib/vtls/libcurl_la-openssl.o
Removing lib/vtls/libcurl_la-rustls.lo
Removing lib/vtls/libcurl_la-rustls.o
Removing lib/vtls/libcurl_la-schannel.lo
Removing lib/vtls/libcurl_la-schannel.o
Removing lib/vtls/libcurl_la-schannel_verify.lo
Removing lib/vtls/libcurl_la-schannel_verify.o
Removing lib/vtls/libcurl_la-sectransp.lo
Removing lib/vtls/libcurl_la-sectransp.o
Removing lib/vtls/libcurl_la-vtls.lo
Removing lib/vtls/libcurl_la-vtls.o
Removing lib/vtls/libcurl_la-wolfssl.lo
Removing lib/vtls/libcurl_la-wolfssl.o
Removing lib/vtls/libcurl_la-x509asn1.lo
Removing lib/vtls/libcurl_la-x509asn1.o
Removing lib/warnless.o
Removing libcurl.pc
Removing libtool
Removing ltmain.sh
Removing m4/libtool.m4
Removing m4/ltoptions.m4
Removing m4/ltsugar.m4
Removing m4/ltversion.m4
Removing m4/lt~obsolete.m4
Removing missing
Removing packages/Makefile
Removing packages/Makefile.in
Removing packages/vms/Makefile
Removing packages/vms/Makefile.in
Removing scripts/Makefile
Removing scripts/Makefile.in
Removing src/.deps/
Removing src/.libs/
Removing src/Makefile
Removing src/Makefile.in
Removing src/curl
Removing src/slist_wc.o
Removing src/tool_binmode.o
Removing src/tool_bname.o
Removing src/tool_cb_dbg.o
Removing src/tool_cb_hdr.o
Removing src/tool_cb_prg.o
Removing src/tool_cb_rea.o
Removing src/tool_cb_see.o
Removing src/tool_cb_wrt.o
Removing src/tool_cfgable.o
Removing src/tool_dirhie.o
Removing src/tool_doswin.o
Removing src/tool_easysrc.o
Removing src/tool_filetime.o
Removing src/tool_findfile.o
Removing src/tool_formparse.o
Removing src/tool_getparam.o
Removing src/tool_getpass.o
Removing src/tool_help.o
Removing src/tool_helpers.o
Removing src/tool_hugehelp.c
Removing src/tool_hugehelp.o
Removing src/tool_libinfo.o
Removing src/tool_listhelp.o
Removing src/tool_main.o
Removing src/tool_msgs.o
Removing src/tool_operate.o
Removing src/tool_operhlp.o
Removing src/tool_paramhlp.o
Removing src/tool_parsecfg.o
Removing src/tool_progress.o
Removing src/tool_setopt.o
Removing src/tool_sleep.o
Removing src/tool_stderr.o
Removing src/tool_strdup.o
Removing src/tool_urlglob.o
Removing src/tool_util.o
Removing src/tool_vms.o
Removing src/tool_writeout.o
Removing src/tool_writeout_json.o
Removing src/tool_xattr.o
Removing test-driver
Removing tests/Makefile
Removing tests/Makefile.in
Removing tests/certs/Makefile
Removing tests/certs/Makefile.in
Removing tests/certs/scripts/Makefile
Removing tests/certs/scripts/Makefile.in
Removing tests/config
Removing tests/configurehelp.pm
Removing tests/data/Makefile
Removing tests/data/Makefile.in
Removing tests/http/Makefile
Removing tests/http/Makefile.in
Removing tests/http/config.ini
Removing tests/libtest/.deps/
Removing tests/libtest/Makefile
Removing tests/libtest/Makefile.in
Removing tests/server/.deps/
Removing tests/server/Makefile
Removing tests/server/Makefile.in
Removing tests/unit/.deps/
Removing tests/unit/Makefile
Removing tests/unit/Makefile.in
$ autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:123: installing './compile'
configure.ac:416: installing './config.guess'
configure.ac:416: installing './config.sub'
configure.ac:123: installing './install-sh'
configure.ac:129: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
$ bash -c find . -name config.guess -exec cp /usr/share/misc/config.guess {} \;
$ bash -c find . -name config.sub -exec cp /usr/share/misc/config.sub {} \;
$ chmod +x configure
$ ./configure --disable-shared --without-ssl --disable-docs
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable ECH support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... ccache gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether ccache gcc accepts -g... yes
checking for ccache gcc option to enable C11 features... none needed
checking whether ccache gcc understands -c and -o together... yes
checking how to run the C preprocessor... ccache gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of ccache gcc... gcc3
checking curl version... 8.1.0-DEV
checking for httpd... no
checking for apache2... no
checking for apachectl... no
checking for apxs... no
configure: httpd/apache2 not in PATH, httpd tests disabled
configure: apxs not in PATH, httpd tests disabled
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by ccache gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from ccache gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if ccache gcc supports -fno-rtti -fno-exceptions... no
checking for ccache gcc option to produce PIC... -fPIC -DPIC
checking if ccache gcc PIC flag -fPIC -DPIC works... yes
checking if ccache gcc static flag -static works... yes
checking if ccache gcc supports -c -o file.o... yes
checking if ccache gcc supports -c -o file.o... (cached) yes
checking whether the ccache gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... yes
checking for windres... no
checking for inline... inline
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: -O2
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking whether build target supports WIN32 crypto API... no
checking for good-to-use Darwin CFLAGS... no
checking whether to link macOS CoreFoundation and SystemConfiguration framework... no
checking to see if the compiler supports __builtin_available()... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking for brotli/decode.h... no
checking for ZSTD_createDStream in -lzstd... no
checking for zstd.h... no
checking for lber.h... no
checking for ldap.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... cannot find LDAP libraries
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no
checking for library containing psl_builtin... -lpsl
checking for library containing gsasl_init... no
checking for RTMP_Init in -lrtmp... no
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... no
checking for idn2.h... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... no
checking for nghttp2_session_set_local_window_size in -lnghttp2... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for fish options with pkg-config... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netinet/udp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for fcntl.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... no
checking for sys/wait.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking size of curl_socket_t... 4
checking for long long... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking for suseconds_t... yes
checking if time_t is unsigned... no
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for net/if.h... (cached) yes
checking if if_nametoindex can be linked... yes
checking if if_nametoindex is prototyped... yes
checking if if_nametoindex is compilable... yes
checking if if_nametoindex usage allowed... yes
checking if if_nametoindex might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if memrchr can be linked... yes
checking if memrchr is prototyped... no
checking if memrchr might be used... no
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking for sys/types.h... (cached) yes
checking for signal.h... yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for ccache gcc options needed to detect all undeclared functions... none needed
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for fchmod... yes
checking for fork... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for sched_yield... yes
checking for sendmsg... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for snprintf... yes
checking for utime... yes
checking for utimes... yes
checking for arc4random... no
checking deeper for arc4random... but still no
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking whether to enable the threaded resolver... yes
checking whether to use POSIX threads for threaded resolver... auto
checking for pthread.h... yes
checking for pthread_create... yes
checking convert -I options to -isystem... yes
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to support NTLM... yes
checking whether to enable NTLM delegation to winbind's helper... no
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support socketpair... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support DNS shuffling... yes
checking whether to support curl_easy_option*... yes
checking whether to support alt-svc... yes
checking whether to support headers-api... yes
configure: disables HSTS due to lack of SSL
checking whether to support WebSockets... no
checking whether hiding of library internal symbols will actually happen... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating lib/libcurl.plist
config.status: creating tests/Makefile
config.status: creating tests/config
config.status: creating tests/certs/Makefile
config.status: creating tests/certs/scripts/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/http/config.ini
config.status: creating tests/http/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: ccache gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CPPFLAGS:
LDFLAGS:
LIBS: -lpsl -lz
curl version: 8.1.0-DEV
SSL: no (--with-{openssl,gnutls,nss,mbedtls,wolfssl,schannel,secure-transport,amissl,bearssl,rustls} )
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca fallback:
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: enabled
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: no (--enable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2, --with-hyper)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)
ECH: no (--enable-ech)
WebSockets: no (--enable-websockets)
Protocols: DICT FILE FTP GOPHER HTTP IMAP MQTT POP3 RTSP SMTP TELNET TFTP
Features: AsynchDNS IPv6 Largefile PSL UnixSockets alt-svc libz threadsafe
configure: WARNING: unrecognized options: --disable-docs
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
configure: WARNING: libgsasl was not found
configure: WARNING: Cannot find libraries for IDN support: IDN disabled
configure: WARNING: unrecognized options: --disable-docs
$ make -j3
Making all in lib
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
make all-am
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
CC libcurl_la-altsvc.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-thread.lo
CC libcurl_la-base64.lo
CC libcurl_la-bufq.lo
CC libcurl_la-bufref.lo
CC libcurl_la-c-hyper.lo
CC libcurl_la-cf-https-connect.lo
CC libcurl_la-cf-socket.lo
CC libcurl_la-cfilters.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_log.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_multibyte.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_ntlm_wb.lo
CC libcurl_la-curl_path.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dynbuf.lo
CC libcurl_la-dynhds.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-fopen.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-h2h3.lo
CC libcurl_la-hash.lo
CC libcurl_la-headers.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostasyn.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hostsyn.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-idn.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-imap.lo
CC libcurl_la-inet_ntop.lo
CC libcurl_la-inet_pton.lo
CC libcurl_la-krb5.lo
CC libcurl_la-ldap.lo
CC libcurl_la-md4.lo
CC libcurl_la-llist.lo
CC libcurl_la-md5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-mime.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-mqtt.lo
CC libcurl_la-multi.lo
CC libcurl_la-netrc.lo
CC libcurl_la-nonblock.lo
CC libcurl_la-noproxy.lo
CC libcurl_la-openldap.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-pop3.lo
CC libcurl_la-progress.lo
CC libcurl_la-psl.lo
CC libcurl_la-rand.lo
CC libcurl_la-rename.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-select.lo
CC libcurl_la-sendf.lo
CC libcurl_la-setopt.lo
CC libcurl_la-sha256.lo
CC libcurl_la-share.lo
CC libcurl_la-slist.lo
CC libcurl_la-smb.lo
CC libcurl_la-smtp.lo
CC libcurl_la-socketpair.lo
CC libcurl_la-socks.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-splay.lo
CC libcurl_la-strcase.lo
CC libcurl_la-strdup.lo
CC libcurl_la-strerror.lo
CC libcurl_la-strtok.lo
CC libcurl_la-strtoofft.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-telnet.lo
CC libcurl_la-tftp.lo
CC libcurl_la-timediff.lo
CC libcurl_la-timeval.lo
CC libcurl_la-transfer.lo
CC libcurl_la-url.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-version.lo
CC libcurl_la-version_win32.lo
CC libcurl_la-warnless.lo
CC libcurl_la-ws.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-gsasl.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vauth/libcurl_la-vauth.lo
CC vtls/libcurl_la-bearssl.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-hostcheck.lo
CC vtls/libcurl_la-keylog.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mbedtls_threadlock.lo
CC vtls/libcurl_la-nss.lo
CC vtls/libcurl_la-openssl.lo
CC vtls/libcurl_la-rustls.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-x509asn1.lo
CC vquic/libcurl_la-curl_msh3.lo
CC vquic/libcurl_la-curl_ngtcp2.lo
CC vquic/libcurl_la-curl_quiche.lo
CC vquic/libcurl_la-vquic.lo
CC vssh/libcurl_la-libssh.lo
CC vssh/libcurl_la-libssh2.lo
CC vssh/libcurl_la-wolfssh.lo
CCLD libcurl.la
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
Making all in src
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/src'
Making all in ../docs
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
Making all in .
make[3]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
if test "..x" != "..x" -a -e "./curl.1"; then \
/usr/bin/install -c -m 644 "./curl.1" /root/asi_db/builds/curl/_worktrees/w0/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs/cmdline-opts'
GENERATE ../../docs/curl.1
make[4]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs/cmdline-opts'
make[3]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
Making all in cmdline-opts
make[3]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs/cmdline-opts'
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/src'
CC tool_binmode.o
CC slist_wc.o
CC tool_bname.o
CC tool_cb_dbg.o
CC tool_cb_hdr.o
CC tool_cb_prg.o
CC tool_cb_rea.o
CC tool_cb_see.o
CC tool_cb_wrt.o
CC tool_cfgable.o
CC tool_dirhie.o
CC tool_doswin.o
CC tool_easysrc.o
CC tool_filetime.o
CC tool_findfile.o
CC tool_formparse.o
CC tool_getparam.o
CC tool_getpass.o
CC tool_help.o
CC tool_helpers.o
HUGE tool_hugehelp.c
CC tool_libinfo.o
CC tool_listhelp.o
CC tool_main.o
CC tool_msgs.o
CC tool_operate.o
CC tool_operhlp.o
CC tool_paramhlp.o
CC tool_parsecfg.o
CC tool_progress.o
CC tool_stderr.o
CC tool_strdup.o
CC tool_setopt.o
CC tool_sleep.o
CC tool_urlglob.o
CC tool_util.o
CC tool_vms.o
CC tool_writeout.o
CC tool_writeout_json.o
CC tool_xattr.o
CC ../lib/strtoofft.o
CC ../lib/timediff.o
CC ../lib/nonblock.o
CC ../lib/warnless.o
CC ../lib/curl_multibyte.o
CC ../lib/version_win32.o
CC ../lib/dynbuf.o
CC tool_hugehelp.o
CCLD curl
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/src'
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/src'
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0'
| @@ -409,6 +409,7 @@ LineageOS | |
| linux | |
| ln | |
| localhost | |
| + | LOGDIR |
| logfile | |
| lookups | |
| loopback | |
| @@ -586,6 +587,7 @@ pthreads | |
| PTR | |
| ptr | |
| punycode | |
| + | PWD |
| py | |
| pycurl | |
| pytest | |
| @@ -24,8 +24,8 @@ with a `testcase` tag, which encompasses the remainder of the file. | |
| When a test is to be executed, the source file is first preprocessed and | |
| variables are substituted by their respective contents and the output | |
| - | version of the test file is stored as `log/testNUM`. That version is what will |
| - | be read and used by the test servers. |
| + | version of the test file is stored as `%LOGDIR/testNUM`. That version is what |
| + | will be read and used by the test servers. |
| ## Base64 Encoding | |
| @@ -137,6 +137,7 @@ Available substitute variables include: | |
| - `%SOCKSUNIXPATH` - Absolute Path to the Unix socket of the SOCKS server | |
| - `%IMAP6PORT` - IPv6 port number of the IMAP server | |
| - `%IMAPPORT` - Port number of the IMAP server | |
| + | - `%LOGDIR` - Log directory relative to %PWD |
| - `%MQTTPORT` - Port number of the MQTT server | |
| - `%TELNETPORT` - Port number of the telnet server | |
| - `%NOLISTENPORT` - Port number where no service is listening | |
| @@ -554,7 +555,7 @@ parameter is the not negative integer number of seconds for the delay. This | |
| 'delay' attribute is intended for specific test cases, and normally not | |
| needed. | |
| - | ### `<file name="log/filename" [nonewline="yes"]>` |
| + | ### `<file name="%LOGDIR/filename" [nonewline="yes"]>` |
| This creates the named file with this content before the test case is run, | |
| which is useful if the test case needs a file to act on. | |
| @@ -620,7 +621,7 @@ before comparing with the one actually received by the client | |
| `crlf=yes` forces the newlines to become CRLF even if not written so in the | |
| test. | |
| - | ### `<file name="log/filename" [mode="text"]>` |
| + | ### `<file name="%LOGDIR/filename" [mode="text"]>` |
| The file's contents must be identical to this after the test is complete. Use | |
| the mode="text" attribute if the output is in text mode on platforms that have | |
| a text/binary difference. | |
| @@ -26,9 +26,9 @@ http | |
| simple HTTP PUT from file | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -72,9 +72,9 @@ proxy | |
| HTTP POST --digest with PUT and resumed upload and modified method | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T %LOGDIR/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -71,9 +71,9 @@ proxy | |
| HTTP PUT with Digest auth, resumed upload and modified method, twice | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 -T log/%TESTNUMBER -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 -T %LOGDIR/%TESTNUMBER -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -17,9 +17,9 @@ tftp | |
| TFTP send with invalid permission on server | |
| </name> | |
| <command> | |
| - | -T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file |
| + | -T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| This data will not be sent | |
| </file> | |
| </client> | |
| @@ -23,7 +23,7 @@ Compare curl --version with curl-config --protocols | |
| --version | |
| </command> | |
| <postcheck> | |
| - | %SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config log/stdout%TESTNUMBER protocols |
| + | %SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config %LOGDIR/stdout%TESTNUMBER protocols |
| </postcheck> | |
| </client> | |
| @@ -23,7 +23,7 @@ Compare curl --version with curl-config --features | |
| --version | |
| </command> | |
| <postcheck> | |
| - | %SRCDIR/libtest/test1013.pl ../curl-config log/stdout%TESTNUMBER features |
| + | %SRCDIR/libtest/test1013.pl ../curl-config %LOGDIR/stdout%TESTNUMBER features |
| </postcheck> | |
| </client> | |
| @@ -28,9 +28,9 @@ http | |
| --data-urlencode | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@log/%TESTNUMBER.txt" --data-urlencode @log/%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/%TESTNUMBER.txt"> |
| content to _?!#$'|<> | |
| </file> | |
| </client> | |
| @@ -23,9 +23,9 @@ file | |
| X-Y range on a file:// URL to stdout | |
| </name> | |
| <command option="no-include"> | |
| - | -r 1-4 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | -r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 1234567890 | |
| </file> | |
| </client> | |
| @@ -24,9 +24,9 @@ file | |
| 0-Y range on a file:// URL to stdout | |
| </name> | |
| <command option="no-include"> | |
| - | -r 0-3 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | -r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 1234567890 | |
| </file> | |
| </client> | |
| @@ -23,9 +23,9 @@ file | |
| X-X range on a file:// URL to stdout | |
| </name> | |
| <command option="no-include"> | |
| - | -r 4-4 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | -r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 1234567890 | |
| </file> | |
| </client> | |
| @@ -24,9 +24,9 @@ file | |
| X- range on a file:// URL to stdout | |
| </name> | |
| <command option="no-include"> | |
| - | -r 7- file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | -r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 1234567890 | |
| 1234567890 | |
| </file> | |
| @@ -24,9 +24,9 @@ file | |
| -Y range on a file:// URL to stdout | |
| </name> | |
| <command option="no-include"> | |
| - | -r -9 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | -r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 1234567890 | |
| 1234567890 | |
| </file> | |
| @@ -23,7 +23,7 @@ Compare curl --version with curl-config --version | |
| --version | |
| </command> | |
| <postcheck> | |
| - | %SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config log/stdout%TESTNUMBER version |
| + | %SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config %LOGDIR/stdout%TESTNUMBER version |
| </postcheck> | |
| </client> | |
| @@ -23,7 +23,7 @@ Compare curl --version with curl-config --vernum | |
| --version | |
| </command> | |
| <postcheck> | |
| - | %SRCDIR/libtest/test1022.pl ../curl-config log/stdout%TESTNUMBER vernum |
| + | %SRCDIR/libtest/test1022.pl ../curl-config %LOGDIR/stdout%TESTNUMBER vernum |
| </postcheck> | |
| </client> | |
| @@ -75,7 +75,7 @@ http | |
| HTTP Location: following with cookies | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c log/jar%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c %LOGDIR/jar%TESTNUMBER |
| </command> | |
| <features> | |
| cookies | |
| @@ -75,7 +75,7 @@ http | |
| HTTP Location: following with command-line and server cookies | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c log/jar%TESTNUMBER -b forcedcookie=yes |
| + | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c %LOGDIR/jar%TESTNUMBER -b forcedcookie=yes |
| </command> | |
| <features> | |
| cookies | |
| @@ -28,7 +28,7 @@ curl --manual | |
| # Search for these two sentinel lines in the manual output; if they are found, | |
| # then chances are good the entire manual is there. | |
| <postcheck> | |
| - | perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*-\s*transfer\sa\s*URL)|(CONTRIBUTORS)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout%TESTNUMBER |
| + | perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*-\s*transfer\sa\s*URL)|(CONTRIBUTORS)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' %LOGDIR/stdout%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -25,7 +25,7 @@ curl --help | |
| # Search for these two sentinel lines in the help output; if they are found, | |
| # then chances are good the entire help is there. | |
| <postcheck> | |
| - | perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout%TESTNUMBER |
| + | perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' %LOGDIR/stdout%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -67,9 +67,9 @@ crypto | |
| HTTP PUT with --anyauth authorization (picking Digest) | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -33,7 +33,7 @@ FTP download resume from end of file | |
| <command> | |
| ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C - | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| This is the start!! | |
| </file> | |
| </client> | |
| @@ -52,7 +52,7 @@ REST 20 | |
| RETR %TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| This is the start!! | |
| expected to be a file without the first part | |
| but we emulate that | |
| @@ -33,7 +33,7 @@ FTP download resume from end of empty file | |
| <command> | |
| ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C - | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| </file> | |
| </client> | |
| @@ -23,9 +23,9 @@ ftp | |
| FTP PASV upload resume from end of file | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C - |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C - |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| this is the *****cr@p******** that we're gonna upload | |
| worx? | |
| @@ -23,9 +23,9 @@ ftp | |
| FTP PASV upload resume from end of empty file | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C - |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C - |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| this is the *****cr@p******** that we're gonna upload | |
| worx? | |
| @@ -49,7 +49,7 @@ HTTP GET with resume from end of entirely-downloaded file | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -31,7 +31,7 @@ http | |
| <name> | |
| HTTP PUT with resume from end of already-uploaded file | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -44,7 +44,7 @@ HTTP PUT with resume from end of already-uploaded file | |
| 012345678 | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Tlog/test%TESTNUMBER.txt -C - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C - |
| </command> | |
| </client> | |
| @@ -61,7 +61,7 @@ HTTP GET beyond end of entirely-downloaded file, no server resume | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 200 | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -60,7 +60,7 @@ HTTP GET with resume from end of file | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -56,9 +56,9 @@ http | |
| HTTP PUT with Location: following | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -T log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -52,9 +52,9 @@ http | |
| HTTP 1.0 PUT with Location: following | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -0 -L -T log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -0 -L -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -61,10 +61,10 @@ http | |
| HTTP RFC1867-type formposting from file with Location: following | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -L -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -L -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo- | |
| This is a moo- | |
| bar | |
| @@ -47,11 +47,11 @@ http | |
| <name> | |
| HTTP POST from file with 301 redirect and --post301 | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| field=data | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @log/test%TESTNUMBER.txt --post301 |
| + | http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @%LOGDIR/test%TESTNUMBER.txt --post301 |
| </command> | |
| </client> | |
| @@ -36,9 +36,9 @@ ftp | |
| HTTP PUT Location: redirect to FTP URL | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L -T log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -28,9 +28,9 @@ Invalid large X- range on a file:// | |
| # This range value is 2**32+7, which will be truncated to the valid value 7 | |
| # if the large file support is not working correctly | |
| <command> | |
| - | -r 4294967303- file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | -r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 1234567890 | |
| 1234567890 | |
| </file> | |
| @@ -35,9 +35,9 @@ http | |
| HTTP PUT twice | |
| </name> | |
| <command> | |
| - | -H "Expect:" -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.upload2 |
| + | -H "Expect:" -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.upload2 |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -36,9 +36,9 @@ http | |
| HTTP PUT with one file but two URLs | |
| </name> | |
| <command> | |
| - | -H "Expect:" -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.url2 |
| + | -H "Expect:" -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.url2 |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -15,7 +15,7 @@ ftp | |
| <name> | |
| FTP PASV upload file | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -24,7 +24,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -32,9 +32,9 @@ http | |
| HTTP POST with server closing connection before (all) data is received | |
| </name> | |
| <command> | |
| - | -d @log/input%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Expect: 100-continue" |
| + | -d @%LOGDIR/input%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Expect: 100-continue" |
| </command> | |
| - | <file name="log/input%TESTNUMBER"> |
| + | <file name="%LOGDIR/input%TESTNUMBER"> |
| This creates the named file with this content before the test case is run, | |
| which is useful if the test case needs a file to act on. We create this file | |
| rather large (larger than your typical TCP packet) so that not all of it can nor | |
| @@ -73,9 +73,9 @@ crypto | |
| Downgraded HTTP PUT to HTTP 1.0 with authorization | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -52,9 +52,9 @@ http | |
| HTTP PUT with --anyauth authorization (picking Basic) | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -21,9 +21,9 @@ ftp | |
| FTP PORT upload with CWD | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/%TESTNUMBER -T log/upload%TESTNUMBER -P - |
| + | ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -P - |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -21,9 +21,9 @@ ftp | |
| FTP PASV upload append | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER --append |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --append |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -59,7 +59,7 @@ http | |
| HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970 | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x %HOSTIP:%HTTPPORT -c log/cookies%TESTNUMBER.jar |
| + | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x %HOSTIP:%HTTPPORT -c %LOGDIR/cookies%TESTNUMBER.jar |
| </command> | |
| <features> | |
| cookies | |
| @@ -35,7 +35,7 @@ http | |
| HTTP with cookie parser and header recording | |
| </name> | |
| <command> | |
| - | "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?parm1=this*that/other/thing&parm2=foobar/%TESTNUMBER" -c log/cookie%TESTNUMBER.txt -d "userid=myname&password=mypassword" |
| + | "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?parm1=this*that/other/thing&parm2=foobar/%TESTNUMBER" -c %LOGDIR/cookie%TESTNUMBER.txt -d "userid=myname&password=mypassword" |
| </command> | |
| <precheck> | |
| perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" | |
| @@ -57,7 +57,7 @@ Content-Type: application/x-www-form-urlencoded | |
| userid=myname&password=mypassword | |
| </protocol> | |
| - | <file name="log/cookie%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/cookie%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -57,7 +57,7 @@ http | |
| HTTP GET with chunked trailer without Trailer: | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -71,7 +71,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/heads%TESTNUMBER"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 funky chunky! | |
| Server: fakeit/0.9 fakeitbad/1.0 | |
| Transfer-Encoding: chunked | |
| @@ -20,9 +20,9 @@ ftp | |
| FTP PASV upload resume | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C 40 |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C 40 |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| this is the *****crap******** that we're gonna upload | |
| worx? | |
| @@ -41,7 +41,7 @@ skip: 1053700 | |
| # Client-side | |
| <client> | |
| # 1053700 x 'x' | |
| - | <file name="log/file%TESTNUMBER"> |
| + | <file name="%LOGDIR/file%TESTNUMBER"> |
| %repeat[1053700 x x]% | |
| </file> | |
| <server> | |
| @@ -51,7 +51,7 @@ http | |
| HTTP POST expect 100-continue with a 404 | |
| </name> | |
| <command option="no-output"> | |
| - | -d @log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 |
| + | -d @%LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 |
| </command> | |
| </client> | |
| @@ -41,7 +41,7 @@ skip: 100 | |
| # Client-side | |
| <client> | |
| # 100 x 'x' | |
| - | <file name="log/file%TESTNUMBER"> |
| + | <file name="%LOGDIR/file%TESTNUMBER"> |
| XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| </file> | |
| <server> | |
| @@ -51,7 +51,7 @@ http | |
| HTTP POST forced expect 100-continue with a 404 | |
| </name> | |
| <command option="no-output"> | |
| - | -d @log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -H "Expect: 100-continue" |
| + | -d @%LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -H "Expect: 100-continue" |
| </command> | |
| </client> | |
| @@ -41,7 +41,7 @@ skip: 100 | |
| # Client-side | |
| <client> | |
| # 100 x 'x' | |
| - | <file name="log/file%TESTNUMBER"> |
| + | <file name="%LOGDIR/file%TESTNUMBER"> |
| XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| </file> | |
| <server> | |
| @@ -51,7 +51,7 @@ http | |
| HTTP PUT expect 100-continue with a 400 | |
| </name> | |
| <command option="no-output"> | |
| - | -H "Expect: 100-continue" -T log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 |
| + | -H "Expect: 100-continue" -T %LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 |
| </command> | |
| </client> | |
| @@ -29,10 +29,10 @@ http | |
| HTTP RFC1867-type formposting with filename/data contains ',', ';', '"' | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"log/test%TESTNUMBER,and;.txt\";type=mo/foo;filename=\"faker,and;.txt\"" -F 'file2=@"log/test%TESTNUMBER,and;.txt"' -F 'file3=@"log/test%TESTNUMBER,and;.txt";type=m/f,"log/test%TESTNUMBER,and;.txt"' -F a="{\"field1\":\"value1\",\"field2\":\"value2\"}" -F 'b=" \\value1;type=\"whatever\" "; type=text/foo; charset=utf-8 ; filename=param_b' |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"%LOGDIR/test%TESTNUMBER,and;.txt\";type=mo/foo;filename=\"faker,and;.txt\"" -F 'file2=@"%LOGDIR/test%TESTNUMBER,and;.txt"' -F 'file3=@"%LOGDIR/test%TESTNUMBER,and;.txt";type=m/f,"%LOGDIR/test%TESTNUMBER,and;.txt"' -F a="{\"field1\":\"value1\",\"field2\":\"value2\"}" -F 'b=" \\value1;type=\"whatever\" "; type=text/foo; charset=utf-8 ; filename=param_b' |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER,and;.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER,and;.txt"> |
| foo bar | |
| This is a bar foo | |
| bar | |
| @@ -45,14 +45,14 @@ Check cookies against PSL | |
| TZ=GMT | |
| </setenv> | |
| <command> | |
| - | http://www.example.ck/%TESTNUMBER http://www.ck/%TESTNUMBER http://z-1.compute-1.amazonaws.com/%TESTNUMBER -b none -c log/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT |
| + | http://www.example.ck/%TESTNUMBER http://www.ck/%TESTNUMBER http://z-1.compute-1.amazonaws.com/%TESTNUMBER -b none -c %LOGDIR/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT |
| </command> | |
| </client> | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -19,9 +19,9 @@ file:// bad host | |
| # This command should not succeed since we only accept | |
| # file:/// file://localhost/ file://127.0.0.1/ | |
| <command> | |
| - | file://bad-host%PWD/log/test%TESTNUMBER.txt |
| + | file://bad-host%PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -25,9 +25,9 @@ file | |
| --proto-default file | |
| </name> | |
| <command option="no-include"> | |
| - | --proto-default file %PWD/log/test%TESTNUMBER.txt |
| + | --proto-default file %PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -35,7 +35,7 @@ http | |
| <name> | |
| Get -H headers from a file | |
| </name> | |
| - | <file name="log/heads%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER.txt"> |
| One: 1 | |
| Two: 2 | |
| no-colon | |
| @@ -46,7 +46,7 @@ no-colon | |
| User-Agent: | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H @log/heads%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H @%LOGDIR/heads%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -35,7 +35,7 @@ http | |
| progress-bar | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -# --stderr log/stderrlog%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -# --stderr %LOGDIR/stderrlog%TESTNUMBER |
| </command> | |
| <setenv> | |
| LC_ALL= | |
| @@ -56,7 +56,7 @@ Accept: */* | |
| # Check that the progress finished at 100% and has the right bar width. | |
| # Note the dot in 100.0% is regex to match any character since different | |
| # locales use different separators. | |
| - | <file name="log/stderrlog%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderrlog%TESTNUMBER" mode="text"> |
| correct | |
| </file> | |
| <stripfile> | |
| @@ -39,7 +39,7 @@ http | |
| HTTP with too long cookies | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt |
| </command> | |
| <features> | |
| cookies | |
| @@ -55,7 +55,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -28,7 +28,7 @@ http | |
| HTTP cookie with parameter word as name | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt |
| </command> | |
| <features> | |
| cookies | |
| @@ -44,7 +44,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -35,10 +35,10 @@ http | |
| <name> | |
| Get -H headers from empty file | |
| </name> | |
| - | <file name="log/heads%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER.txt"> |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H @log/heads%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H @%LOGDIR/heads%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -29,13 +29,13 @@ http | |
| HTTP RFC1867-type formposting with filename containing '"' | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"log/test%TESTNUMBER\\\".txt\";type=mo/foo;filename=\"test%TESTNUMBER\\\".txt\"" -F 'file2=@"log/test%TESTNUMBER\".txt"' -F 'file3=@"log/test%TESTNUMBER\".txt";type=m/f,"log/test%TESTNUMBER\".txt"' |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"%LOGDIR/test%TESTNUMBER\\\".txt\";type=mo/foo;filename=\"test%TESTNUMBER\\\".txt\"" -F 'file2=@"%LOGDIR/test%TESTNUMBER\".txt"' -F 'file3=@"%LOGDIR/test%TESTNUMBER\".txt";type=m/f,"%LOGDIR/test%TESTNUMBER\".txt"' |
| </command> | |
| <precheck> | |
| perl -e "print 'Test requires a system supporting double quotes in file names' if ($^O eq 'msys');" | |
| </precheck> | |
| # We create this file before the command is invoked! | |
| - | <file name=log/test%TESTNUMBER".txt> |
| + | <file name=%LOGDIR/test%TESTNUMBER".txt> |
| foo bar | |
| This is a bar foo | |
| bar | |
| @@ -29,7 +29,7 @@ http | |
| HTTP with long funny format cookie | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt |
| </command> | |
| <features> | |
| cookies | |
| @@ -45,7 +45,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -28,7 +28,7 @@ http | |
| HTTP cookie with path set twice | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt |
| </command> | |
| <features> | |
| cookies | |
| @@ -44,7 +44,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -16,12 +16,12 @@ Verify that runtests.pl accepts an -L option | |
| </name> | |
| <command type="perl"> | |
| - | %SRCDIR/runtests.pl -L %SRCDIR/log/test1196-library.pl |
| + | %SRCDIR/runtests.pl -L %SRCDIR/%LOGDIR/test1196-library.pl |
| </command> | |
| # Create a simple perl snippet that lets runtests.pl | |
| # exit with a code we can check. | |
| <precheck> | |
| - | echo 'exit 123' > %SRCDIR/log/test1196-library.pl |
| + | echo 'exit 123' > %SRCDIR/%LOGDIR/test1196-library.pl |
| </precheck> | |
| </client> | |
| @@ -34,7 +34,7 @@ http | |
| --output using #0 | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o 'log/base-#0' |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o '%LOGDIR/base-#0' |
| </command> | |
| </client> | |
| @@ -48,7 +48,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/base-#0"> |
| + | <file name="%LOGDIR/base-#0"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -16,13 +16,13 @@ Verify that runtests.pl accepts an exclude file with the -E option | |
| </name> | |
| <command type="perl"> | |
| - | %SRCDIR/runtests.pl -o TESTDIR=%SRCDIR/log/data -o LOGDIR=%SRCDIR/log/log -E %SRCDIR/log/test%TESTNUMBER-exclude-file 1 |
| + | %SRCDIR/runtests.pl -o TESTDIR=%SRCDIR/%LOGDIR/data -o LOGDIR=%SRCDIR/%LOGDIR/log -E %SRCDIR/%LOGDIR/test%TESTNUMBER-exclude-file 1 |
| </command> | |
| <precheck> | |
| - | mkdir %SRCDIR/log/data ; mkdir %SRCDIR/log/log; cp %SRCDIR/data/test1 %SRCDIR/log/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %SRCDIR/log/test%TESTNUMBER-exclude-file |
| + | mkdir %SRCDIR/%LOGDIR/data ; mkdir %SRCDIR/%LOGDIR/log; cp %SRCDIR/data/test1 %SRCDIR/%LOGDIR/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %SRCDIR/%LOGDIR/test%TESTNUMBER-exclude-file |
| </precheck> | |
| <postcheck> | |
| - | grep -q "Test should not run for unit test %TESTNUMBER" %SRCDIR/log/stdout%TESTNUMBER |
| + | grep -q "Test should not run for unit test %TESTNUMBER" %SRCDIR/%LOGDIR/stdout%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -16,9 +16,9 @@ checksrc | |
| </name> | |
| <command type="perl"> | |
| - | %SRCDIR/../scripts/checksrc.pl log/code%TESTNUMBER.c |
| + | %SRCDIR/../scripts/checksrc.pl %LOGDIR/code%TESTNUMBER.c |
| </command> | |
| - | <file name="log/code%TESTNUMBER.c"> |
| + | <file name="%LOGDIR/code%TESTNUMBER.c"> |
| /* test source code | |
| * Violate each rule at least once. | |
| **/ | |
| @@ -86,93 +86,93 @@ void startfunc(int a, int b) { | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| <stdout> | |
| - | ./log/code1185.c:4:82: warning: Longer than 79 columns (LONGLINE) |
| + | ./%LOGDIR/code1185.c:4:82: warning: Longer than 79 columns (LONGLINE) |
| int hello; /*------------------------------------------------------------------*/ | |
| - | ./log/code1185.c:5:4: error: Contains TAB character (TABS) |
| + | ./%LOGDIR/code1185.c:5:4: error: Contains TAB character (TABS) |
| int tab; | |
| ^ | |
| - | ./log/code1185.c:7:13: warning: func with space (SPACEBEFOREPAREN) |
| + | ./%LOGDIR/code1185.c:7:13: warning: func with space (SPACEBEFOREPAREN) |
| int a = func (); | |
| ^ | |
| - | ./log/code1185.c:8:14: warning: space after open parenthesis (SPACEAFTERPAREN) |
| + | ./%LOGDIR/code1185.c:8:14: warning: space after open parenthesis (SPACEAFTERPAREN) |
| int b = func( b); | |
| ^ | |
| - | ./log/code1185.c:9:16: warning: space before close parenthesis (SPACEBEFORECLOSE) |
| + | ./%LOGDIR/code1185.c:9:16: warning: space before close parenthesis (SPACEBEFORECLOSE) |
| int b = func(b ); | |
| ^ | |
| - | ./log/code1185.c:10:11: warning: space before comma (SPACEBEFORECOMMA) |
| + | ./%LOGDIR/code1185.c:10:11: warning: space before comma (SPACEBEFORECOMMA) |
| func(a, b , c); | |
| ^ | |
| - | ./log/code1185.c:14:9: warning: return without space before paren (RETURNNOSPACE) |
| + | ./%LOGDIR/code1185.c:14:9: warning: return without space before paren (RETURNNOSPACE) |
| return(2); | |
| ^ | |
| - | ./log/code1185.c:16:11: warning: comma without following space (COMMANOSPACE) |
| + | ./%LOGDIR/code1185.c:16:11: warning: comma without following space (COMMANOSPACE) |
| func(a, b,c); | |
| ^ | |
| - | ./log/code1185.c:18:12: warning: wrongly placed open brace (BRACEPOS) |
| + | ./%LOGDIR/code1185.c:18:12: warning: wrongly placed open brace (BRACEPOS) |
| if(a == 2) { | |
| ^ | |
| - | ./log/code1185.c:20:1: warning: else after closing brace on same line (BRACEELSE) |
| + | ./%LOGDIR/code1185.c:20:1: warning: else after closing brace on same line (BRACEELSE) |
| } else { | |
| ^ | |
| - | ./log/code1185.c:24:11: warning: missing space after close paren (PARENBRACE) |
| + | ./%LOGDIR/code1185.c:24:11: warning: missing space after close paren (PARENBRACE) |
| if(a == 2){ | |
| ^ | |
| - | ./log/code1185.c:28:7: warning: no space before semicolon (SPACESEMICOLON) |
| + | ./%LOGDIR/code1185.c:28:7: warning: no space before semicolon (SPACESEMICOLON) |
| func() ; | |
| ^ | |
| - | ./log/code1185.c:30:5: warning: use of sprintf is banned (BANNEDFUNC) |
| + | ./%LOGDIR/code1185.c:30:5: warning: use of sprintf is banned (BANNEDFUNC) |
| a = sprintf(buffer, "%s", moo); | |
| ^ | |
| - | ./log/code1185.c:32:11: warning: use of non-binary fopen without FOPEN_* macro: r (FOPENMODE) |
| + | ./%LOGDIR/code1185.c:32:11: warning: use of non-binary fopen without FOPEN_* macro: r (FOPENMODE) |
| FILE *f = fopen("filename", "r"); | |
| ^ | |
| - | ./log/code1185.c:34:30: warning: wrongly placed open brace (BRACEPOS) |
| + | ./%LOGDIR/code1185.c:34:30: warning: wrongly placed open brace (BRACEPOS) |
| void startfunc(int a, int b) { | |
| ^ | |
| - | ./log/code1185.c:39:6: warning: not indented 2 steps (uses 4) (INDENTATION) |
| + | ./%LOGDIR/code1185.c:39:6: warning: not indented 2 steps (uses 4) (INDENTATION) |
| func(1); | |
| ^ | |
| - | ./log/code1185.c:42:8: warning: space after declarative asterisk (ASTERISKSPACE) |
| + | ./%LOGDIR/code1185.c:42:8: warning: space after declarative asterisk (ASTERISKSPACE) |
| char * name = "hello"; | |
| ^ | |
| - | ./log/code1185.c:43:7: warning: space after declarative asterisk (ASTERISKSPACE) |
| + | ./%LOGDIR/code1185.c:43:7: warning: space after declarative asterisk (ASTERISKSPACE) |
| char* name = "hello"; | |
| ^ | |
| - | ./log/code1185.c:43:6: warning: no space before asterisk (ASTERISKNOSPACE) |
| + | ./%LOGDIR/code1185.c:43:6: warning: no space before asterisk (ASTERISKNOSPACE) |
| char* name = "hello"; | |
| ^ | |
| - | ./log/code1185.c:45:10: warning: no space after equals sign (EQUALSNOSPACE) |
| + | ./%LOGDIR/code1185.c:45:10: warning: no space after equals sign (EQUALSNOSPACE) |
| int foo=bar; | |
| ^ | |
| - | ./log/code1185.c:46:9: warning: no space before equals sign (NOSPACEEQUALS) |
| + | ./%LOGDIR/code1185.c:46:9: warning: no space before equals sign (NOSPACEEQUALS) |
| int foo= bar; | |
| ^ | |
| - | ./log/code1185.c:48:16: warning: no space after semicolon (SEMINOSPACE) |
| + | ./%LOGDIR/code1185.c:48:16: warning: no space after semicolon (SEMINOSPACE) |
| int foo = bar;foo++; | |
| ^ | |
| - | ./log/code1185.c:49:10: warning: multiple spaces (MULTISPACE) |
| + | ./%LOGDIR/code1185.c:49:10: warning: multiple spaces (MULTISPACE) |
| for(;;) { | |
| ^ | |
| - | ./log/code1185.c:50:2: warning: not indented 2 steps (uses 0) (INDENTATION) |
| + | ./%LOGDIR/code1185.c:50:2: warning: not indented 2 steps (uses 0) (INDENTATION) |
| } | |
| ^ | |
| - | ./log/code1185.c:52:16: warning: sizeof without parenthesis (SIZEOFNOPAREN) |
| + | ./%LOGDIR/code1185.c:52:16: warning: sizeof without parenthesis (SIZEOFNOPAREN) |
| int a = sizeof int; | |
| ^ | |
| - | ./log/code1185.c:53:10: warning: use of snprintf is banned (SNPRINTF) |
| + | ./%LOGDIR/code1185.c:53:10: warning: use of snprintf is banned (SNPRINTF) |
| int a = snprintf(buffer, sizeof(buffer), "%d", 99); | |
| ^ | |
| - | ./log/code1185.c:55:7: warning: conditional block on the same line (ONELINECONDITION) |
| + | ./%LOGDIR/code1185.c:55:7: warning: conditional block on the same line (ONELINECONDITION) |
| if(a) b++; | |
| ^ | |
| - | ./log/code1185.c:57:2: warning: // comment (CPPCOMMENTS) |
| + | ./%LOGDIR/code1185.c:57:2: warning: // comment (CPPCOMMENTS) |
| // CPP comment? | |
| ^ | |
| - | ./log/code1185.c:1:1: error: Missing copyright statement (COPYRIGHT) |
| + | ./%LOGDIR/code1185.c:1:1: error: Missing copyright statement (COPYRIGHT) |
| ^ | |
| - | ./log/code1185.c:1:1: error: Missing closing comment (OPENCOMMENT) |
| + | ./%LOGDIR/code1185.c:1:1: error: Missing closing comment (OPENCOMMENT) |
| ^ | |
| checksrc: 0 errors and 30 warnings | |
| @@ -29,13 +29,13 @@ http | |
| Multipart formposting with backslash-escaping filename containing '"' | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --form-escape -F "file=@\"log/test%TESTNUMBER\\\".txt\";type=mo/foo;filename=\"test%TESTNUMBER\\\".txt\"" -F 'file2=@"log/test%TESTNUMBER\".txt"' -F 'file3=@"log/test%TESTNUMBER\".txt";type=m/f,"log/test%TESTNUMBER\".txt"' |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --form-escape -F "file=@\"%LOGDIR/test%TESTNUMBER\\\".txt\";type=mo/foo;filename=\"test%TESTNUMBER\\\".txt\"" -F 'file2=@"%LOGDIR/test%TESTNUMBER\".txt"' -F 'file3=@"%LOGDIR/test%TESTNUMBER\".txt";type=m/f,"%LOGDIR/test%TESTNUMBER\".txt"' |
| </command> | |
| <precheck> | |
| perl -e "print 'Test requires a system supporting double quotes in file names' if ($^O eq 'msys');" | |
| </precheck> | |
| # We create this file before the command is invoked! | |
| - | <file name=log/test%TESTNUMBER".txt> |
| + | <file name=%LOGDIR/test%TESTNUMBER".txt> |
| foo bar | |
| This is a bar foo | |
| bar | |
| @@ -29,10 +29,10 @@ http | |
| Multipart formposting with backslash-escaping of name= and filename= | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --form-escape -F name=daniel -F tool=curl --form-string "str1=@literal" --form-string "str2=<verbatim;type=xxx/yyy" -F "file=@log/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile" -F file2=@log/test%TESTNUMBER.txt -F "file3=@\"log/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"log/test%TESTNUMBER.txt"; filename="A\\AA\"\"\\\"ZZZ"' |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --form-escape -F name=daniel -F tool=curl --form-string "str1=@literal" --form-string "str2=<verbatim;type=xxx/yyy" -F "file=@%LOGDIR/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile" -F file2=@%LOGDIR/test%TESTNUMBER.txt -F "file3=@\"%LOGDIR/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"%LOGDIR/test%TESTNUMBER.txt"; filename="A\\AA\"\"\\\"ZZZ"' |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo bar | |
| This is a bar foo | |
| bar | |
| @@ -26,9 +26,9 @@ mqtt | |
| MQTT PUBLISH 2k payload | |
| </name> | |
| <command option="binary-trace"> | |
| - | mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -d @log/payload%TESTNUMBER |
| + | mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -d @%LOGDIR/payload%TESTNUMBER |
| </command> | |
| - | <file name="log/payload%TESTNUMBER"> |
| + | <file name="%LOGDIR/payload%TESTNUMBER"> |
| 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 | |
| 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 | |
| 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 | |
| @@ -36,7 +36,7 @@ http | |
| HTTP GET with -J without Content-Disposition | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER?junk -J -O | |
| @@ -53,7 +53,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file> | |
| @@ -31,9 +31,9 @@ http | |
| HTTP cookie domains tailmatching the host name | |
| </name> | |
| <command> | |
| - | http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b log/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT |
| + | http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT |
| </command> | |
| - | <file name="log/injar%TESTNUMBER"> |
| + | <file name="%LOGDIR/injar%TESTNUMBER"> |
| example.fake FALSE /a FALSE 2139150993 mooo indeed | |
| example.fake FALSE /b FALSE 0 moo1 indeed | |
| example.fake FALSE /c FALSE 2139150993 moo2 indeed | |
| @@ -21,9 +21,9 @@ file | |
| file:// URLs with query string | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/test%TESTNUMBER.txt?a_query=foobar#afragment |
| + | file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt?a_query=foobar#afragment |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| contents in a single file | |
| </file> | |
| </client> | |
| @@ -29,9 +29,9 @@ http | |
| --url-query with --data-urlencode | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --url-query "my name is moo[]" --url-query "yes=s i r" --url-query "v_alue@log/%TESTNUMBER.txt" --url-query @log/%TESTNUMBER.txt --url-query "+%3d%3d" --data-urlencode "start=once upon the time" |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --url-query "my name is moo[]" --url-query "yes=s i r" --url-query "v_alue@%LOGDIR/%TESTNUMBER.txt" --url-query @%LOGDIR/%TESTNUMBER.txt --url-query "+%3d%3d" --data-urlencode "start=once upon the time" |
| </command> | |
| - | <file name="log/%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/%TESTNUMBER.txt"> |
| content to _?!#$'|<> | |
| </file> | |
| </client> | |
| @@ -19,9 +19,9 @@ ftp | |
| FTP upload resume with whole file already downloaded | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C 51 |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C 51 |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| -------------------------------------------------- | |
| </file> | |
| </client> | |
| @@ -16,9 +16,9 @@ tftp | |
| TFTP send without TFTP options requests | |
| </name> | |
| <command> | |
| - | -T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options |
| + | -T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| a chunk of | |
| data | |
| sent | |
| @@ -23,12 +23,12 @@ unix-sockets | |
| file name argument looks like a flag | |
| </name> | |
| <command> | |
| - | --stderr log/moo%TESTNUMBER --unix-socket -k hej://moo |
| + | --stderr %LOGDIR/moo%TESTNUMBER --unix-socket -k hej://moo |
| </command> | |
| </client> | |
| <verify> | |
| - | <file name="log/moo%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/moo%TESTNUMBER" mode="text"> |
| Warning: The file name argument '-k' looks like a flag. | |
| curl: (1) Protocol "hej" not supported or disabled in libcurl | |
| </file> | |
| @@ -27,9 +27,9 @@ http | |
| --write-out from file with empty file | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w @log/blank%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w @%LOGDIR/blank%TESTNUMBER |
| </command> | |
| - | <file name="log/blank%TESTNUMBER"> |
| + | <file name="%LOGDIR/blank%TESTNUMBER"> |
| </file> | |
| </client> | |
| @@ -53,7 +53,7 @@ http | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - -f | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -36,7 +36,7 @@ http | |
| HTTP header line folding | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/out%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/out%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -50,7 +50,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/out%TESTNUMBER"> |
| + | <file name="%LOGDIR/out%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| %if hyper | |
| @@ -34,7 +34,7 @@ http | |
| verify extra --no-remote-name | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter -o log/out%TESTNUMBER --no-remote-name -w '%{stderr}yes\n' |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter -o %LOGDIR/out%TESTNUMBER --no-remote-name -w '%{stderr}yes\n' |
| </command> | |
| </client> | |
| @@ -20,9 +20,9 @@ ftp | |
| FTP upload with --crlf | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER --crlf |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --crlf |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| file | |
| with unix newlines | |
| meant to be | |
| @@ -30,7 +30,7 @@ http | |
| globbing range with same start and stop | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/%TESTNUMBER -o "log/outfile%TESTNUMBER_#1#2#3#4.dump" |
| + | http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/%TESTNUMBER -o "%LOGDIR/outfile%TESTNUMBER_#1#2#3#4.dump" |
| </command> | |
| </client> | |
| @@ -43,7 +43,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/outfile%TESTNUMBER_a1b2.dump"> |
| + | <file name="%LOGDIR/outfile%TESTNUMBER_a1b2.dump"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Content-Length: 6 | |
| @@ -60,9 +60,9 @@ HTTP PUT --digest with user-specified Content-Length header | |
| # even when there is a user-specified Content-Length header. | |
| # https://github.com/curl/curl/pull/1242 | |
| <command> | |
| - | -H "Content-Length: 85" -u auser:apasswd --digest -T log/put%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| + | -H "Content-Length: 85" -u auser:apasswd --digest -T %LOGDIR/put%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -82,7 +82,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| %if !hyper | |
| * Ignoring Content-Length in CONNECT 200 response | |
| * Ignoring Transfer-Encoding in CONNECT 200 response | |
| @@ -24,14 +24,14 @@ none | |
| Attempt to upload 1000 files but fail immediately | |
| </name> | |
| <command> | |
| - | -K log/cmd%TESTNUMBER --fail-early |
| + | -K %LOGDIR/cmd%TESTNUMBER --fail-early |
| </command> | |
| - | <file name="log/upload-this"> |
| + | <file name="%LOGDIR/upload-this"> |
| XXXXXXXx | |
| </file> | |
| # generate the config file | |
| <precheck> | |
| - | perl -e 'for(1 .. 1000) { printf("upload-file=log/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/%TESTNUMBER\n", $_);}' > log/cmd%TESTNUMBER; |
| + | perl -e 'for(1 .. 1000) { printf("upload-file=%LOGDIR/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/%TESTNUMBER\n", $_);}' > %LOGDIR/cmd%TESTNUMBER; |
| </precheck> | |
| </client> | |
| @@ -37,9 +37,9 @@ ftp | |
| FTP (optional .netrc; no user/pass) dir list PASV | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| # machine %HOSTIP login user1 password commented | |
| machine %HOSTIP login user1 password passwd1 | |
| @@ -18,7 +18,7 @@ unittest | |
| <name> | |
| netrc parsing unit tests | |
| </name> | |
| - | <file name="log/netrc%TESTNUMBER"> |
| + | <file name="%LOGDIR/netrc%TESTNUMBER"> |
| machine example.com login admin password passwd | |
| machine curl.example.com login none password none | |
| </file> | |
| @@ -21,7 +21,7 @@ Mime | |
| <name> | |
| formpost unit tests | |
| </name> | |
| - | <file name="log/test-%TESTNUMBER"> |
| + | <file name="%LOGDIR/test-%TESTNUMBER"> |
| Piece of the file that is to uploaded as a formpost | |
| </file> | |
| </client> | |
| @@ -38,9 +38,9 @@ ftp | |
| FTP (optional .netrc; user/no pass) dir list PASV | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://user2@%HOSTIP:%FTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://user2@%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| machine %HOSTIP login user1 password passwd1 | |
| machine %HOSTIP login user2 password passwd2 | |
| @@ -37,7 +37,7 @@ http | |
| HTTP GET with -J and Content-Disposition | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O | |
| @@ -54,7 +54,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/name%TESTNUMBER"> |
| + | <file name="%LOGDIR/name%TESTNUMBER"> |
| 12345 | |
| </file> | |
| @@ -37,7 +37,7 @@ http | |
| HTTP GET with -J, Content-Disposition and ; in filename | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| %HOSTIP:%HTTPPORT/%TESTNUMBER -J -O | |
| @@ -54,7 +54,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/name%TESTNUMBER;weird"> |
| + | <file name="%LOGDIR/name%TESTNUMBER;weird"> |
| 12345 | |
| </file> | |
| @@ -37,7 +37,7 @@ http | |
| HTTP GET with -J, Content-Disposition, uneven quotes | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O | |
| @@ -54,7 +54,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/name%TESTNUMBER"> |
| + | <file name="%LOGDIR/name%TESTNUMBER"> |
| 12345 | |
| </file> | |
| @@ -32,10 +32,10 @@ http | |
| HTTP RFC1867-type formposting - -F with three files, one with explicit type | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=value -F 'file=@log/test%TESTNUMBER.txt,log/test%TESTNUMBER.txt;type=magic/content,log/test%TESTNUMBER.txt' |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=value -F 'file=@%LOGDIR/test%TESTNUMBER.txt,%LOGDIR/test%TESTNUMBER.txt;type=magic/content,%LOGDIR/test%TESTNUMBER.txt' |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| dummy data | |
| </file> | |
| </client> | |
| @@ -37,9 +37,9 @@ ftp | |
| FTP (optional .netrc; user/passwd supplied) dir list PASV | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| machine %HOSTIP login user1 password passwd1 | |
| machine %HOSTIP login user2 password passwd2 | |
| @@ -27,12 +27,12 @@ TELNET check of upload with stdout redirected | |
| GET /ignore/for/%TESTNUMBER HTTP/1.0 | |
| </stdin> | |
| - | <file name="log/%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/%TESTNUMBER.txt"> |
| GET /we/want/%TESTNUMBER HTTP/1.0 | |
| </file> | |
| <command option="no-output"> | |
| - | telnet://%HOSTIP:%HTTPPORT -T log/%TESTNUMBER.txt |
| + | telnet://%HOSTIP:%HTTPPORT -T %LOGDIR/%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -47,7 +47,7 @@ http | |
| HTTP GET a globbed range with -f | |
| </name> | |
| <command> | |
| - | -f 'http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0000-%TESTNUMBER0001]' -o log/#1 |
| + | -f 'http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0000-%TESTNUMBER0001]' -o %LOGDIR/#1 |
| </command> | |
| </client> | |
| @@ -37,9 +37,9 @@ ftp | |
| FTP compulsory .netrc; ignore passwd in URL | |
| </name> | |
| <command> | |
| - | -n --netrc-file log/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ |
| + | -n --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| machine %HOSTIP login user1 password passwd1 | |
| machine %HOSTIP login mary password drfrank | |
| @@ -31,7 +31,7 @@ nothing | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/memdump"> |
| + | <file name="%LOGDIR/memdump"> |
| MEM unit%TESTNUMBER.c: malloc() | |
| MEM unit%TESTNUMBER.c: free() | |
| </file> | |
| @@ -62,7 +62,7 @@ http | |
| HTTP --proxy-anyauth and 407 with cookies | |
| </name> | |
| <command> | |
| - | -U myname:mypassword -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER --proxy-anyauth -c log/dump%TESTNUMBER |
| + | -U myname:mypassword -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER --proxy-anyauth -c %LOGDIR/dump%TESTNUMBER |
| </command> | |
| <features> | |
| cookies | |
| @@ -35,10 +35,10 @@ http | |
| HTTP GET with -O without Content-Disposition, -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -53,11 +53,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -67,7 +67,7 @@ Content-Type: text/html | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -35,7 +35,7 @@ http | |
| HTTP GET with -O without Content-Disposition, -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D - | |
| @@ -53,11 +53,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -36,13 +36,13 @@ http | |
| HTTP GET with -O and Content-Disposition, -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -57,11 +57,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -36,13 +36,13 @@ http | |
| HTTP GET with -O and Content-Disposition, -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D - | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -57,11 +57,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -36,10 +36,10 @@ http | |
| HTTP GET with -O -J without Content-Disposition, -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -54,11 +54,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -68,7 +68,7 @@ Content-Type: text/html | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -36,7 +36,7 @@ http | |
| HTTP GET with -O -J without Content-Disposition, -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - | |
| @@ -54,11 +54,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -39,9 +39,9 @@ FTP (optional .netrc; programmatic user/passwd) dir list PASV | |
| # -u overrides netrc which overrides the URL | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| machine %HOSTIP login user1 password passwd1 | |
| machine %HOSTIP login user2 password passwd2 | |
| @@ -37,10 +37,10 @@ http | |
| HTTP GET with -O -J and Content-Disposition, -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%PWD/%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D log/heads%TESTNUMBER -w "curl saved to filename %{filename_effective}\n" |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D %LOGDIR/heads%TESTNUMBER -w "curl saved to filename %{filename_effective}\n" |
| </command> | |
| </client> | |
| @@ -55,11 +55,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/name%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/name%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -70,8 +70,8 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER" mode="text"> |
| - | curl saved to filename %PWD/log/name%TESTNUMBER |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER" mode="text"> |
| + | curl saved to filename %PWD/%LOGDIR/name%TESTNUMBER |
| </file3> | |
| </verify> | |
| @@ -37,7 +37,7 @@ http | |
| HTTP GET with -O -J and Content-Disposition, -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%PWD/%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - -w "curl saved to filename %{filename_effective}\n" | |
| @@ -55,11 +55,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/name%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/name%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -68,7 +68,7 @@ Connection: close | |
| Content-Type: text/html | |
| Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| - | curl saved to filename %PWD/log/name%TESTNUMBER |
| + | curl saved to filename %PWD/%LOGDIR/name%TESTNUMBER |
| </file2> | |
| </verify> | |
| @@ -35,10 +35,10 @@ http | |
| HTTP GET with -O -i without Content-Disposition, -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -53,7 +53,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Type: text/html | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -74,7 +74,7 @@ Content-Type: text/html | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -35,7 +35,7 @@ http | |
| HTTP GET with -O -i without Content-Disposition, -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D - | |
| @@ -53,7 +53,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Type: text/html | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -36,13 +36,13 @@ http | |
| HTTP GET with -O -i and Content-Disposition, -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -57,7 +57,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -69,7 +69,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -80,7 +80,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -36,13 +36,13 @@ http | |
| HTTP GET with -O -i and Content-Disposition, -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D - | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -57,7 +57,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -69,7 +69,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -35,7 +35,7 @@ http | |
| HTTP GET with -O -i without Content-Disposition, without -D | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O | |
| @@ -53,7 +53,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Type: text/html | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -36,13 +36,13 @@ http | |
| HTTP GET with -O -i and Content-Disposition, without -D | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -57,7 +57,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -69,7 +69,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -28,7 +28,7 @@ ftp | |
| FTP download, file without Content-Disposition inside, using -O | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O | |
| @@ -49,12 +49,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -28,10 +28,10 @@ ftp | |
| FTP download, file without C-D inside, using -O -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -49,14 +49,14 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| # The final "221 bye bye baby" response to QUIT will not be recorded | |
| # since that is not considered part of this particular transfer! | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -76,7 +76,7 @@ mooo | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -28,7 +28,7 @@ ftp | |
| FTP download, file without C-D inside, using -O -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D - | |
| @@ -49,14 +49,14 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| # The final "221 bye bye baby" response to QUIT will not be recorded | |
| # since that is not considered part of this particular transfer! | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -29,10 +29,10 @@ ftp | |
| FTP download, file without C-D inside, using -O -J -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -50,14 +50,14 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| # The final "221 bye bye baby" response to QUIT will not be recorded | |
| # since that is not considered part of this particular transfer! | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -77,7 +77,7 @@ mooo | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -29,7 +29,7 @@ ftp | |
| FTP download, file without C-D inside, using -O -J -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D - | |
| @@ -50,14 +50,14 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| # The final "221 bye bye baby" response to QUIT will not be recorded | |
| # since that is not considered part of this particular transfer! | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -28,10 +28,10 @@ ftp | |
| FTP download, file without C-D inside, using -O -i -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -49,14 +49,14 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| # The final "221 bye bye baby" response to QUIT will not be recorded | |
| # since that is not considered part of this particular transfer! | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -76,7 +76,7 @@ mooo | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -28,7 +28,7 @@ ftp | |
| FTP download, file without C-D inside, using -O -i -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D - | |
| @@ -49,12 +49,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -28,7 +28,7 @@ ftp | |
| FTP download, file without C-D inside, using -O -i, without -D | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i | |
| @@ -49,12 +49,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -36,13 +36,13 @@ ftp | |
| FTP download, file with Content-Disposition inside, using -O | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -60,7 +60,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -36,13 +36,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -60,7 +60,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -92,7 +92,7 @@ MOOOO | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -36,13 +36,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D - | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -60,7 +60,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -37,13 +37,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -J -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -61,7 +61,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -73,7 +73,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -93,7 +93,7 @@ MOOOO | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -37,13 +37,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -J -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D - | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -61,7 +61,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -73,7 +73,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -36,13 +36,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -i -D file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -60,7 +60,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -92,7 +92,7 @@ MOOOO | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -36,13 +36,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -i -D stdout | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D - | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -60,7 +60,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -36,13 +36,13 @@ ftp | |
| FTP download, file with C-D inside, using -O -i, without -D | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i | |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -60,7 +60,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/file%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/file%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -30,10 +30,10 @@ http | |
| HTTP GET -o fname without Content-Disposition, -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -48,11 +48,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -62,7 +62,7 @@ Content-Type: text/html | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -30,10 +30,10 @@ http | |
| HTTP GET -o fname without Content-Disposition, -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -48,11 +48,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname and Content-Disposition, -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,11 +49,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname and Content-Disposition, -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,11 +49,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname -J without Content-Disposition, -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o %LOGDIR/outfile%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,11 +49,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -63,7 +63,7 @@ Content-Type: text/html | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname -J without Content-Disposition, -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o %LOGDIR/outfile%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,11 +49,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -32,10 +32,10 @@ http | |
| HTTP GET -o fname -J and Content-Disposition, -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o %LOGDIR/outfile%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -50,11 +50,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -65,7 +65,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -32,10 +32,10 @@ http | |
| HTTP GET -o fname -J and Content-Disposition, -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o %LOGDIR/outfile%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -50,11 +50,11 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -30,10 +30,10 @@ http | |
| HTTP GET -o fname -i without Content-Disposition, -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o %LOGDIR/outfile%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -48,7 +48,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -59,7 +59,7 @@ Content-Type: text/html | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -69,7 +69,7 @@ Content-Type: text/html | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -30,10 +30,10 @@ http | |
| HTTP GET -o fname -i without Content-Disposition, -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o %LOGDIR/outfile%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -48,7 +48,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -59,7 +59,7 @@ Content-Type: text/html | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname -i and Content-Disposition, -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o %LOGDIR/outfile%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,7 +49,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -61,7 +61,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -72,7 +72,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| </file2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname -i and Content-Disposition, -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D - |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o %LOGDIR/outfile%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,7 +49,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -61,7 +61,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -30,10 +30,10 @@ http | |
| HTTP GET -o fname -i without Content-Disposition, without -D | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o %LOGDIR/outfile%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -48,7 +48,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -59,7 +59,7 @@ Content-Type: text/html | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -31,10 +31,10 @@ http | |
| HTTP GET -o fname -i and Content-Disposition, without -D | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o %LOGDIR/outfile%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -49,7 +49,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -61,7 +61,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| 12345 | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -23,10 +23,10 @@ ftp | |
| FTP DL, file without Content-Disposition inside, using -o fname | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -44,12 +44,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -23,10 +23,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -44,12 +44,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -69,7 +69,7 @@ mooo | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -23,10 +23,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D - |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -44,12 +44,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -24,10 +24,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -J -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -J -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -45,12 +45,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -70,7 +70,7 @@ mooo | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -24,10 +24,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -J -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D - |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -J -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -45,12 +45,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -23,10 +23,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -i -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -i -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -44,12 +44,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -69,7 +69,7 @@ mooo | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -23,10 +23,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -i -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D - |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -i -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -44,12 +44,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -23,10 +23,10 @@ ftp | |
| FTP DL, file without C-D inside, using -o fname -i, without -D | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -i |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -44,12 +44,12 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| fooo | |
| mooo | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -31,10 +31,10 @@ ftp | |
| FTP DL, file with Content-Disposition inside, using -o fname | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -52,7 +52,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -31,10 +31,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -52,7 +52,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -84,7 +84,7 @@ MOOOO | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -31,10 +31,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D - |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -52,7 +52,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -32,10 +32,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -J -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -J -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -53,7 +53,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -65,7 +65,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -85,7 +85,7 @@ MOOOO | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -32,10 +32,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -J -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D - |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -J -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -53,7 +53,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -65,7 +65,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -31,10 +31,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -i -D file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D log/heads%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -i -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -52,7 +52,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/heads%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/heads%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -84,7 +84,7 @@ MOOOO | |
| s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ | |
| </stripfile2> | |
| - | <file3 name="log/stdout%TESTNUMBER"> |
| + | <file3 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file3> | |
| </verify> | |
| @@ -31,10 +31,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -i -D stdout | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D - |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -i -D - |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -52,7 +52,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| 220- _ _ ____ _ | |
| 220- ___| | | | _ \| | | |
| 220- / __| | | | |_) | | | |
| @@ -31,10 +31,10 @@ ftp | |
| FTP DL, file with C-D inside, using -o fname -i, without -D | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i |
| + | ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER -i |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER %LOGDIR/name%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -52,7 +52,7 @@ RETR file%TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file1 name="log/download%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/download%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -64,7 +64,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange | |
| MOOOO | |
| </file1> | |
| - | <file2 name="log/stdout%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/stdout%TESTNUMBER"> |
| </file2> | |
| </verify> | |
| @@ -31,7 +31,7 @@ http | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c |
| </command> | |
| </client> | |
| @@ -55,7 +55,7 @@ $_ = '' if /CURLOPT_HTTP_VERSION/ | |
| $_ = '' if /CURLOPT_HTTP09_ALLOWED/ | |
| $_ = '' if /CURLOPT_INTERLEAVEDATA/ | |
| </stripfile> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -40,7 +40,7 @@ file | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops, iceman" -A MyUA -b chocolate=chip --proto "=http,ftp,file" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops, iceman" -A MyUA -b chocolate=chip --proto "=http,ftp,file" |
| </command> | |
| </client> | |
| @@ -65,7 +65,7 @@ $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/ | |
| $_ = '' if /CURLOPT_HTTP_VERSION/ | |
| $_ = '' if /CURLOPT_INTERLEAVEDATA/ | |
| </stripfile> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -32,7 +32,7 @@ http | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c -d "foo=bar" -d "baz=quux" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c -d "foo=bar" -d "baz=quux" |
| </command> | |
| </client> | |
| @@ -58,7 +58,7 @@ $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/ | |
| $_ = '' if /CURLOPT_HTTP_VERSION/ | |
| $_ = '' if /CURLOPT_INTERLEAVEDATA/ | |
| </stripfile> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -32,7 +32,7 @@ http | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c -G -d "foo=bar" -d "baz=quux" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c -G -d "foo=bar" -d "baz=quux" |
| </command> | |
| </client> | |
| @@ -55,7 +55,7 @@ $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/ | |
| $_ = '' if /CURLOPT_HTTP_VERSION/ | |
| $_ = '' if /CURLOPT_INTERLEAVEDATA/ | |
| </stripfile> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -36,10 +36,10 @@ http | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=value -F 'file=@log/test%TESTNUMBER.txt,log/test%TESTNUMBER.txt;type=magic/content;encoder=8bit,log/test%TESTNUMBER.txt;headers=X-testheader-1: header 1;headers=X-testheader-2: header 2' --libcurl log/test%TESTNUMBER.c |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=value -F 'file=@%LOGDIR/test%TESTNUMBER.txt,%LOGDIR/test%TESTNUMBER.txt;type=magic/content;encoder=8bit,%LOGDIR/test%TESTNUMBER.txt;headers=X-testheader-1: header 1;headers=X-testheader-2: header 2' --libcurl %LOGDIR/test%TESTNUMBER.c |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| dummy data | |
| </file> | |
| </client> | |
| @@ -101,7 +101,7 @@ $_ = '' if /CURLOPT_INTERLEAVEDATA/ | |
| # CURL_DOES_CONVERSION generates an extra comment. | |
| $_ = '' if /\/\* "value" \*\// | |
| </stripfile> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -134,13 +134,13 @@ int main(int argc, char *argv[]) | |
| part1 = curl_mime_addpart(mime1); | |
| mime2 = curl_mime_init(hnd); | |
| part2 = curl_mime_addpart(mime2); | |
| - | curl_mime_filedata(part2, "log/test%TESTNUMBER.txt"); |
| + | curl_mime_filedata(part2, "%LOGDIR/test%TESTNUMBER.txt"); |
| part2 = curl_mime_addpart(mime2); | |
| - | curl_mime_filedata(part2, "log/test%TESTNUMBER.txt"); |
| + | curl_mime_filedata(part2, "%LOGDIR/test%TESTNUMBER.txt"); |
| curl_mime_encoder(part2, "8bit"); | |
| curl_mime_type(part2, "magic/content"); | |
| part2 = curl_mime_addpart(mime2); | |
| - | curl_mime_filedata(part2, "log/test%TESTNUMBER.txt"); |
| + | curl_mime_filedata(part2, "%LOGDIR/test%TESTNUMBER.txt"); |
| curl_mime_headers(part2, slist1, 1); | |
| slist1 = NULL; | |
| curl_mime_subparts(part1, mime2); | |
| @@ -36,7 +36,7 @@ ftp | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test%TESTNUMBER.c |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl %LOGDIR/test%TESTNUMBER.c |
| </command> | |
| </client> | |
| @@ -58,7 +58,7 @@ RETR %TESTNUMBER | |
| NOOP 3 | |
| QUIT | |
| </protocol> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -28,14 +28,14 @@ smtp | |
| <setenv> | |
| SSL_CERT_FILE= | |
| </setenv> | |
| - | <file name="log/test%TESTNUMBER.eml"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.eml"> |
| From: different | |
| To: another | |
| body | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-rcpt [email protected] --mail-from [email protected] -T log/test%TESTNUMBER.eml --libcurl log/test%TESTNUMBER.c |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/test%TESTNUMBER.eml --libcurl %LOGDIR/test%TESTNUMBER.c |
| </command> | |
| </client> | |
| @@ -57,7 +57,7 @@ To: another | |
| body | |
| . | |
| </upload> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -30,7 +30,7 @@ pop3 | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret --libcurl log/test%TESTNUMBER.c |
| + | pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret --libcurl %LOGDIR/test%TESTNUMBER.c |
| </command> | |
| </client> | |
| @@ -44,7 +44,7 @@ PASS secret | |
| LIST %TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -49,7 +49,7 @@ http-ipv6 | |
| HTTP receive cookies over IPV6 | |
| </name> | |
| <command> | |
| - | -c log/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002 |
| + | -c %LOGDIR/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002 |
| </command> | |
| </client> | |
| @@ -36,10 +36,10 @@ http | |
| HTTP with zero size file PUT | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/empty%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/empty%TESTNUMBER |
| </command> | |
| # create an empty file | |
| - | <file name="log/empty%TESTNUMBER"> |
| + | <file name="%LOGDIR/empty%TESTNUMBER"> |
| </file> | |
| </client> | |
| @@ -44,7 +44,7 @@ Delete expired cookies | |
| TZ=GMT | |
| </setenv> | |
| <command> | |
| - | http://example.com/we/want/%TESTNUMBER -b none -c log/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT |
| + | http://example.com/we/want/%TESTNUMBER -b none -c %LOGDIR/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT |
| </command> | |
| <features> | |
| cookies | |
| @@ -63,7 +63,7 @@ Proxy-Connection: Keep-Alive | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -49,7 +49,7 @@ http | |
| HTTP GET with chunked encoding and chunked trailer without CRs | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -63,7 +63,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/heads%TESTNUMBER"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 funky chunky! | |
| Server: fakeit/0.9 fakeitbad/1.0 | |
| Transfer-Encoding: chunked | |
| @@ -36,7 +36,7 @@ imap | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --libcurl log/test%TESTNUMBER.c |
| + | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --libcurl %LOGDIR/test%TESTNUMBER.c |
| </command> | |
| </client> | |
| @@ -50,7 +50,7 @@ A003 SELECT %TESTNUMBER | |
| A004 FETCH 1 BODY[] | |
| A005 LOGOUT | |
| </protocol> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -37,10 +37,10 @@ http | |
| HTTP GET with -O -J and Content-Disposition (empty file) | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O file://%PWD/log/name%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O file://%PWD/%LOGDIR/name%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -55,7 +55,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/name%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/name%TESTNUMBER"> |
| </file1> | |
| </verify> | |
| @@ -30,10 +30,10 @@ file | |
| HTTP GET -o fname without Content-Disposition (empty file) | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER file://%PWD/log/outfile%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER file://%PWD/%LOGDIR/outfile%TESTNUMBER |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER |
| + | perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER |
| </postcheck> | |
| </client> | |
| @@ -48,7 +48,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| </file1> | |
| </verify> | |
| @@ -46,11 +46,11 @@ http | |
| <name> | |
| HTTP GET -o fname without Content-Disposition (unmet time condition) | |
| </name> | |
| - | <file name="log/outfile%TESTNUMBER"> |
| + | <file name="%LOGDIR/outfile%TESTNUMBER"> |
| original contents | |
| </file> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 11:00:00 1999 GMT" -o log/outfile%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 11:00:00 1999 GMT" -o %LOGDIR/outfile%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -66,7 +66,7 @@ If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| original contents | |
| </file1> | |
| @@ -60,7 +60,7 @@ HTTP GET resume at exactly the existing file size is fine | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 100 | |
| </command> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -19,7 +19,7 @@ file | |
| Check --write-out with trailing %{ | |
| </name> | |
| <command> | |
| - | file://localhost/%PWD/log/non-existent-file.txt --write-out '%{' |
| + | file://localhost/%PWD/%LOGDIR/non-existent-file.txt --write-out '%{' |
| </command> | |
| </client> | |
| @@ -19,7 +19,7 @@ file | |
| Check --write-out with trailing % | |
| </name> | |
| <command> | |
| - | file://localhost/%PWD/log/non-existent-file.txt --write-out '%' |
| + | file://localhost/%PWD/%LOGDIR/non-existent-file.txt --write-out '%' |
| </command> | |
| </client> | |
| @@ -19,7 +19,7 @@ file | |
| Check --write-out with trailing \ | |
| </name> | |
| <command> | |
| - | file://localhost/%PWD/log/non-existent-file.txt --write-out '\' |
| + | file://localhost/%PWD/%LOGDIR/non-existent-file.txt --write-out '\' |
| </command> | |
| </client> | |
| @@ -37,7 +37,7 @@ http | |
| HTTP GET with -O and --remote-time | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O --remote-time | |
| @@ -45,7 +45,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O --remote-time | |
| # Verify the mtime of the file. The mtime is specifically chosen to be an even | |
| # number so that it can be represented exactly on a FAT filesystem. | |
| <postcheck> | |
| - | perl -e 'exit((stat("log/%TESTNUMBER"))[9] != 960898200)' |
| + | perl -e 'exit((stat("%LOGDIR/%TESTNUMBER"))[9] != 960898200)' |
| </postcheck> | |
| </client> | |
| @@ -59,7 +59,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| 12345 | |
| </file> | |
| </verify> | |
| @@ -31,7 +31,7 @@ ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --remote-time | |
| # Verify the mtime of the file. The mtime is specifically chosen to be an even | |
| # number so that it can be represented exactly on a FAT filesystem. | |
| <postcheck> | |
| - | perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 1234567890)' |
| + | perl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 1234567890)' |
| </postcheck> | |
| </client> | |
| @@ -15,17 +15,17 @@ FILE | |
| file | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| file:// with --remote-time | |
| </name> | |
| <command> | |
| - | file://localhost%FILE_PWD/log/test%TESTNUMBER.dir/plainfile.txt --remote-time |
| + | file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt --remote-time |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir && \ |
| - | perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 946728000)' |
| + | perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \ |
| + | perl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 946728000)' |
| </postcheck> | |
| </client> | |
| @@ -18,17 +18,17 @@ SFTP | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP with --remote-time | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/rofile.txt --insecure --remote-time |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure --remote-time |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir && \ |
| - | perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 978264000)' |
| + | perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \ |
| + | perl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 978264000)' |
| </postcheck> | |
| </client> | |
| @@ -13,7 +13,7 @@ known_hosts | |
| sftp | |
| </server> | |
| <precheck> | |
| - | mkdir -p %PWD/log/test%TESTNUMBER.dir/.ssh |
| + | mkdir -p %PWD/%LOGDIR/test%TESTNUMBER.dir/.ssh |
| </precheck> | |
| <features> | |
| sftp | |
| @@ -25,12 +25,12 @@ SFTP with corrupted known_hosts | |
| <command> | |
| -u : sftp://%HOSTIP:%SSHPORT/ -l | |
| </command> | |
| - | <file name="log/test%TESTNUMBER.dir/.ssh/known_hosts"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.dir/.ssh/known_hosts"> |
| |1|qy29Y1x/+/F39AzdG5515YSSw+c=|iB2WX5jrU3ZTWc+ZfGau7HHEvBc= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAynDN8cDJ3xNzRjTNNGciSHSxpubxhZ6YnkLdp1TkrGW8n\ | |
| R93Ey5VtBeBblYTRlFXBWJgKFcTKBRJ/O4qBZwbUgt10AHj31i6h8NehfT19tR8wG/YCmj3KtYLHmwdzmW1edEL9G2NdX2KiKYv7/zuly3QvmP0QA0NhWkAz0KdWNM= | |
| </file> | |
| <setenv> | |
| - | CURL_HOME=%PWD/log/test%TESTNUMBER.dir |
| + | CURL_HOME=%PWD/%LOGDIR/test%TESTNUMBER.dir |
| </setenv> | |
| </client> | |
| @@ -34,12 +34,12 @@ http | |
| HTTP GET with -Ji and Content-Disposition with existing file | |
| </name> | |
| <setenv> | |
| - | CURL_TESTDIR=%PWD/log |
| + | CURL_TESTDIR=%LOGDIR |
| </setenv> | |
| <command option="no-output,no-include"> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Ji -O | |
| </command> | |
| - | <file name="log/name%TESTNUMBER"> |
| + | <file name="%LOGDIR/name%TESTNUMBER"> |
| initial content | |
| </file> | |
| </client> | |
| @@ -51,7 +51,7 @@ initial content | |
| <errorcode> | |
| 2 | |
| </errorcode> | |
| - | <file name="log/name%TESTNUMBER"> |
| + | <file name="%LOGDIR/name%TESTNUMBER"> |
| initial content | |
| </file> | |
| @@ -32,10 +32,10 @@ http | |
| SSL_CERT_FILE= | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c --data-binary @log/%TESTNUMBER-upload |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c --data-binary @%LOGDIR/%TESTNUMBER-upload |
| </command> | |
| # "ab\x81""cd\0e\\\"?\r\n\t\x01""fghi%x1Ajklm%xFD" | |
| - | <file name="log/%TESTNUMBER-upload" nonewline="yes"> |
| + | <file name="%LOGDIR/%TESTNUMBER-upload" nonewline="yes"> |
| %hex[ab%81cd%00e\"?%0D%0A%09%01fghi%1Ajklm%FD]hex% | |
| </file> | |
| </client> | |
| @@ -61,7 +61,7 @@ $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/ | |
| $_ = '' if /CURLOPT_HTTP_VERSION/ | |
| $_ = '' if /CURLOPT_INTERLEAVEDATA/ | |
| </stripfile> | |
| - | <file name="log/test%TESTNUMBER.c" mode="text"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.c" mode="text"> |
| /********* Sample code generated by the curl command line tool ********** | |
| * All curl_easy_setopt() options are documented at: | |
| * https://curl.se/libcurl/c/curl_easy_setopt.html | |
| @@ -16,7 +16,7 @@ none | |
| Space in FTP upload URL | |
| </name> | |
| <command> | |
| - | "ftp://%HOSTIP:%NOLISTENPORT/%TESTNUMBER%/with space/" -T log/irrelevant-file |
| + | "ftp://%HOSTIP:%NOLISTENPORT/%TESTNUMBER%/with space/" -T %LOGDIR/irrelevant-file |
| </command> | |
| </client> | |
| @@ -18,9 +18,9 @@ ftp | |
| FTP with multiple uploads | |
| </name> | |
| <command> | |
| - | -T log/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir1/%TESTNUMBER -T log/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir2/%TESTNUMBER |
| + | -T %LOGDIR/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir1/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir2/%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| send away this contents | |
| </file> | |
| </client> | |
| @@ -46,7 +46,7 @@ EPSV | |
| STOR %TESTNUMBER | |
| QUIT | |
| </protocol> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| send away this contents | |
| </file> | |
| </verify> | |
| @@ -82,7 +82,7 @@ Accept: */* | |
| <strip> | |
| ^Host:.* | |
| </strip> | |
| - | <file name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| * Connection #0 to host server1.example.com left intact | |
| * Connection #1 to host server2.example.com left intact | |
| * Connection #2 to host server3.example.com left intact | |
| @@ -24,7 +24,7 @@ http://%HOSTIP:%NOLISTENPORT/path/%TESTNUMBER | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/stdout%TESTNUMBER"> |
| + | <file name="%LOGDIR/stdout%TESTNUMBER"> |
| We are done | |
| </file> | |
| </verify> | |
| @@ -62,7 +62,7 @@ simple multi http:// through proxytunnel with authentication info | |
| <command> | |
| http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT | |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -82,7 +82,7 @@ Accept: */* | |
| <strip> | |
| ^Host:.* | |
| </strip> | |
| - | <file name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| * Connection #0 to host server1.example.com left intact | |
| * Connection #1 to host server2.example.com left intact | |
| * Connection #2 to host server3.example.com left intact | |
| @@ -45,9 +45,9 @@ http | |
| HTTP PUT with 303 redirect | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -T log/upload%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -T %LOGDIR/upload%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/upload%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER.txt"> |
| moo | |
| </file> | |
| </client> | |
| @@ -67,9 +67,9 @@ crypto | |
| HTTP PUT with --anyauth authorization (picking Digest) | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -54,7 +54,7 @@ Host: %HOSTIP:%HTTPPORT | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| == Info: Connection #0 to host %HOSTIP left intact | |
| == Info: Connection #0 to host %HOSTIP left intact | |
| == Info: Connection #0 to host %HOSTIP left intact | |
| @@ -84,9 +84,9 @@ http | |
| HTTP PUT with --anyauth authorization (picking NTLM) | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -24,9 +24,9 @@ lib%TESTNUMBER | |
| CURLINFO_PROTOCOL for file:// transfer | |
| </name> | |
| <command> | |
| - | file://%FILE_PWD/log/data%TESTNUMBER |
| + | file://%FILE_PWD/%LOGDIR/data%TESTNUMBER |
| </command> | |
| - | <file name="log/data%TESTNUMBER"> |
| + | <file name="%LOGDIR/data%TESTNUMBER"> |
| hello | |
| </file> | |
| </client> | |
| @@ -28,9 +28,9 @@ http | |
| HTTP PUT with --anyauth (when the server requires none) | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -72,7 +72,7 @@ https | |
| Cookies set over HTTP can't override secure ones | |
| </name> | |
| <command> | |
| - | -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001 -L -c log/jar%TESTNUMBER.txt -H "Host: www.example.com" http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002 -L -c log/jar%TESTNUMBER.txt -H "Host: www.example.com" |
| + | -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001 -L -c %LOGDIR/jar%TESTNUMBER.txt -H "Host: www.example.com" http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002 -L -c %LOGDIR/jar%TESTNUMBER.txt -H "Host: www.example.com" |
| </command> | |
| </client> | |
| <verify> | |
| @@ -88,7 +88,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -32,12 +32,12 @@ http | |
| --etag-compare that gets a 304 back shouldn't overwrite the file | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/output%TESTNUMBER --etag-compare log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/output%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER |
| </command> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| "123456" | |
| </file> | |
| - | <file1 name="log/output%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/output%TESTNUMBER"> |
| downloaded already | |
| </file1> | |
| @@ -56,7 +56,7 @@ If-None-Match: "123456" | |
| </protocol> | |
| # verify that the target file is untouched | |
| - | <file name="log/output%TESTNUMBER"> |
| + | <file name="%LOGDIR/output%TESTNUMBER"> |
| downloaded already | |
| </file> | |
| </verify> | |
| @@ -30,10 +30,10 @@ http | |
| HTTP multipart formpost with contents from a file | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=<log/field%TESTNUMBER" -F tool=curl |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=<%LOGDIR/field%TESTNUMBER" -F tool=curl |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/field%TESTNUMBER"> |
| + | <file name="%LOGDIR/field%TESTNUMBER"> |
| contents | |
| from | |
| a | |
| @@ -24,9 +24,9 @@ CURL_TIME=1548369261 | |
| alt-svc | |
| </name> | |
| <command> | |
| - | log/%TESTNUMBER |
| + | %LOGDIR/%TESTNUMBER |
| </command> | |
| - | <file name="log/%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/%TESTNUMBER" mode="text"> |
| h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 | |
| # a comment | |
| h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1 | |
| @@ -38,7 +38,7 @@ rubbish | |
| </file> | |
| </client> | |
| <verify> | |
| - | <file name="log/%TESTNUMBER-out" mode="text"> |
| + | <file name="%LOGDIR/%TESTNUMBER-out" mode="text"> |
| # Your alt-svc cache. https://curl.se/docs/alt-svc.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 | |
| @@ -30,10 +30,10 @@ http | |
| HTTP formpost a file with spaces in name | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=@log/fie ld %TESTNUMBER" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=@%LOGDIR/fie ld %TESTNUMBER" |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/fie ld %TESTNUMBER"> |
| + | <file name="%LOGDIR/fie ld %TESTNUMBER"> |
| data inside the file | |
| </file> | |
| </client> | |
| @@ -15,7 +15,7 @@ unittest | |
| HSTS | |
| </features> | |
| - | <file name="log/input%TESTNUMBER"> |
| + | <file name="%LOGDIR/input%TESTNUMBER"> |
| # Your HSTS cache. https://curl.se/docs/hsts.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| .readfrom.example "20211001 04:47:41" | |
| @@ -72,7 +72,7 @@ expire.example [expire.example]: 1548369268 | |
| 'expire.example' is not HSTS | |
| 'expire.example' is not HSTS | |
| </stdout> | |
| - | <file name="log/hsts%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/hsts%TESTNUMBER" mode="text"> |
| # Your HSTS cache. https://curl.se/docs/hsts.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| .new.example "unlimited" | |
| @@ -40,7 +40,7 @@ http | |
| -w individual header output | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w '%header{etag} %header{nope} %header{DATE}\n' -o log/%TESTNUMBER.out |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w '%header{etag} %header{nope} %header{DATE}\n' -o %LOGDIR/%TESTNUMBER.out |
| </command> | |
| </client> | |
| @@ -43,7 +43,7 @@ http | |
| -w header JSON output | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w '%{header_json}\n' -o log/%TESTNUMBER.out |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w '%{header_json}\n' -o %LOGDIR/%TESTNUMBER.out |
| </command> | |
| </client> | |
| @@ -33,9 +33,9 @@ http | |
| http | |
| </features> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/exist%TESTNUMBER --clobber |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/exist%TESTNUMBER --clobber |
| </command> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to be overwritten | |
| </file> | |
| </client> | |
| @@ -43,7 +43,7 @@ to be overwritten | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| HTTP/1.0 200 OK | |
| Connection: close | |
| Content-Type: text/plain | |
| @@ -33,9 +33,9 @@ http | |
| http | |
| </features> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/exist%TESTNUMBER --no-clobber -w '%{filename_effective}\n' |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/exist%TESTNUMBER --no-clobber -w '%{filename_effective}\n' |
| </command> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to stay the same | |
| </file> | |
| </client> | |
| @@ -43,10 +43,10 @@ to stay the same | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to stay the same | |
| </file> | |
| - | <file1 name="log/exist%TESTNUMBER.1"> |
| + | <file1 name="%LOGDIR/exist%TESTNUMBER.1"> |
| HTTP/1.0 200 OK | |
| Connection: close | |
| Content-Type: text/plain | |
| @@ -55,7 +55,7 @@ Content-Length: 4 | |
| foo | |
| </file1> | |
| <stdout mode="text"> | |
| - | log/exist%TESTNUMBER.1 |
| + | %LOGDIR/exist%TESTNUMBER.1 |
| </stdout> | |
| </verify> | |
| </testcase> | |
| @@ -33,9 +33,9 @@ http | |
| http | |
| </features> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --output-dir log -o exist%TESTNUMBER --no-clobber |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --output-dir %LOGDIR -o exist%TESTNUMBER --no-clobber |
| </command> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to stay the same | |
| </file> | |
| </client> | |
| @@ -43,10 +43,10 @@ to stay the same | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to stay the same | |
| </file> | |
| - | <file1 name="log/exist%TESTNUMBER.1"> |
| + | <file1 name="%LOGDIR/exist%TESTNUMBER.1"> |
| HTTP/1.0 200 OK | |
| Connection: close | |
| Content-Type: text/plain | |
| @@ -33,18 +33,18 @@ http | |
| http | |
| </features> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/exist%TESTNUMBER --no-clobber |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/exist%TESTNUMBER --no-clobber |
| </command> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to stay the same | |
| </file> | |
| <precheck> | |
| - | perl -e 'for my $i ((1..100)) { my $filename = "log/exist%TESTNUMBER.$i"; open(FH, ">", $filename) or die $!; print FH "to stay the same" ; close(FH) }' |
| - | # python3 -c 'for i in range(1, 101): open("log/exist%TESTNUMBER.{}".format(i), mode="w").write("to stay the same")' |
| + | perl -e 'for my $i ((1..100)) { my $filename = "%LOGDIR/exist%TESTNUMBER.$i"; open(FH, ">", $filename) or die $!; print FH "to stay the same" ; close(FH) }' |
| + | # python3 -c 'for i in range(1, 101): open("%LOGDIR/exist%TESTNUMBER.{}".format(i), mode="w").write("to stay the same")' |
| </precheck> | |
| <postcheck> | |
| - | perl -e 'for my $i ((1..100)) { my $filename = "log/exist%TESTNUMBER.$i"; open(FH, "<", $filename) or die $!; (<FH> eq "to stay the same" and <FH> eq "") or die "incorrect $filename" ; close(FH) }' |
| - | # python3 -c 'for i in range(1, 101): assert open("log/exist%TESTNUMBER.{}".format(i), mode="r").read(17) == "to stay the same"' |
| + | perl -e 'for my $i ((1..100)) { my $filename = "%LOGDIR/exist%TESTNUMBER.$i"; open(FH, "<", $filename) or die $!; (<FH> eq "to stay the same" and <FH> eq "") or die "incorrect $filename" ; close(FH) }' |
| + | # python3 -c 'for i in range(1, 101): assert open("%LOGDIR/exist%TESTNUMBER.{}".format(i), mode="r").read(17) == "to stay the same"' |
| </postcheck> | |
| </client> | |
| @@ -54,7 +54,7 @@ perl -e 'for my $i ((1..100)) { my $filename = "log/exist%TESTNUMBER.$i"; open(F | |
| <errorcode> | |
| 23 | |
| </errorcode> | |
| - | <file name="log/exist%TESTNUMBER"> |
| + | <file name="%LOGDIR/exist%TESTNUMBER"> |
| to stay the same | |
| </file> | |
| </verify> | |
| @@ -28,9 +28,9 @@ win32 | |
| basic file:// file with UTF-8 characters | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/%E3%83%86%E3%82%B9%E3%83%88%TESTNUMBER.txt |
| + | file://localhost%FILE_PWD/%LOGDIR/%E3%83%86%E3%82%B9%E3%83%88%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/テスト%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/テスト%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -31,7 +31,7 @@ http | |
| HTTP, get cookie with dot prefixed full domain | |
| </name> | |
| <command> | |
| - | -c log/jar%TESTNUMBER -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER |
| + | -c %LOGDIR/jar%TESTNUMBER -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER |
| </command> | |
| <features> | |
| cookies | |
| @@ -49,7 +49,7 @@ Accept: */* | |
| Proxy-Connection: Keep-Alive | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -27,9 +27,9 @@ http | |
| HTTP with cookies file and custom added cookie | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b log/jar%TESTNUMBER.txt -b "tool=curl; name=fool" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b %LOGDIR/jar%TESTNUMBER.txt -b "tool=curl; name=fool" |
| </command> | |
| - | <file name="log/jar%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -31,9 +31,9 @@ http | |
| HTTP using proxy and cookies with path checks | |
| </name> | |
| <command> | |
| - | http://supertrooper.fake/c/%TESTNUMBER -b log/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT |
| + | http://supertrooper.fake/c/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT |
| </command> | |
| - | <file name="log/injar%TESTNUMBER"> |
| + | <file name="%LOGDIR/injar%TESTNUMBER"> |
| supertrooper.fake FALSE /a FALSE 2139150993 mooo indeed | |
| supertrooper.fake FALSE /b FALSE 0 moo1 indeed | |
| supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed | |
| @@ -27,9 +27,9 @@ http | |
| HTTP 1.0 PUT | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt --http1.0 |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt --http1.0 |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -27,9 +27,9 @@ http | |
| HTTP 1.0 POST | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --data-binary @log/test%TESTNUMBER.txt --http1.0 |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --data-binary @%LOGDIR/test%TESTNUMBER.txt --http1.0 |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -35,7 +35,7 @@ lib%TESTNUMBER | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER | |
| </command> | |
| - | <file name="log/cookies%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -48,7 +48,7 @@ Host: %HOSTIP:%HTTPPORT | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -72,7 +72,7 @@ Accept: */* | |
| # matches | |
| s/\"([^\"]*)\"/TIMESTAMP/ | |
| </stripfile> | |
| - | <file name="log/altsvc-%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER" mode="text"> |
| # Your alt-svc cache. https://curl.se/docs/alt-svc.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| h1 127.0.0.1 %HTTPPORT h2 3dbbdetxoyw4nsp6c3cc456oj2ays6s43ezxzsfxxri3h5xqd.example 443 TIMESTAMP 1 0 | |
| @@ -36,7 +36,7 @@ http | |
| HTTP GET --retry-all-errors to overcome partial transfer | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | --retry 1 --retry-all-errors -o log/outfile%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| + | --retry 1 --retry-all-errors -o %LOGDIR/outfile%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -56,7 +56,7 @@ Accept: */* | |
| </protocol> | |
| - | <file1 name="log/outfile%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/outfile%TESTNUMBER"> |
| data | |
| </file1> | |
| @@ -24,9 +24,9 @@ file | |
| basic file:// file | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -32,9 +32,9 @@ file | |
| FTP RETR followed by FILE | |
| </name> | |
| <command option="no-include"> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -49,9 +49,9 @@ file | |
| HTTP GET followed by FTP RETR followed by FILE | |
| </name> | |
| <command option="no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -58,9 +58,9 @@ tftp | |
| HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ | |
| </name> | |
| <command option="no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -58,9 +58,9 @@ tftp | |
| HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order | |
| </name> | |
| <command option="no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -30,9 +30,9 @@ sftp | |
| TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order | |
| </name> | |
| <command option="no-include"> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.txt file://localhost%FILE_PWD/log/test%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.txt file://localhost%FILE_PWD/log/test%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.txt file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.txt file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --insecure |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| This is test data | |
| for several protocols | |
| </file> | |
| @@ -21,7 +21,7 @@ file | |
| missing file:// file | |
| </name> | |
| <command> | |
| - | file://localhost/%PWD/log/non-existent-file.txt |
| + | file://localhost/%PWD/%LOGDIR/non-existent-file.txt |
| </command> | |
| </client> | |
| @@ -20,9 +20,9 @@ file | |
| two file:// URLs to stdout | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/test%TESTNUMBER.txt FILE://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt FILE://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| contents in a single file | |
| </file> | |
| </client> | |
| @@ -29,9 +29,9 @@ file:/path URL with a single slash | |
| MSYS2_ARG_CONV_EXCL=file: | |
| </setenv> | |
| <command option="no-include"> | |
| - | file:%FILE_PWD/log/test%TESTNUMBER.txt |
| + | file:%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -37,9 +37,9 @@ ftp | |
| FTP (optional .netrc with 'default' override; no user/pass) dir list PASV | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| default login userdef password passwddef | |
| machine %HOSTIP login user1 password passwd1 | |
| @@ -16,9 +16,9 @@ file | |
| "upload" with file:// | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/result%TESTNUMBER.txt -T log/upload%TESTNUMBER.txt |
| + | file://localhost%FILE_PWD/%LOGDIR/result%TESTNUMBER.txt -T %LOGDIR/upload%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/upload%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER.txt"> |
| data | |
| in | |
| file | |
| @@ -29,7 +29,7 @@ write | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/result%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/result%TESTNUMBER.txt"> |
| data | |
| in | |
| file | |
| @@ -17,9 +17,9 @@ file | |
| "upload" with file:// | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost/%PWD/log/nonexisting/result%TESTNUMBER.txt -T log/upload%TESTNUMBER.txt |
| + | file://localhost/%PWD/%LOGDIR/nonexisting/result%TESTNUMBER.txt -T %LOGDIR/upload%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/upload%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER.txt"> |
| data | |
| in | |
| file | |
| @@ -72,9 +72,9 @@ proxy | |
| HTTP POST --digest with PUT, resumed upload, modified method and SHA-256 | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T %LOGDIR/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -72,9 +72,9 @@ proxy | |
| HTTP POST --digest with PUT, resumed upload, modified method, SHA-256 and userhash=true | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T %LOGDIR/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -72,9 +72,9 @@ proxy | |
| HTTP POST --digest with PUT, resumed upload, modified method, SHA-512-256 and userhash=false | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T %LOGDIR/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET |
| </command> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| test | |
| </file> | |
| </client> | |
| @@ -24,9 +24,9 @@ file | |
| basic file:// file with "127.0.0.1" hostname | |
| </name> | |
| <command option="no-include"> | |
| - | file://127.0.0.1%FILE_PWD/log/test2070.txt |
| + | file://127.0.0.1%FILE_PWD/%LOGDIR/test2070.txt |
| </command> | |
| - | <file name="log/test2070.txt"> |
| + | <file name="%LOGDIR/test2070.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -24,12 +24,12 @@ file | |
| file:// with unix path resolution behavior for the case of extra slashes | |
| </name> | |
| <command option="no-include"> | |
| - | file:////%PWD/log/test%TESTNUMBER.txt |
| + | file:////%PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| <precheck> | |
| perl -e "print 'Test requires a unix system' if ( $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'dos' || $^O eq 'msys');" | |
| </precheck> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -33,9 +33,9 @@ proxy | |
| HTTP PUT to a FTP URL with username+password - over HTTP proxy | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT ftp://daniel:[email protected]/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | -x http://%HOSTIP:%HTTPPORT ftp://daniel:[email protected]/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -18,9 +18,9 @@ ftp | |
| FTP upload two files to the same dir | |
| </name> | |
| <command> | |
| - | -T log/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T log/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/%2e%2eanotherup.%TESTNUMBER |
| + | -T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/%2e%2eanotherup.%TESTNUMBER |
| </command> | |
| - | <file name="log/upload.%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload.%TESTNUMBER"> |
| upload this file twice | |
| </file> | |
| </client> | |
| @@ -29,9 +29,9 @@ http | |
| HTTP PUT from a file but enforce chunked transfer-encoding | |
| </name> | |
| <command> | |
| - | -T log/file%TESTNUMBER -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| + | -T %LOGDIR/file%TESTNUMBER -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| </command> | |
| - | <file name="log/file%TESTNUMBER"> |
| + | <file name="%LOGDIR/file%TESTNUMBER"> |
| just some tiny teeny contents | |
| </file> | |
| </client> | |
| @@ -25,11 +25,11 @@ mqtt | |
| <name> | |
| MQTT with very long user name | |
| </name> | |
| - | <file name="log/input%TESTNUMBER"> |
| + | <file name="%LOGDIR/input%TESTNUMBER"> |
| user = %repeat[65536 x a]%:fakepasswd | |
| </file> | |
| <command option="binary-trace"> | |
| - | mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K log/input%TESTNUMBER |
| + | mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K %LOGDIR/input%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -44,13 +44,13 @@ WebSocket curl_ws_recv() loop reading three larger frames | |
| lib%TESTNUMBER | |
| </tool> | |
| <command> | |
| - | ws://%HOSTIP:%HTTPPORT/%TESTNUMBER log/save%TESTNUMBER |
| + | ws://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/save%TESTNUMBER |
| </command> | |
| </client> | |
| # | |
| <verify> | |
| - | <file name="log/save%TESTNUMBER"> |
| + | <file name="%LOGDIR/save%TESTNUMBER"> |
| %repeat[256 x helothisisdaniel]% | |
| %repeat[256 x helothisisdaniel]% | |
| %repeat[256 x helothisisdaniel]% | |
| @@ -23,9 +23,9 @@ file | |
| file:// with resume | |
| </name> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/test%TESTNUMBER.txt -C 10 |
| + | file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -C 10 |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| A01234567 | |
| B01234567 | |
| C01234567 | |
| @@ -21,9 +21,9 @@ ftp | |
| FTP resumed upload but no file present remotely | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C - |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C - |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| this is the *****crap******** that we're gonna upload | |
| worx? | |
| @@ -24,9 +24,9 @@ ftp | |
| FTP resume upload but denied access to remote file | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/file%TESTNUMBER.txt -C - |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/file%TESTNUMBER.txt -C - |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| </file> | |
| </client> | |
| @@ -41,7 +41,7 @@ Accept: */* | |
| <errorcode> | |
| 22 | |
| </errorcode> | |
| - | <file2 name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file2 name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| curl: (22) The requested URL returned error: 404 | |
| </file2> | |
| </verify> | |
| @@ -96,7 +96,7 @@ Via: 2 nghttpx | |
| <strip> | |
| ^Host:.* | |
| </strip> | |
| - | <file name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| * Connection #0 to host localhost left intact | |
| * Connection #0 to host localhost left intact | |
| * Connection #0 to host localhost left intact | |
| @@ -19,7 +19,7 @@ ftp | |
| <name> | |
| FTP upload time condition evaluates TRUE => skip upload | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -28,7 +28,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00" |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00" |
| </command> | |
| </client> | |
| @@ -19,7 +19,7 @@ ftp | |
| <name> | |
| FTP upload time condition evaluates FALSE => upload anyway | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -28,7 +28,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00" |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00" |
| </command> | |
| </client> | |
| @@ -91,7 +91,7 @@ Via: 3 nghttpx | |
| <strip> | |
| ^Host:.* | |
| </strip> | |
| - | <file name="log/stderr%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> |
| * Connection #0 to host localhost left intact | |
| * Connection #0 to host localhost left intact | |
| * Connection #0 to host localhost left intact | |
| @@ -29,9 +29,9 @@ http | |
| HTTP resume request over proxy with auth without server supporting it | |
| </name> | |
| <command option="no-output"> | |
| - | -x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o log/fewl%TESTNUMBER.txt -U daniel:stenberg |
| + | -x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt -U daniel:stenberg |
| </command> | |
| - | <file name="log/fewl%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/fewl%TESTNUMBER.txt"> |
| This text is here to simulate a partly downloaded file to resume | |
| download on. | |
| </file> | |
| @@ -57,7 +57,7 @@ Proxy-Connection: Keep-Alive | |
| </protocol> | |
| # the download target file must remain untouched | |
| - | <file name="log/fewl%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/fewl%TESTNUMBER.txt"> |
| This text is here to simulate a partly downloaded file to resume | |
| download on. | |
| </file> | |
| @@ -71,13 +71,13 @@ http | |
| HTTP Location: following with --netrc-optional | |
| </name> | |
| <command> | |
| - | http://supersite.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netrc%TESTNUMBER |
| + | http://supersite.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER |
| </command> | |
| <features> | |
| proxy | |
| </features> | |
| # netrc auth for two out of three sites: | |
| - | <file name="log/netrc%TESTNUMBER"> |
| + | <file name="%LOGDIR/netrc%TESTNUMBER"> |
| machine supersite.com login user1 password passwd1 | |
| machine anotherone.com login user2 password passwd2 | |
| </file> | |
| @@ -65,10 +65,10 @@ proxy | |
| HTTP POST multipart without Expect: header using proxy anyauth (Digest) | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -H "Expect:" -U uuuser:pppassword --proxy-anyauth |
| + | -x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt -H "Expect:" -U uuuser:pppassword --proxy-anyauth |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo- | |
| This is a moo- | |
| bar | |
| @@ -61,10 +61,10 @@ proxy | |
| HTTP POST multipart with Expect: header using proxy anyauth (Digest) | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -U uuuser:pppassword --proxy-anyauth -H "Expect: 100-continue" |
| + | -x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt -U uuuser:pppassword --proxy-anyauth -H "Expect: 100-continue" |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo- | |
| This is a moo- | |
| bar | |
| @@ -53,7 +53,7 @@ http | |
| HTTP GET with chunked Transfer-Encoding and chunked trailer | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -67,7 +67,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/heads%TESTNUMBER"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 funky chunky! | |
| Server: fakeit/0.9 fakeitbad/1.0 | |
| Transfer-Encoding: chunked | |
| @@ -28,9 +28,9 @@ http | |
| HTTP PUT from file with 100 + 401 responses and -f without auth given | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -f -T log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -f -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| Weird | |
| file | |
| to | |
| @@ -16,9 +16,9 @@ tftp | |
| TFTP send | |
| </name> | |
| <command> | |
| - | -T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// |
| + | -T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| a chunk of | |
| data | |
| sent | |
| @@ -16,9 +16,9 @@ tftp | |
| TFTP send of boundary case 512 byte file | |
| </name> | |
| <command> | |
| - | -T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// |
| + | -T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| A chunk of data which exactly fits into | |
| a 512 byte TFTP block, testing a boundary | |
| condition in the TFTP transmit code. | |
| @@ -31,9 +31,9 @@ file:// with (unsupported) proxy, authentication and range | |
| all_proxy=http://fake:user@%HOSTIP:%NOLISTENPORT/ | |
| </setenv> | |
| <command option="no-include"> | |
| - | file://localhost%FILE_PWD/log/test%TESTNUMBER.txt |
| + | file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -17,7 +17,7 @@ ftp | |
| FTP resume upload but denied access to local file | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/illegal-nonexistent-file -C - |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/illegal-nonexistent-file -C - |
| </command> | |
| </client> | |
| @@ -36,7 +36,7 @@ http | |
| --output-dir | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/log |
| + | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR |
| </command> | |
| </client> | |
| @@ -50,7 +50,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| -foo- | |
| </file> | |
| </verify> | |
| @@ -36,7 +36,7 @@ http | |
| --output-dir with --create-dirs | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/log/tmp --create-dirs |
| + | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR/tmp --create-dirs |
| </command> | |
| </client> | |
| @@ -50,7 +50,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/tmp/%TESTNUMBER"> |
| + | <file name="%LOGDIR/tmp/%TESTNUMBER"> |
| -foo- | |
| </file> | |
| </verify> | |
| @@ -39,7 +39,7 @@ http | |
| --output-dir with -J | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -OJ --output-dir %PWD/log |
| + | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -OJ --output-dir %PWD/%LOGDIR |
| </command> | |
| </client> | |
| @@ -53,7 +53,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/MMM%TESTNUMBERMMM"> |
| + | <file name="%LOGDIR/MMM%TESTNUMBERMMM"> |
| -foo- | |
| </file> | |
| </verify> | |
| @@ -39,7 +39,7 @@ http | |
| Two --output-dir with --next in between | |
| </name> | |
| <command option="no-output,no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/log http://%HOSTIP:%HTTPPORT/another/%TESTNUMBER -o second%TESTNUMBER --output-dir %PWD/log |
| + | http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR http://%HOSTIP:%HTTPPORT/another/%TESTNUMBER -o second%TESTNUMBER --output-dir %PWD/%LOGDIR |
| </command> | |
| </client> | |
| @@ -58,10 +58,10 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/%TESTNUMBER"> |
| + | <file name="%LOGDIR/%TESTNUMBER"> |
| -foo- | |
| </file> | |
| - | <file2 name="log/second%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/second%TESTNUMBER"> |
| -foo- | |
| </file2> | |
| </verify> | |
| @@ -28,14 +28,14 @@ sftp | |
| SFTP correct sha256 host key | |
| </name> | |
| <command> | |
| - | --hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt |
| + | --hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt |
| </command> | |
| <setenv> | |
| # Needed for MSYS2 to not treat the argument as a POSIX path list | |
| # that has to be converted to Windows paths | |
| MSYS2_ARG_CONV_EXCL=* | |
| </setenv> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| test | |
| </file> | |
| </client> | |
| @@ -28,14 +28,14 @@ scp | |
| SCP correct sha256 host key | |
| </name> | |
| <command> | |
| - | --hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt |
| + | --hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt |
| </command> | |
| <setenv> | |
| # Needed for MSYS2 to not treat the argument as a POSIX path list | |
| # that has to be converted to Windows paths | |
| MSYS2_ARG_CONV_EXCL=* | |
| </setenv> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| test | |
| </file> | |
| </client> | |
| @@ -23,12 +23,12 @@ http | |
| HTTP with multiple -D | |
| </name> | |
| <command> | |
| - | -D log/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next -D log/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| + | -D %LOGDIR/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next -D %LOGDIR/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| </command> | |
| </client> | |
| <verify> | |
| - | <file name="log/heads%TESTNUMBER"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Content-Length: 6 | |
| @@ -23,12 +23,12 @@ http | |
| HTTP with multiple transfers in one -D | |
| </name> | |
| <command> | |
| - | -D log/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| + | -D %LOGDIR/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| </command> | |
| </client> | |
| <verify> | |
| - | <file name="log/heads%TESTNUMBER"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Content-Length: 6 | |
| @@ -31,10 +31,10 @@ https | |
| HTTPS multipart formpost | |
| </name> | |
| <command> | |
| - | -k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt |
| + | -k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
| </file> | |
| </client> | |
| @@ -128,7 +128,7 @@ HTTP with weirdly formatted cookies and cookiejar storage | |
| TZ=GMT | |
| </setenv> | |
| <command> | |
| - | http://test31.curl:%HTTPPORT/we/want/%TESTNUMBER -b none -c log/jar%TESTNUMBER.txt --resolve test31.curl:%HTTPPORT:127.0.0.1 |
| + | http://test31.curl:%HTTPPORT/we/want/%TESTNUMBER -b none -c %LOGDIR/jar%TESTNUMBER.txt --resolve test31.curl:%HTTPPORT:127.0.0.1 |
| </command> | |
| <precheck> | |
| perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" | |
| @@ -147,7 +147,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -58,7 +58,7 @@ simple TLS-SRP HTTPS GET, check user in response | |
| <verify> | |
| <protocol> | |
| </protocol> | |
| - | <file name="log/curl%TESTNUMBER.out"> |
| + | <file name="%LOGDIR/curl%TESTNUMBER.out"> |
| HTTP/1.0 200 OK | |
| Content-type: text/html | |
| @@ -43,7 +43,7 @@ http | |
| HTTP with cookiejar without cookies left | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -c log/cookies%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER0002 |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -c %LOGDIR/cookies%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER0002 |
| </command> | |
| <features> | |
| cookies | |
| @@ -65,7 +65,7 @@ Accept: */* | |
| Cookie: foobar=name | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -31,10 +31,10 @@ moo | |
| # Client-side | |
| <client> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| .host.foo.com TRUE /we/want/ FALSE 2147483647 test no | |
| </file> | |
| - | <file name="log/jar%TESTNUMBER-2.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER-2.txt" mode="text"> |
| .host.foo.com TRUE /we/want/ FALSE 2147483647 tester yes | |
| </file> | |
| <server> | |
| @@ -50,7 +50,7 @@ HTTP cookie with Max-Age=0 | |
| TZ=GMT | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b log/jar%TESTNUMBER.txt -b log/jar%TESTNUMBER-2.txt -H "Host: host.foo.com" http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER0002 |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b %LOGDIR/jar%TESTNUMBER.txt -b %LOGDIR/jar%TESTNUMBER-2.txt -H "Host: host.foo.com" http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER0002 |
| </command> | |
| <features> | |
| cookies | |
| @@ -23,7 +23,7 @@ http | |
| <name> | |
| HTTP PUT with resume | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| 012345678 | |
| 012345678 | |
| 012345678 | |
| @@ -36,7 +36,7 @@ HTTP PUT with resume | |
| 012345678 | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Tlog/test%TESTNUMBER.txt -C 50 |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C 50 |
| </command> | |
| </client> | |
| @@ -39,7 +39,7 @@ http | |
| Check if --etag-save saved correct etag to a file | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -53,7 +53,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| W/"asdf" | |
| </file> | |
| </verify> | |
| @@ -39,7 +39,7 @@ http | |
| Try to open a non existing file with --etag-compare should return an error | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -33,11 +33,11 @@ http | |
| <name> | |
| Check if --etag-compare set correct etag in header | |
| </name> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| "21025-dc7-39462498" | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -33,11 +33,11 @@ http | |
| <name> | |
| Both --etag-compare and --etag-save to save new Etag | |
| </name> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| "21025-dc7-39462498" | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER --etag-save log/out%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER --etag-save %LOGDIR/out%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -52,7 +52,7 @@ Accept: */* | |
| If-None-Match: "21025-dc7-39462498" | |
| </protocol> | |
| - | <file name="log/out%TESTNUMBER"> |
| + | <file name="%LOGDIR/out%TESTNUMBER"> |
| "21025-dc7-11111" | |
| </file> | |
| </verify> | |
| @@ -34,7 +34,7 @@ http | |
| Both --etag-compare and -save store new Etag using non-existing file | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER --etag-save log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER --etag-save %LOGDIR/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -49,7 +49,7 @@ Accept: */* | |
| If-None-Match: "" | |
| </protocol> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| "21025-dc7-11111" | |
| </file> | |
| </verify> | |
| @@ -33,11 +33,11 @@ http | |
| <name> | |
| Both --etag-compare and -save store new Etag using one pre-existing file | |
| </name> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| "21025-dc7-39462498" | |
| </file> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER --etag-save log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER --etag-save %LOGDIR/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -52,7 +52,7 @@ Accept: */* | |
| If-None-Match: "21025-dc7-39462498" | |
| </protocol> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| "21025-dc7-11111" | |
| </file> | |
| </verify> | |
| @@ -39,7 +39,7 @@ http | |
| --etag-save with blank incoming header | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save log/etag%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -53,7 +53,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/etag%TESTNUMBER"> |
| + | <file name="%LOGDIR/etag%TESTNUMBER"> |
| </file> | |
| </verify> | |
| @@ -21,7 +21,7 @@ ftp | |
| <name> | |
| FTP upload file with 552 disk full response | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -30,7 +30,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -36,7 +36,7 @@ load Alt-Svc from file and use | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "" | |
| </command> | |
| - | <file name="log/altsvc-%TESTNUMBER"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER"> |
| h1 example.com 80 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0 | |
| </file> | |
| </client> | |
| @@ -43,7 +43,7 @@ parse incoming Alt-Svc and save to file | |
| CURL_ALTSVC_HTTP="yeah" | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "log/altsvc-%TESTNUMBER" |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" |
| </command> | |
| </client> | |
| @@ -62,7 +62,7 @@ Accept: */* | |
| # matches | |
| s/\"([^\"]*)\"/TIMESTAMP/ | |
| </stripfile> | |
| - | <file name="log/altsvc-%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER" mode="text"> |
| # Your alt-svc cache. https://curl.se/docs/alt-svc.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| h1 %HOSTIP %HTTPPORT h1 nowhere.foo 81 TIMESTAMP 0 0 | |
| @@ -51,10 +51,10 @@ http | |
| HTTP PUT with Expect: 100-continue and 417 response | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| # 1053700 x 'x', large enough to invoke the 100-continue behaviour | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| %repeat[1053700 x x]% | |
| </file> | |
| </client> | |
| @@ -44,9 +44,9 @@ HTTPS GET translated by alt-svc lookup to HTTP/2 GET | |
| CURL_ALTSVC_HTTP="yeah" | |
| </setenv> | |
| <command> | |
| - | --http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" |
| + | --http2 --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" |
| </command> | |
| - | <file name="log/altsvc-%TESTNUMBER"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER"> |
| h2 %HOSTIP %HTTPPORT h2 %HOSTIP %HTTP2PORT "20290222 22:19:28" 0 0 | |
| </file> | |
| @@ -85,7 +85,7 @@ s/^server: nghttpx.*\r?\n// | |
| # matches | |
| s/\"2([^\"]*)\"/TIMESTAMP/ | |
| </stripfile> | |
| - | <file name="log/altsvc-%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER" mode="text"> |
| # Your alt-svc cache. https://curl.se/docs/alt-svc.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| h2 %HOSTIP %HTTPPORT h2 %HOSTIP %HTTP2PORT TIMESTAMP 0 0 | |
| @@ -44,9 +44,9 @@ HTTPS GET translated by alt-svc lookup to HTTP/2 GET | |
| CURL_ALTSVC_HTTP="yeah" | |
| </setenv> | |
| <command> | |
| - | --http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" |
| + | --http2 --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" |
| </command> | |
| - | <file name="log/altsvc-%TESTNUMBER"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER"> |
| h2 %HOSTIP %HTTPSPORT h2 %HOSTIP %HTTP2PORT "20290222 22:19:28" 0 0 | |
| </file> | |
| @@ -85,7 +85,7 @@ s/^server: nghttpx.*\r?\n// | |
| # matches | |
| s/\"2([^\"]*)\"/TIMESTAMP/ | |
| </stripfile> | |
| - | <file name="log/altsvc-%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER" mode="text"> |
| # Your alt-svc cache. https://curl.se/docs/alt-svc.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| h2 %HOSTIP %HTTPSPORT h2 %HOSTIP %HTTP2PORT TIMESTAMP 0 0 | |
| @@ -15,7 +15,7 @@ ftp | |
| <name> | |
| FTP resume upload file with nothing to start from | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -24,7 +24,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt --continue-at - |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt --continue-at - |
| </command> | |
| </client> | |
| @@ -28,9 +28,9 @@ https | |
| HTTPS PUT of small file | |
| </name> | |
| <command> | |
| - | -k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | -k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| %repeat[200 x banana]% | |
| </file> | |
| </client> | |
| @@ -29,7 +29,7 @@ http | |
| --etag-save with bad path then working transfer | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save log/nowhere/etag%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --include --output log/curl%TESTNUMBER.out |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/nowhere/etag%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --include --output %LOGDIR/curl%TESTNUMBER.out |
| </command> | |
| </client> | |
| @@ -22,7 +22,7 @@ none | |
| --etag-save with bad path - no transfer | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --etag-save log/nowhere/etag%TESTNUMBER |
| + | http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --etag-save %LOGDIR/nowhere/etag%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -35,7 +35,7 @@ http | |
| using more -o than URLs in the command line | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/dump -o log/dump2 --no-progress-meter |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/dump -o %LOGDIR/dump2 --no-progress-meter |
| </command> | |
| </client> | |
| @@ -35,7 +35,7 @@ http | |
| --remove-on-error | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/save-%TESTNUMBER --remove-on-error |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/save-%TESTNUMBER --remove-on-error |
| </command> | |
| </client> | |
| @@ -58,7 +58,7 @@ Accept: */* | |
| </protocol> | |
| # the file should be empty now | |
| - | <file name="log/save-%TESTNUMBER"> |
| + | <file name="%LOGDIR/save-%TESTNUMBER"> |
| </file> | |
| </verify> | |
| </testcase> | |
| @@ -21,7 +21,7 @@ none | |
| Reject using -T and -d at once | |
| </name> | |
| <command> | |
| - | -T log/%TESTNUMBER -d input http://never-accessed |
| + | -T %LOGDIR/%TESTNUMBER -d input http://never-accessed |
| </command> | |
| </client> | |
| @@ -28,7 +28,7 @@ Funny-head: yesyes | |
| # | |
| # Client-side | |
| <client> | |
| - | <file name="log/save"> |
| + | <file name="%LOGDIR/save"> |
| exists before command runs | |
| </file> | |
| <server> | |
| @@ -38,7 +38,7 @@ http | |
| --remove-on-error with --no-clobber and an added number | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/save --remove-on-error --no-clobber |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/save --remove-on-error --no-clobber |
| </command> | |
| </client> | |
| @@ -61,11 +61,11 @@ Accept: */* | |
| </protocol> | |
| # this file should be untouched | |
| - | <file name="log/save"> |
| + | <file name="%LOGDIR/save"> |
| exists before command runs | |
| </file> | |
| # the file should be empty now | |
| - | <file2 name="log/save.1"> |
| + | <file2 name="%LOGDIR/save.1"> |
| </file2> | |
| </verify> | |
| </testcase> | |
| @@ -28,9 +28,9 @@ http | |
| HTTP resume request without server supporting it | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o log/fewl%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/fewl%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/fewl%TESTNUMBER.txt"> |
| This text is here to simulate a partly downloaded file to resume | |
| download on. | |
| </file> | |
| @@ -51,7 +51,7 @@ Accept: */* | |
| </protocol> | |
| # the download target file must remain untouched | |
| - | <file name="log/fewl%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/fewl%TESTNUMBER.txt"> |
| This text is here to simulate a partly downloaded file to resume | |
| download on. | |
| </file> | |
| @@ -38,9 +38,9 @@ pick netrc password based on user name in URL | |
| </name> | |
| <command> | |
| - | --netrc --netrc-file log/netrc%TESTNUMBER ftp://mary@%HOSTIP:%FTPPORT/ |
| + | --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary@%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| machine %HOSTIP login frankenstein password wrongone | |
| machine %HOSTIP login mary password yram | |
| @@ -42,9 +42,9 @@ netrc-optional lets URL creds override netrc | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://mary:drfrank@%HOSTIP:%FTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:drfrank@%HOSTIP:%FTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| # the following two lines were created while testing curl | |
| machine %HOSTIP login frankenstein password wrongone | |
| machine %HOSTIP login mary password yram | |
| @@ -29,10 +29,10 @@ http | |
| HTTP RFC1867-type formposting with filename= and type= | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl --form-string "str1=@literal" --form-string "str2=<verbatim;type=xxx/yyy" -F "file=@log/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile" -F file2=@log/test%TESTNUMBER.txt -F "file3=@\"log/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"log/test%TESTNUMBER.txt"; filename="A\\AA\"\"\\\"ZZZ"' |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl --form-string "str1=@literal" --form-string "str2=<verbatim;type=xxx/yyy" -F "file=@%LOGDIR/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile" -F file2=@%LOGDIR/test%TESTNUMBER.txt -F "file3=@\"%LOGDIR/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"%LOGDIR/test%TESTNUMBER.txt"; filename="A\\AA\"\"\\\"ZZZ"' |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo bar | |
| This is a bar foo | |
| bar | |
| @@ -27,7 +27,7 @@ Content-Type: text/html | |
| # | |
| # Client-side | |
| <client> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| %repeat[1000 x hellofile!]% | |
| </file> | |
| <server> | |
| @@ -38,7 +38,7 @@ ftp | |
| curl HTTP, FILE and FTP in parallel | |
| </name> | |
| <command option="no-output"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER file://localhost%FILE_PWD/log/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 --parallel -o log/%TESTNUMBER.a -o log/%TESTNUMBER.b -o log/%TESTNUMBER.c |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 --parallel -o %LOGDIR/%TESTNUMBER.a -o %LOGDIR/%TESTNUMBER.b -o %LOGDIR/%TESTNUMBER.c |
| </command> | |
| </client> | |
| @@ -15,11 +15,11 @@ http | |
| <name> | |
| 65536 bytes long host name in URL | |
| </name> | |
| - | <file name="log/input%TESTNUM"> |
| + | <file name="%LOGDIR/input%TESTNUM"> |
| url = http://%repeat[65536 x a]%/399 | |
| </file> | |
| <command> | |
| - | -K log/input%TESTNUM |
| + | -K %LOGDIR/input%TESTNUM |
| </command> | |
| </client> | |
| @@ -19,7 +19,7 @@ ftps | |
| <name> | |
| FTPS PASV upload file | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -28,7 +28,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -25,9 +25,9 @@ ftps | |
| FTPS PORT upload with CWD | |
| </name> | |
| <command> | |
| - | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/CWD/STOR/RETR/%TESTNUMBER -T log/upload%TESTNUMBER -P - |
| + | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/CWD/STOR/RETR/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -P - |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -19,7 +19,7 @@ ftps | |
| <name> | |
| FTPS PASV upload file | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -28,7 +28,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt |
| + | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -32,11 +32,11 @@ https | |
| HTTPS GET with very long request header | |
| </name> | |
| # 14 characters repeated 3500 times makes 49000 bytes | |
| - | <file name="log/file%TESTNUMBER"> |
| + | <file name="%LOGDIR/file%TESTNUMBER"> |
| Long: %repeat[3500 x header content]% | |
| </file> | |
| <command> | |
| - | -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -H @log/file%TESTNUMBER |
| + | -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -H @%LOGDIR/file%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -20,7 +20,7 @@ none | |
| -K with missing file causes error | |
| </name> | |
| <command> | |
| - | -K log/missing http://localhost |
| + | -K %LOGDIR/missing http://localhost |
| </command> | |
| </client> | |
| @@ -28,7 +28,7 @@ none | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| <stderr mode="text"> | |
| - | curl: cannot read config from 'log/missing' |
| + | curl: cannot read config from '%LOGDIR/missing' |
| curl: option -K: error encountered when reading a file | |
| %if manual | |
| curl: try 'curl --help' or 'curl --manual' for more information | |
| @@ -41,9 +41,9 @@ alt-svc using host name with trailing dot in URL | |
| CURL_ALTSVC_HTTP="yeah" | |
| </setenv> | |
| <command> | |
| - | --alt-svc "log/altsvc-%TESTNUMBER" "http://whohoo.:12345/%TESTNUMBER" |
| + | --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" "http://whohoo.:12345/%TESTNUMBER" |
| </command> | |
| - | <file name="log/altsvc-%TESTNUMBER"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER"> |
| h1 whohoo 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0 | |
| </file> | |
| @@ -41,9 +41,9 @@ alt-svc using host name with trailing dot on host from file | |
| CURL_ALTSVC_HTTP="yeah" | |
| </setenv> | |
| <command> | |
| - | --alt-svc "log/altsvc-%TESTNUMBER" "http://whohoo:12345/%TESTNUMBER" |
| + | --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" "http://whohoo:12345/%TESTNUMBER" |
| </command> | |
| - | <file name="log/altsvc-%TESTNUMBER"> |
| + | <file name="%LOGDIR/altsvc-%TESTNUMBER"> |
| h1 whohoo. 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0 | |
| </file> | |
| @@ -55,7 +55,7 @@ https | |
| HTTPS sec-cookie, HTTP redirect, same name cookie, redirect back | |
| </name> | |
| <command> | |
| - | https://attack.invalid:%HTTPSPORT/a/b/%TESTNUMBER -k -c log/cookie%TESTNUMBER --resolve attack.invalid:%HTTPSPORT:%HOSTIP --resolve attack.invalid:%HTTPPORT:%HOSTIP -L |
| + | https://attack.invalid:%HTTPSPORT/a/b/%TESTNUMBER -k -c %LOGDIR/cookie%TESTNUMBER --resolve attack.invalid:%HTTPSPORT:%HOSTIP --resolve attack.invalid:%HTTPPORT:%HOSTIP -L |
| </command> | |
| </client> | |
| @@ -37,9 +37,9 @@ http | |
| Setting cookies set with expried dates that were loaded from jar | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/func_test/del_cookie -b log/cookie%TESTNUMBER -c log/save%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/func_test/del_cookie -b %LOGDIR/cookie%TESTNUMBER -c %LOGDIR/save%TESTNUMBER |
| </command> | |
| - | <file name="log/cookie%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookie%TESTNUMBER" mode="text"> |
| %HOSTIP FALSE /func_test FALSE 1709598616 mycookie6 991 | |
| #HttpOnly_%HOSTIP FALSE /func_test FALSE 1709598616 mycookie5 990 | |
| #HttpOnly_%HOSTIP FALSE /func_test FALSE 1709598616 mycookie4 950 | |
| @@ -64,7 +64,7 @@ Accept: */* | |
| Cookie: mycookie2=5900; mycookie=1200; mycookie3=900; mycookie4=950; mycookie5=990; mycookie6=991; mycookie1=4900 | |
| </protocol> | |
| - | <file name="log/save%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/save%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -37,19 +37,19 @@ Content-Type: text/3 | |
| # | |
| # Client-side | |
| <client> | |
| - | <file1 name="log/config%TESTNUMBER-a"> |
| + | <file1 name="%LOGDIR/config%TESTNUMBER-a"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0001 | |
| header = "a: a" | |
| data = "a" | |
| </file1> | |
| - | <file2 name="log/config%TESTNUMBER-b"> |
| + | <file2 name="%LOGDIR/config%TESTNUMBER-b"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0002 | |
| header = "b: b" | |
| data = "b" | |
| </file2> | |
| - | <file3 name="log/config%TESTNUMBER-c"> |
| + | <file3 name="%LOGDIR/config%TESTNUMBER-c"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0003 | |
| header = "c: c" | |
| @@ -63,7 +63,7 @@ http | |
| Three -K uses with --next and --data in each | |
| </name> | |
| <command> | |
| - | -K log/config%TESTNUMBER-a -K log/config%TESTNUMBER-b -K log/config%TESTNUMBER-c |
| + | -K %LOGDIR/config%TESTNUMBER-a -K %LOGDIR/config%TESTNUMBER-b -K %LOGDIR/config%TESTNUMBER-c |
| </command> | |
| </client> | |
| @@ -37,13 +37,13 @@ Content-Type: text/3 | |
| # | |
| # Client-side | |
| <client> | |
| - | <file1 name="log/config%TESTNUMBER-a"> |
| + | <file1 name="%LOGDIR/config%TESTNUMBER-a"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0001 | |
| header = "a: a" | |
| data = "a" | |
| </file1> | |
| - | <file2 name="log/config%TESTNUMBER-b"> |
| + | <file2 name="%LOGDIR/config%TESTNUMBER-b"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0002 | |
| header = "b: b" | |
| @@ -57,7 +57,7 @@ http | |
| Two -K uses with --next and then one on cmdline | |
| </name> | |
| <command> | |
| - | -K log/config%TESTNUMBER-a -K log/config%TESTNUMBER-b --next -d c %HOSTIP:%HTTPPORT/%TESTNUMBER0003 -H "c: c" |
| + | -K %LOGDIR/config%TESTNUMBER-a -K %LOGDIR/config%TESTNUMBER-b --next -d c %HOSTIP:%HTTPPORT/%TESTNUMBER0003 -H "c: c" |
| </command> | |
| </client> | |
| @@ -37,7 +37,7 @@ Content-Type: text/3 | |
| # | |
| # Client-side | |
| <client> | |
| - | <file1 name="log/config%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/config%TESTNUMBER"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0001 | |
| header = "a: a" | |
| @@ -46,9 +46,9 @@ data = "a" | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0002 | |
| header = "b: b" | |
| data = "b" | |
| - | config = "log/config%TESTNUMBER-c" |
| + | config = "%LOGDIR/config%TESTNUMBER-c" |
| </file1> | |
| - | <file2 name="log/config%TESTNUMBER-c"> |
| + | <file2 name="%LOGDIR/config%TESTNUMBER-c"> |
| --next | |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER0003 | |
| header = "c: c" | |
| @@ -62,7 +62,7 @@ http | |
| Use -K with --next and --config from within | |
| </name> | |
| <command> | |
| - | -K log/config%TESTNUMBER |
| + | -K %LOGDIR/config%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -20,7 +20,7 @@ Content-Type: text/1 | |
| # | |
| # Client-side | |
| <client> | |
| - | <file1 name="log/.curlrc"> |
| + | <file1 name="%LOGDIR/.curlrc"> |
| --next | |
| header = "a: a" | |
| data = "curlrc read" | |
| @@ -29,7 +29,7 @@ data = "curlrc read" | |
| http | |
| </server> | |
| <setenv> | |
| - | XDG_CONFIG_HOME=%PWD/log |
| + | XDG_CONFIG_HOME=%PWD/%LOGDIR |
| HOME= | |
| CURL_HOME= | |
| </setenv> | |
| @@ -19,7 +19,7 @@ Content-Type: text/1 | |
| # | |
| <client> | |
| - | <file name="log/config%TESTNUMBER" nonewline="yes"> |
| + | <file name="%LOGDIR/config%TESTNUMBER" nonewline="yes"> |
| url = %HOSTIP:%HTTPPORT/%TESTNUMBER | |
| </file> | |
| <server> | |
| @@ -29,7 +29,7 @@ http | |
| -K with a single line without newline | |
| </name> | |
| <command> | |
| - | -K log/config%TESTNUMBER |
| + | -K %LOGDIR/config%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -20,7 +20,7 @@ Content-Type: text/1 | |
| # | |
| # Client-side | |
| <client> | |
| - | <file1 name="log/.config/curlrc"> |
| + | <file1 name="%LOGDIR/.config/curlrc"> |
| --next | |
| header = "a: a" | |
| data = "curlrc read" | |
| @@ -29,7 +29,7 @@ data = "curlrc read" | |
| http | |
| </server> | |
| <setenv> | |
| - | CURL_HOME=%PWD/log |
| + | CURL_HOME=%PWD/%LOGDIR |
| XDG_CONFIG_HOME= | |
| </setenv> | |
| <name> | |
| @@ -30,10 +30,10 @@ http | |
| HTTP RFC1867-type formposting without Expect: header | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -H "Expect:" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt -H "Expect:" |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo- | |
| This is a moo- | |
| bar | |
| @@ -34,7 +34,7 @@ https | |
| </features> | |
| # no trailing dot in the file only in the URL | |
| - | <file name="log/input%TESTNUMBER"> |
| + | <file name="%LOGDIR/input%TESTNUMBER"> |
| this.hsts.example "99991001 04:47:41" | |
| </file> | |
| @@ -42,7 +42,7 @@ this.hsts.example "99991001 04:47:41" | |
| HSTS with trailing-dot host name in URL but none in hsts file | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT http://this.hsts.example./%TESTNUMBER --hsts log/input%TESTNUMBER -w '%{url_effective}\n' |
| + | -x http://%HOSTIP:%HTTPPORT http://this.hsts.example./%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\n' |
| </command> | |
| </client> | |
| @@ -34,7 +34,7 @@ https | |
| </features> | |
| # no trailing dot in the file only in the URL | |
| - | <file name="log/input%TESTNUMBER"> |
| + | <file name="%LOGDIR/input%TESTNUMBER"> |
| this.hsts.example. "99991001 04:47:41" | |
| </file> | |
| @@ -42,7 +42,7 @@ this.hsts.example. "99991001 04:47:41" | |
| HSTS with no t-dot host name in URL but t-dot in file | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts log/input%TESTNUMBER -w '%{url_effective}\n' |
| + | -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\n' |
| </command> | |
| </client> | |
| @@ -38,9 +38,9 @@ http | |
| Send capped huge number of matching cookies | |
| </name> | |
| <command> | |
| - | http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -b log/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP -L |
| + | http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -b %LOGDIR/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP -L |
| </command> | |
| - | <file name="log/cookie%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookie%TESTNUMBER" mode="text"> |
| attack.invalid TRUE / FALSE 0 name1 could-be-large-1 | |
| attack.invalid TRUE / FALSE 0 name2 could-be-large-2 | |
| attack.invalid TRUE / FALSE 0 name3 could-be-large-3 | |
| @@ -38,9 +38,9 @@ http | |
| Cookie header in request no longer than 8K | |
| </name> | |
| <command> | |
| - | http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -b log/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP -L |
| + | http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -b %LOGDIR/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP -L |
| </command> | |
| - | <file name="log/cookie%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookie%TESTNUMBER" mode="text"> |
| attack.invalid TRUE / FALSE 0 huge-1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-1 | |
| attack.invalid TRUE / FALSE 0 huge-2 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-2 | |
| attack.invalid TRUE / FALSE 0 huge-3 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-3 | |
| @@ -116,7 +116,7 @@ http | |
| Many Set-Cookie response headers | |
| </name> | |
| <command> | |
| - | http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -c log/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP |
| + | http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -c %LOGDIR/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP |
| </command> | |
| <features> | |
| cookies | |
| @@ -133,7 +133,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/cookie%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookie%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -52,7 +52,7 @@ CURL_TIME=2000000000 | |
| HSTS with two URLs | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%PROXYPORT --hsts log/hsts%TESTNUMBER http://this.hsts.example./%TESTNUMBER http://another.example.com/%TESTNUMBER0002 |
| + | -x http://%HOSTIP:%PROXYPORT --hsts %LOGDIR/hsts%TESTNUMBER http://this.hsts.example./%TESTNUMBER http://another.example.com/%TESTNUMBER0002 |
| </command> | |
| </client> | |
| @@ -73,7 +73,7 @@ Proxy-Connection: Keep-Alive | |
| </proxy> | |
| - | <file name="log/hsts%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/hsts%TESTNUMBER" mode="text"> |
| # Your HSTS cache. https://curl.se/docs/hsts.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| this.hsts.example "20330525 03:33:20" | |
| @@ -43,9 +43,9 @@ HTTP with bad domain name, get cookies and store in cookie jar | |
| TZ=GMT | |
| </setenv> | |
| <command> | |
| - | domain..tld:%HTTPPORT/want/%TESTNUMBER --resolve domain..tld:%HTTPPORT:%HOSTIP -c log/jar%TESTNUMBER -b log/injar%TESTNUMBER |
| + | domain..tld:%HTTPPORT/want/%TESTNUMBER --resolve domain..tld:%HTTPPORT:%HOSTIP -c %LOGDIR/jar%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER |
| </command> | |
| - | <file name="log/injar%TESTNUMBER"> |
| + | <file name="%LOGDIR/injar%TESTNUMBER"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This is generated by libcurl! Do not edit. | |
| @@ -71,7 +71,7 @@ Accept: */* | |
| Cookie: empty=; mooo2=indeed2; mooo=indeed | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -35,9 +35,9 @@ http | |
| Two globbed HTTP PUTs | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T '{log/in%TESTNUMBER,log/in%TESTNUMBER}' |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T '{%LOGDIR/in%TESTNUMBER,%LOGDIR/in%TESTNUMBER}' |
| </command> | |
| - | <file name="log/in%TESTNUMBER"> |
| + | <file name="%LOGDIR/in%TESTNUMBER"> |
| surprise! | |
| </file> | |
| </client> | |
| @@ -35,9 +35,9 @@ http | |
| Two globbed HTTP PUTs, the second upload file is missing | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T '{log/in%TESTNUMBER,log/bad%TESTNUMBER}' |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T '{%LOGDIR/in%TESTNUMBER,%LOGDIR/bad%TESTNUMBER}' |
| </command> | |
| - | <file name="log/in%TESTNUMBER"> |
| + | <file name="%LOGDIR/in%TESTNUMBER"> |
| surprise! | |
| </file> | |
| </client> | |
| @@ -35,12 +35,12 @@ http | |
| Two globbed HTTP PUTs to two globbed URLs | |
| </name> | |
| <command> | |
| - | 'http://%HOSTIP:%HTTPPORT/{one,two}/' -T '{log/first%TESTNUMBER,log/second%TESTNUMBER}' -H "Testno: %TESTNUMBER" |
| + | 'http://%HOSTIP:%HTTPPORT/{one,two}/' -T '{%LOGDIR/first%TESTNUMBER,%LOGDIR/second%TESTNUMBER}' -H "Testno: %TESTNUMBER" |
| </command> | |
| - | <file name="log/first%TESTNUMBER"> |
| + | <file name="%LOGDIR/first%TESTNUMBER"> |
| first %TESTNUMBER contents | |
| </file> | |
| - | <file1 name="log/second%TESTNUMBER"> |
| + | <file1 name="%LOGDIR/second%TESTNUMBER"> |
| second %TESTNUMBER contents | |
| </file1> | |
| </client> | |
| @@ -33,7 +33,7 @@ proxy | |
| https | |
| </features> | |
| - | <file name="log/input%TESTNUMBER"> |
| + | <file name="%LOGDIR/input%TESTNUMBER"> |
| .hsts.example "99991001 04:47:41" | |
| </file> | |
| @@ -41,7 +41,7 @@ https | |
| HSTS and %{url_effective} after upgrade | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts log/input%TESTNUMBER -w '%{url_effective}\n' |
| + | -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\n' |
| </command> | |
| </client> | |
| @@ -25,9 +25,9 @@ ftp | |
| skip 'macdef' when parsing netrc | |
| </name> | |
| <command> | |
| - | --netrc --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER |
| + | --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| macdef testmacro | |
| bin | |
| @@ -38,14 +38,14 @@ lib500 | |
| simple libcurl HTTP GET tool | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER |
| </command> | |
| </client> | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/ip%TESTNUMBER"> |
| + | <file name="%LOGDIR/ip%TESTNUMBER"> |
| IP %HOSTIP | |
| </file> | |
| <protocol> | |
| @@ -30,9 +30,9 @@ lib%TESTNUMBER | |
| simple multi file:// get | |
| </name> | |
| <command> | |
| - | file://%PWD/log/test%TESTNUMBER.txt |
| + | file://%PWD/%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar swsclose | |
| bar | |
| @@ -59,7 +59,7 @@ simple multi http:// through proxytunnel with authentication info | |
| <command> | |
| http://machine.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT | |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo | |
| bar | |
| bar | |
| @@ -23,9 +23,9 @@ lib%TESTNUMBER | |
| FTP upload with rename after transfer | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Contents | |
| of | |
| a file | |
| @@ -233,7 +233,7 @@ lock: share [Pigs in space]: 98 | |
| unlock: share [Pigs in space]: 99 | |
| GLOBAL_CLEANUP | |
| </stdout> | |
| - | <file name="log/jar%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -26,9 +26,9 @@ lib%TESTNUMBER | |
| FTP PORT upload using multi interface | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -26,9 +26,9 @@ lib%TESTNUMBER | |
| FTP PORT upload using multi interface (weird cleanup function sequence) | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -29,9 +29,9 @@ http | |
| HTTP, junk session cookies | |
| </name> | |
| <command> | |
| - | %HOSTIP:%HTTPPORT/want/%TESTNUMBER -b log/injar%TESTNUMBER -j |
| + | %HOSTIP:%HTTPPORT/want/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -j |
| </command> | |
| - | <file name="log/injar%TESTNUMBER"> |
| + | <file name="%LOGDIR/injar%TESTNUMBER"> |
| %HOSTIP FALSE / FALSE 2139150993 mooo indeed | |
| %HOSTIP FALSE / FALSE 0 moo1 indeed | |
| %HOSTIP FALSE / FALSE 1 moo2 indeed | |
| @@ -29,9 +29,9 @@ lib525 | |
| FTP PORT upload using multi interface and get 425 response | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| don't upload this | |
| </file> | |
| @@ -23,9 +23,9 @@ lib%TESTNUMBER | |
| FTP upload and upload same file again without rewind | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Contents | |
| of | |
| a file | |
| @@ -35,7 +35,7 @@ nothing | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/memdump"> |
| + | <file name="%LOGDIR/memdump"> |
| MEM easy.c: malloc() | |
| MEM lib%TESTNUMBER.c: malloc() | |
| MEM lib%TESTNUMBER.c: free() | |
| @@ -37,14 +37,14 @@ lib%TESTNUMBER | |
| HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER |
| </command> | |
| </client> | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/ip%TESTNUMBER"> |
| + | <file name="%LOGDIR/ip%TESTNUMBER"> |
| CL 0 | |
| </file> | |
| <protocol> | |
| @@ -61,7 +61,7 @@ RTSP Announce (PUT and POST style) test | |
| rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER | |
| </command> | |
| # file written before test command runs | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| v=0 | |
| o=mhandley 2890844526 2890845468 IN IP4 126.16.64.4 | |
| s=SDP Seminar | |
| @@ -66,7 +66,7 @@ lib%TESTNUMBER | |
| RTSP Session ID parsing | |
| </name> | |
| <command> | |
| - | rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER log/idfile%TESTNUMBER.txt |
| + | rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER %LOGDIR/idfile%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -100,7 +100,7 @@ CSeq: 6 | |
| Session: A | |
| </protocol> | |
| - | <file name="log/idfile%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/idfile%TESTNUMBER.txt"> |
| Got Session ID: [00.+1-am-aSe55ion_id\$yes-i-am\$] | |
| Got Session ID: [\$extraspaces] | |
| Got Session ID: [A] | |
| @@ -26,7 +26,7 @@ http | |
| HTTP content-type with spaces in | |
| </name> | |
| <command> | |
| - | -w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/out%TESTNUMBER |
| + | -w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/out%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -86,7 +86,7 @@ lib%TESTNUMBER | |
| RTSP RTP Interleaving Test | |
| </name> | |
| <command> | |
| - | rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER log/protofile%TESTNUMBER.txt |
| + | rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER %LOGDIR/protofile%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -114,7 +114,7 @@ RTP PAYLOAD END CORRUPTED (11), [$] | |
| RTP: message size 63, channel 0 | |
| </stdout> | |
| - | <file name="log/protofile%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/protofile%TESTNUMBER.txt"> |
| $99 | |
| </file> | |
| </verify> | |
| @@ -76,7 +76,7 @@ RTSP GET_PARAMETER (Put/Heartbeat/Post) | |
| rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER | |
| </command> | |
| # file written before test command runs | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| scale | |
| speed | |
| </file> | |
| @@ -38,14 +38,14 @@ lib%TESTNUMBER | |
| HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER |
| </command> | |
| </client> | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/ip%TESTNUMBER"> |
| + | <file name="%LOGDIR/ip%TESTNUMBER"> |
| PASSED, UL data matched data size | |
| </file> | |
| </verify> | |
| @@ -68,14 +68,14 @@ lib%TESTNUMBER | |
| small chunked HTTP POSTs with digest auth. and progress callback | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER |
| </command> | |
| </client> | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/ip%TESTNUMBER"> |
| + | <file name="%LOGDIR/ip%TESTNUMBER"> |
| Progress callback called with UL 0 out of 0 | |
| Progress callback called with UL 8 out of 0 | |
| Progress callback called with UL 16 out of 0 | |
| @@ -26,9 +26,9 @@ http | |
| HTTP PUT from file with weird letters | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/ -T log/%TESTNUMBERte[]st.txt -g |
| + | http://%HOSTIP:%HTTPPORT/we/want/ -T %LOGDIR/%TESTNUMBERte[]st.txt -g |
| </command> | |
| - | <file name="log/%TESTNUMBERte[]st.txt"> |
| + | <file name="%LOGDIR/%TESTNUMBERte[]st.txt"> |
| a few bytes | |
| </file> | |
| </client> | |
| @@ -24,9 +24,9 @@ lib%TESTNUMBER | |
| SFTP upload using multi interface | |
| </name> | |
| <command> | |
| - | Sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload%TESTNUMBER.txt %PWD/log/file%TESTNUMBER.txt %USER: |
| + | Sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/upload%TESTNUMBER.txt %PWD/%LOGDIR/file%TESTNUMBER.txt %USER: |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -41,7 +41,7 @@ disable | |
| </strip> | |
| <protocol> | |
| </protocol> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -29,7 +29,7 @@ SFTP with multi interface, remove handle early | |
| # name resolve will cause it to return rather quickly and thus we could trigger | |
| # the problem we're looking to verify. | |
| <command> | |
| - | sftp://localhost:%SSHPORT%SSH_PWD/log/upload%TESTNUMBER.txt %USER: |
| + | sftp://localhost:%SSHPORT%SSH_PWD/%LOGDIR/upload%TESTNUMBER.txt %USER: |
| </command> | |
| </client> | |
| @@ -35,9 +35,9 @@ lib525 | |
| FTP PORT upload using multi interface, EPRT doesn't work | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo | |
| upload this | |
| </file> | |
| @@ -37,9 +37,9 @@ lib%TESTNUMBER | |
| FTP multi PORT and 425 on upload | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo for %TESTNUMBER | |
| upload this | |
| </file> | |
| @@ -37,9 +37,9 @@ lib591 | |
| FTP multi PORT and 421 on upload | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo for %TESTNUMBER | |
| upload this | |
| </file> | |
| @@ -37,9 +37,9 @@ lib591 | |
| FTP multi PORT upload, no data conn and no transient neg. reply | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo for %TESTNUMBER | |
| upload this | |
| </file> | |
| @@ -39,9 +39,9 @@ lib591 | |
| FTP multi PORT upload, no data conn and no positive prelim. reply | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 %LOGDIR/upload%TESTNUMBER |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Moooooooooooo for %TESTNUMBER | |
| upload this | |
| </file> | |
| @@ -36,7 +36,7 @@ lib585 | |
| verify close callbacks with passive FTP | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/ip%TESTNUMBER |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -36,7 +36,7 @@ lib585 | |
| verify close callbacks with active FTP | |
| </name> | |
| <command> | |
| - | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/ip%TESTNUMBER activeftp |
| + | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER activeftp |
| </command> | |
| </client> | |
| @@ -72,14 +72,14 @@ lib%TESTNUMBER | |
| HTTP GET with progress callback and redirects changing content sizes | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER |
| </command> | |
| </client> | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/ip%TESTNUMBER"> |
| + | <file name="%LOGDIR/ip%TESTNUMBER"> |
| CL -1 | |
| </file> | |
| </verify> | |
| @@ -24,9 +24,9 @@ sftp | |
| SFTP retrieval | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -24,9 +24,9 @@ scp | |
| SCP retrieval | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -21,9 +21,9 @@ sftp | |
| SFTP put | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.%TESTNUMBER --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/upload.%TESTNUMBER --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -21,9 +21,9 @@ scp | |
| SCP upload | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.%TESTNUMBER --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/upload.%TESTNUMBER --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -24,14 +24,14 @@ sftp | |
| SFTP post-quote rename | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/file%TESTNUMBER.txt %PWD/log/file%TESTNUMBER-renamed.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/%LOGDIR/file%TESTNUMBER.txt %PWD/%LOGDIR/file%TESTNUMBER-renamed.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| # Verify that the file was renamed properly, then rename the file back to what | |
| # it was so the verify section works and the file can be cleaned up. | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl gone %PWD/log/file%TESTNUMBER.txt move %PWD/log/file%TESTNUMBER-renamed.txt %PWD/log/file%TESTNUMBER.txt |
| + | perl %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/file%TESTNUMBER.txt move %PWD/%LOGDIR/file%TESTNUMBER-renamed.txt %PWD/%LOGDIR/file%TESTNUMBER.txt |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test file for rename test | |
| </file> | |
| </client> | |
| @@ -39,7 +39,7 @@ Test file for rename test | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test file for rename test | |
| </file> | |
| <valgrind> | |
| @@ -25,9 +25,9 @@ sftp | |
| SFTP post-quote mkdir failure | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-mkdir %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-mkdir %PWD/%LOGDIR/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test file for mkdir test | |
| </file> | |
| </client> | |
| @@ -45,7 +45,7 @@ HTTP with various cookies and custom Host: | |
| TZ=GMT | |
| </setenv> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -c log/jar%TESTNUMBER.txt -H "Host: www.host.foo.com" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -c %LOGDIR/jar%TESTNUMBER.txt -H "Host: www.host.foo.com" |
| </command> | |
| <features> | |
| cookies | |
| @@ -61,7 +61,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -21,18 +21,18 @@ Dummy test file for rmdir test | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test%TESTNUMBER.pl mkdir %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test%TESTNUMBER.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP post-quote rmdir | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rmdir %PWD/log/test%TESTNUMBER.dir" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rmdir %PWD/%LOGDIR/test%TESTNUMBER.dir" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test%TESTNUMBER.pl gone %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test%TESTNUMBER.pl gone %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Dummy test file for rmdir test | |
| </file> | |
| </client> | |
| @@ -21,18 +21,18 @@ Dummy test file for rename test | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test610.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP post-quote rename | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/test%TESTNUMBER.dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.new |
| + | perl %SRCDIR/libtest/test610.pl rmdir %PWD/%LOGDIR/test%TESTNUMBER.new |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Dummy test file for rename test | |
| </file> | |
| </client> | |
| @@ -24,12 +24,12 @@ sftp | |
| SFTP post-quote remove file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt -Q "-rm %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.%TESTNUMBER --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt -Q "-rm %PWD/%LOGDIR/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/upload.%TESTNUMBER --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl gone %PWD/log/test%TESTNUMBER.txt |
| + | perl %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/test%TESTNUMBER.txt |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Dummy test file for remove test | |
| </file> | |
| </client> | |
| @@ -23,16 +23,16 @@ d????????? N U U N ??? N NN:NN asubdir | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test%TESTNUMBER.pl prepare %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test%TESTNUMBER.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP directory retrieval | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/ --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test%TESTNUMBER.pl postprocess %PWD/log/test%TESTNUMBER.dir %PWD/log/curl%TESTNUMBER.out |
| + | perl %SRCDIR/libtest/test%TESTNUMBER.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/curl%TESTNUMBER.out |
| </postcheck> | |
| </client> | |
| @@ -24,16 +24,16 @@ d????????? N U U N ??? N NN:NN asubdir | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP pre-quote chmod | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/log/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/ --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir %PWD/log/curl%TESTNUMBER.out |
| + | perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/curl%TESTNUMBER.out |
| </postcheck> | |
| </client> | |
| @@ -14,18 +14,18 @@ FAILURE | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP put remote failure | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/rofile.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -23,9 +23,9 @@ sftp | |
| SFTP retrieval of empty file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| </file> | |
| </client> | |
| @@ -23,9 +23,9 @@ scp | |
| SCP retrieval of empty file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| </file> | |
| </client> | |
| @@ -15,9 +15,9 @@ sftp | |
| SFTP retrieval of two files | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -15,9 +15,9 @@ scp | |
| SCP retrieval of two files | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -29,9 +29,9 @@ http | |
| HTTP, send cookies when using custom Host: | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?hoge=fuga -b log/jar%TESTNUMBER.txt -H "Host: www.host.foo.com" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?hoge=fuga -b %LOGDIR/jar%TESTNUMBER.txt -H "Host: www.host.foo.com" |
| </command> | |
| - | <file name="log/jar%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -16,9 +16,9 @@ sftp | |
| SFTP retrieval of missing file followed by good file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -16,9 +16,9 @@ scp | |
| SCP retrieval of missing file followed by good file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/not-a-valid-file-moooo scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/not-a-valid-file-moooo scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -22,9 +22,9 @@ sftp | |
| SFTP put failure | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/nonexistent-directory/nonexistent-file --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -22,9 +22,9 @@ scp | |
| SCP upload failure | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/nonexistent-directory/nonexistent-file --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -22,12 +22,12 @@ sftp | |
| SFTP put with --ftp-create-dirs | |
| </name> | |
| <command> | |
| - | --ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/upload.%TESTNUMBER --insecure |
| + | --ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/upload.%TESTNUMBER --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl move %PWD/log/test%TESTNUMBER.dir/upload.%TESTNUMBER %PWD/log/upload.%TESTNUMBER rmdir %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test610.pl move %PWD/%LOGDIR/test%TESTNUMBER.dir/upload.%TESTNUMBER %PWD/%LOGDIR/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -22,12 +22,12 @@ sftp | |
| SFTP put with --ftp-create-dirs twice | |
| </name> | |
| <command> | |
| - | --ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.a/upload.%TESTNUMBER -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.b/upload.%TESTNUMBER --insecure |
| + | --ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.a/upload.%TESTNUMBER -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.b/upload.%TESTNUMBER --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl move %PWD/log/test%TESTNUMBER.a/upload.%TESTNUMBER %PWD/log/upload.%TESTNUMBER rmdir %PWD/log/test%TESTNUMBER.a rm %PWD/log/test%TESTNUMBER.b/upload.%TESTNUMBER rmdir %PWD/log/test%TESTNUMBER.b |
| + | perl %SRCDIR/libtest/test610.pl move %PWD/%LOGDIR/test%TESTNUMBER.a/upload.%TESTNUMBER %PWD/%LOGDIR/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.a rm %PWD/%LOGDIR/test%TESTNUMBER.b/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.b |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh upload test | |
| </file> | |
| @@ -22,9 +22,9 @@ sftp | |
| SFTP invalid quote command | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "invalid-command foo bar" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "invalid-command foo bar" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test file for rename test | |
| </file> | |
| </client> | |
| @@ -24,12 +24,12 @@ sftp | |
| SFTP quote remove file with NOBODY | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/%LOGDIR/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl gone %PWD/log/test%TESTNUMBER.txt |
| + | perl %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/test%TESTNUMBER.txt |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Dummy test file for remove test | |
| </file> | |
| </client> | |
| @@ -17,7 +17,7 @@ sftp | |
| SFTP incorrect host key | |
| </name> | |
| <command> | |
| - | --hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/irrelevant-file --insecure |
| + | --hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/irrelevant-file --insecure |
| </command> | |
| </client> | |
| @@ -17,7 +17,7 @@ scp | |
| SCP incorrect host key | |
| </name> | |
| <command> | |
| - | --hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/irrelevant-file --insecure |
| + | --hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/irrelevant-file --insecure |
| </command> | |
| </client> | |
| @@ -20,7 +20,7 @@ sftp | |
| SFTP syntactically invalid host key | |
| </name> | |
| <command> | |
| - | --hostpubmd5 00 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SSH_PWD/log/irrelevant-file --insecure |
| + | --hostpubmd5 00 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SSH_PWD/%LOGDIR/irrelevant-file --insecure |
| </command> | |
| </client> | |
| @@ -24,9 +24,9 @@ sftp | |
| SFTP retrieval with byte range | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 5-9 --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt -r 5-9 --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -25,9 +25,9 @@ sftp | |
| SFTP retrieval with byte range past end of file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 5-99 --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt -r 5-99 --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -24,9 +24,9 @@ sftp | |
| SFTP retrieval with byte range relative to end of file | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r -9 --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt -r -9 --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -25,9 +25,9 @@ sftp | |
| SFTP retrieval with X- byte range | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 5- --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt -r 5- --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -23,9 +23,9 @@ sftp | |
| SFTP retrieval with invalid X- range | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 99- --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt -r 99- --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -23,18 +23,18 @@ Dummy test file for rename test | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test610.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP post-quote rename * asterisk accept-fail | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test%TESTNUMBER.dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.new |
| + | perl %SRCDIR/libtest/test610.pl rmdir %PWD/%LOGDIR/test%TESTNUMBER.new |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Dummy test file for rename test | |
| </file> | |
| </client> | |
| @@ -23,18 +23,18 @@ Dummy test file for rename test | |
| sftp | |
| </server> | |
| <precheck> | |
| - | perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test610.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </precheck> | |
| <name> | |
| SFTP post-quote rename * asterisk accept-fail | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test%TESTNUMBER-not-exists-dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/%LOGDIR/test%TESTNUMBER-not-exists-dir %PWD/%LOGDIR/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| <postcheck> | |
| - | perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.dir |
| + | perl %SRCDIR/libtest/test610.pl rmdir %PWD/%LOGDIR/test%TESTNUMBER.dir |
| </postcheck> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Dummy test file for rename test | |
| </file> | |
| </client> | |
| @@ -23,9 +23,9 @@ sftp | |
| SFTP --head retrieval | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure --head |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure --head |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -23,9 +23,9 @@ scp | |
| SCP --head retrieval | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure --head |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure --head |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -24,9 +24,9 @@ sftp | |
| SFTP retrieval | |
| </name> | |
| <command> | |
| - | --key curl_client_key --pubkey curl_client_key.pub -u %USER: --compressed-ssh sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| + | --key curl_client_key --pubkey curl_client_key.pub -u %USER: --compressed-ssh sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| Test data | |
| for ssh test | |
| </file> | |
| @@ -58,7 +58,7 @@ CURL_FAKE_XATTR=1 | |
| --xattr with redirect | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --xattr -L -o log/out%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --xattr -L -o %LOGDIR/out%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -30,14 +30,14 @@ To: another | |
| body | |
| </stdin> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;headers=X-test1: this is a header;type=text/html;headers=X-test2: this is another header " -F "=This is the plain text version;headers=@log/headers%TESTNUMBER" -F "=)" -F "=@log/test%TESTNUMBER.txt;headers=<log/headers%TESTNUMBER" -H "From: different" -H "To: another" -H "Reply-To: <[email protected]>" |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;headers=X-test1: this is a header;type=text/html;headers=X-test2: this is another header " -F "=This is the plain text version;headers=@%LOGDIR/headers%TESTNUMBER" -F "=)" -F "=@%LOGDIR/test%TESTNUMBER.txt;headers=<%LOGDIR/headers%TESTNUMBER" -H "From: different" -H "To: another" -H "Reply-To: <[email protected]>" |
| </command> | |
| - | <file1 name="log/test%TESTNUMBER.txt"> |
| + | <file1 name="%LOGDIR/test%TESTNUMBER.txt"> |
| This is an attached file. | |
| It may contain any type of data. | |
| </file1> | |
| - | <file2 name="log/headers%TESTNUMBER"> |
| + | <file2 name="%LOGDIR/headers%TESTNUMBER"> |
| # This line is a comment | |
| X-fileheader1: This is a header from a file | |
| @@ -25,9 +25,9 @@ imap | |
| IMAP APPEND multipart using mime API | |
| </name> | |
| <command> | |
| - | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;type=text/html" -F "=This is the plain text version" -F "=)" -F "=@log/test%TESTNUMBER.txt" -H "Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)" -H "From: Fred Foobar <[email protected]>" -H "To: [email protected]" -H "Message-Id: <[email protected]>" -H "Subject: afternoon meeting" -u user:secret |
| + | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;type=text/html" -F "=This is the plain text version" -F "=)" -F "=@%LOGDIR/test%TESTNUMBER.txt" -H "Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)" -H "From: Fred Foobar <[email protected]>" -H "To: [email protected]" -H "Message-Id: <[email protected]>" -H "Subject: afternoon meeting" -u user:secret |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| This is an attached file. | |
| It may contain any type of data. | |
| @@ -30,9 +30,9 @@ To: another | |
| body | |
| </stdin> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F '=This is the email inline text with a very long line containing the special character = and that should be split by encoder.;headers=Content-disposition: "inline";encoder=quoted-printable' -F "=@log/test%TESTNUMBER.txt;encoder=base64" -H "From: different" -H "To: another" |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F '=This is the email inline text with a very long line containing the special character = and that should be split by encoder.;headers=Content-disposition: "inline";encoder=quoted-printable' -F "=@%LOGDIR/test%TESTNUMBER.txt;encoder=base64" -H "From: different" -H "To: another" |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| This is an attached file. | |
| It may contain any type of data and will be encoded in base64 for transfer. | |
| @@ -30,9 +30,9 @@ To: another | |
| body | |
| </stdin> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F '=This is valid;encoder=7bit' -F "=@log/test%TESTNUMBER.txt;encoder=7bit" -H "From: different" -H "To: another" |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F '=This is valid;encoder=7bit' -F "=@%LOGDIR/test%TESTNUMBER.txt;encoder=7bit" -H "From: different" -H "To: another" |
| </command> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| This is an attached file (in french: pièce jointe). | |
| It contains at least an 8-bit byte value. | |
| @@ -41,9 +41,9 @@ HTTP formpost using form API | |
| Some data from stdin | |
| </stdin> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/test%TESTNUMBER.filedata |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/test%TESTNUMBER.filedata |
| </command> | |
| - | <file name="log/test%TESTNUMBER.filedata"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.filedata"> |
| This is data from a file. | |
| </file> | |
| </client> | |
| @@ -41,9 +41,9 @@ curl_formadd with huge COPYCONTENTS | |
| Some data from stdin | |
| </stdin> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/test%TESTNUMBER.filedata |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/test%TESTNUMBER.filedata |
| </command> | |
| - | <file name="log/test%TESTNUMBER.filedata"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.filedata"> |
| This is data from a file. | |
| </file> | |
| </client> | |
| @@ -56,7 +56,7 @@ HTTP duplicate easy handle with mime data | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER | |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| This is data from a file | |
| </file> | |
| </client> | |
| @@ -24,9 +24,9 @@ sftp | |
| SFTP correct host key | |
| </name> | |
| <command> | |
| - | --hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt |
| + | --hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| test | |
| </file> | |
| </client> | |
| @@ -24,9 +24,9 @@ scp | |
| SCP correct host key | |
| </name> | |
| <command> | |
| - | --hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt |
| + | --hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| test | |
| </file> | |
| </client> | |
| @@ -49,7 +49,7 @@ HTTP mimepost early end of data detection | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER | |
| </command> | |
| - | <file name="log/file%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/file%TESTNUMBER.txt"> |
| This is data from a file | |
| </file> | |
| </client> | |
| @@ -44,7 +44,7 @@ Content-Type: text/html | |
| # Client-side | |
| <client> | |
| - | <file name="log/cookies676"> |
| + | <file name="%LOGDIR/cookies676"> |
| %HOSTIP TRUE /we/want/ FALSE 2118138987 proven yes | |
| </file> | |
| <server> | |
| @@ -34,9 +34,9 @@ http | |
| netrc with quoted password | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| machine %HOSTIP login user1 password "with spaces and \"\n\r\t\a" | |
| </file> | |
| </client> | |
| @@ -23,9 +23,9 @@ http | |
| netrc with quoted password but missing end quote | |
| </name> | |
| <command> | |
| - | --netrc --netrc-file log/netrc%TESTNUMBER http://[email protected]/ |
| + | --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER http://[email protected]/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| machine %HOSTIP login user1 password "with spaces and \"\n\r\t\a | |
| </file> | |
| </client> | |
| @@ -30,9 +30,9 @@ http | |
| netrc with multiple logins - pick first | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER http://user1@%HOSTIP:%HTTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user1@%HOSTIP:%HTTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| machine %HOSTIP login user1 password passwd1 | |
| machine %HOSTIP login user2 password passwd2 | |
| </file> | |
| @@ -30,9 +30,9 @@ http | |
| netrc with multiple logins - pick second | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER http://user2@%HOSTIP:%HTTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user2@%HOSTIP:%HTTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| machine %HOSTIP login user1 password passwd1 | |
| machine %HOSTIP login user2 password passwd2 | |
| </file> | |
| @@ -30,9 +30,9 @@ http | |
| netrc with no login | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| machine %HOSTIP password 5up3r53cr37 | |
| </file> | |
| </client> | |
| @@ -30,9 +30,9 @@ http | |
| netrc with no login - provided user | |
| </name> | |
| <command> | |
| - | --netrc-optional --netrc-file log/netrc%TESTNUMBER http://user@%HOSTIP:%HTTPPORT/ |
| + | --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user@%HOSTIP:%HTTPPORT/ |
| </command> | |
| - | <file name="log/netrc%TESTNUMBER" > |
| + | <file name="%LOGDIR/netrc%TESTNUMBER" > |
| machine %HOSTIP password 5up3r53cr37 | |
| </file> | |
| </client> | |
| @@ -32,7 +32,7 @@ http | |
| HTTP with cookie parser and header recording | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -D log/heads%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -D %LOGDIR/heads%TESTNUMBER.txt |
| </command> | |
| </client> | |
| @@ -45,7 +45,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/heads%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER.txt"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -33,14 +33,14 @@ HTTP and -F upload in config file | |
| <stdin> | |
| -F name=daniel | |
| -F tool=curl | |
| - | -F file=@log/test%TESTNUMBER.txt |
| + | -F file=@%LOGDIR/test%TESTNUMBER.txt |
| user-agent = "" | |
| </stdin> | |
| <command> | |
| http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -K - | |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo- | |
| This is a moo- | |
| bar | |
| @@ -29,7 +29,7 @@ http | |
| HTTP, receive cookies when using custom Host:, domain using only two dots | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -c log/jar%TESTNUMBER.txt -H "Host: host.NOT_DISCLOSED.se" |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -c %LOGDIR/jar%TESTNUMBER.txt -H "Host: host.NOT_DISCLOSED.se" |
| </command> | |
| <features> | |
| cookies | |
| @@ -45,7 +45,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/jar%TESTNUMBER.txt" mode="text"> |
| + | <file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -43,7 +43,7 @@ http | |
| HTTP, urlglob {}-retrieval and -o #[num] usage | |
| </name> | |
| <command option="no-output"> | |
| - | "http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0001}" -o "log/dumpit#1.dump" |
| + | "http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0001}" -o "%LOGDIR/dumpit#1.dump" |
| </command> | |
| </client> | |
| @@ -62,7 +62,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/dumpit%TESTNUMBER0001.dump"> |
| + | <file name="%LOGDIR/dumpit%TESTNUMBER0001.dump"> |
| HTTP/1.0 200 OK | |
| Content-Type: text/html | |
| Funny-head: swsclose | |
| @@ -25,7 +25,7 @@ http | |
| HTTP, urlglob retrieval with bad range | |
| </name> | |
| <command option="no-output"> | |
| - | "http://a-site-never-accessed.example.org/[2-1]" -o "log/weee#1.dump" --stderr - |
| + | "http://a-site-never-accessed.example.org/[2-1]" -o "%LOGDIR/weee#1.dump" --stderr - |
| </command> | |
| </client> | |
| @@ -25,11 +25,11 @@ http | |
| HTTP with cookie parsing from header file | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b log/heads%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b %LOGDIR/heads%TESTNUMBER.txt |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/heads%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/heads%TESTNUMBER.txt"> |
| HTTP/1.1 200 OK | |
| Date: Tue, 09 Nov 2010 14:49:00 GMT | |
| Server: test-server/fake | |
| @@ -23,9 +23,9 @@ imap | |
| IMAP APPEND message | |
| </name> | |
| <command> | |
| - | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -u user:secret |
| + | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST) | |
| From: Fred Foobar <[email protected]> | |
| Subject: afternoon meeting | |
| @@ -57,7 +57,7 @@ http | |
| HTTP, urlglob []-retrieval and -o #[num] usage | |
| </name> | |
| <command option="no-output"> | |
| - | "http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0003]" -o "log/dumpit#1.dump" |
| + | "http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0003]" -o "%LOGDIR/dumpit#1.dump" |
| </command> | |
| </client> | |
| @@ -83,7 +83,7 @@ Accept: */* | |
| </protocol> | |
| # we check the second file | |
| - | <file name="log/dumpit%TESTNUMBER0002.dump"> |
| + | <file name="%LOGDIR/dumpit%TESTNUMBER0002.dump"> |
| HTTP/1.0 200 OK | |
| Content-Type: text/html | |
| Funny-head: swsclose | |
| @@ -40,7 +40,7 @@ http | |
| urlglob with out of range -o #[num] usage | |
| </name> | |
| <command option="no-output"> | |
| - | "http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "log/dumpit%TESTNUMBER-#2.dump" |
| + | "http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "%LOGDIR/dumpit%TESTNUMBER-#2.dump" |
| </command> | |
| </client> | |
| @@ -50,7 +50,7 @@ urlglob with out of range -o #[num] usage | |
| # survives | |
| # | |
| <verify> | |
| - | <file name="log/dumpit%TESTNUMBER-#2.dump"> |
| + | <file name="%LOGDIR/dumpit%TESTNUMBER-#2.dump"> |
| HTTP/1.1 200 OK | |
| Funny-head: yesyes | |
| Content-Length: 16 | |
| @@ -63,9 +63,9 @@ crypto | |
| HTTP PUT with Digest authorization | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --digest |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --digest |
| </command> | |
| - | <file name="log/put%TESTNUMBER"> |
| + | <file name="%LOGDIR/put%TESTNUMBER"> |
| This is data we upload with PUT | |
| a second line | |
| line three | |
| @@ -31,7 +31,7 @@ imap | |
| IMAP and envelope meta data after body transfer | |
| </name> | |
| <command> | |
| - | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' -u user:secret -D log/head-%TESTNUMBER |
| + | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' -u user:secret -D %LOGDIR/head-%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -45,7 +45,7 @@ A003 SELECT %TESTNUMBER | |
| A004 FETCH 123 BODY[1] | |
| A005 LOGOUT | |
| </protocol> | |
| - | <file name="log/head-%TESTNUMBER"> |
| + | <file name="%LOGDIR/head-%TESTNUMBER"> |
| _ _ ____ _ | |
| ___| | | | _ \| | | |
| / __| | | | |_) | | | |
| @@ -30,10 +30,10 @@ http | |
| HTTP RFC1867-type formposting | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt |
| + | http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt |
| </command> | |
| # We create this file before the command is invoked! | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| foo- | |
| This is a moo- | |
| bar | |
| @@ -19,14 +19,14 @@ smtp | |
| <name> | |
| SMTP without SIZE support | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.eml"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.eml"> |
| From: different | |
| To: another | |
| body | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T log/test%TESTNUMBER.eml |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/test%TESTNUMBER.eml |
| </command> | |
| </client> | |
| @@ -23,14 +23,14 @@ smtp | |
| <name> | |
| SMTP with SIZE support | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.eml"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.eml"> |
| From: different | |
| To: another | |
| body | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T log/test%TESTNUMBER.eml |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/test%TESTNUMBER.eml |
| </command> | |
| </client> | |
| @@ -23,14 +23,14 @@ smtp | |
| <name> | |
| SMTP with large message SIZE | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.eml"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.eml"> |
| From: different | |
| To: another | |
| body | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T log/test%TESTNUMBER.eml |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/test%TESTNUMBER.eml |
| </command> | |
| </client> | |
| @@ -22,14 +22,14 @@ smtp | |
| <name> | |
| SMTP invalid --mail-from | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.eml"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.eml"> |
| From: different | |
| To: another | |
| body | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from invalid -T log/test%TESTNUMBER.eml |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from invalid -T %LOGDIR/test%TESTNUMBER.eml |
| </command> | |
| </client> | |
| @@ -30,11 +30,11 @@ smtp | |
| <name> | |
| SMTP multiple connection authentication | |
| </name> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| mail body | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER001 --mail-rcpt [email protected] --mail-from [email protected] -u user.one:secret -T log/upload%TESTNUMBER -: smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER002 --mail-rcpt [email protected] --mail-from [email protected] -u user.two:secret -T log/upload%TESTNUMBER |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER001 --mail-rcpt [email protected] --mail-from [email protected] -u user.one:secret -T %LOGDIR/upload%TESTNUMBER -: smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER002 --mail-rcpt [email protected] --mail-from [email protected] -u user.two:secret -T %LOGDIR/upload%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -20,7 +20,7 @@ smtp | |
| <name> | |
| SMTP with --crlf | |
| </name> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| From: different | |
| To: another | |
| @@ -34,7 +34,7 @@ the | |
| --crlf option | |
| </file> | |
| <command> | |
| - | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T log/upload%TESTNUMBER --crlf |
| + | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/upload%TESTNUMBER --crlf |
| </command> | |
| </client> | |
| @@ -30,7 +30,7 @@ curl memory tracking operational | |
| # | |
| # Verify data after the test has been "shot" | |
| <verify> | |
| - | <file name="log/memdump"> |
| + | <file name="%LOGDIR/memdump"> |
| MEM tool_paramhlp.c | |
| MEM tool_cfgable.c | |
| MEM tool_cfgable.c | |
| @@ -44,7 +44,7 @@ CURL_VERSION=curl-unit-test-fake-version | |
| HTTP GET with JSON output | |
| </name> | |
| <command option="no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{json}' -o log/out%TESTNUMBER |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{json}' -o %LOGDIR/out%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -59,7 +59,7 @@ Accept: */* | |
| </protocol> | |
| <stdout nonewline="yes"> | |
| - | {"certs":"","content_type":"text/html","errormsg":null,"exitcode":0,"filename_effective":"log/out%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_ip":"127.0.0.1","local_port":13,"method":"GET","num_certs":0,"num_connects":1,"num_headers":9,"num_redirects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"response_code":200,"scheme":"HTTP","size_download":445,"size_header":4019,"size_request":4019,"size_upload":0,"speed_download":13,"speed_upload":13,"ssl_verify_result":0,"time_appconnect":0.000013,"time_connect":0.000013,"time_namelookup":0.000013,"time_pretransfer":0.000013,"time_redirect":0.000013,"time_starttransfer":0.000013,"time_total":0.000013,"url":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","url_effective":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","urlnum":0,"curl_version":"curl-unit-test-fake-version"} |
| + | {"certs":"","content_type":"text/html","errormsg":null,"exitcode":0,"filename_effective":"%LOGDIR/out%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_ip":"127.0.0.1","local_port":13,"method":"GET","num_certs":0,"num_connects":1,"num_headers":9,"num_redirects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"response_code":200,"scheme":"HTTP","size_download":445,"size_header":4019,"size_request":4019,"size_upload":0,"speed_download":13,"speed_upload":13,"ssl_verify_result":0,"time_appconnect":0.000013,"time_connect":0.000013,"time_namelookup":0.000013,"time_pretransfer":0.000013,"time_redirect":0.000013,"time_starttransfer":0.000013,"time_total":0.000013,"url":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","url_effective":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","urlnum":0,"curl_version":"curl-unit-test-fake-version"} |
| </stdout> | |
| </verify> | |
| </testcase> | |
| @@ -45,7 +45,7 @@ CURL_VERSION=curl-unit-test-fake-version | |
| Verify JSON output | |
| </name> | |
| <command option="no-include"> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -s --write-out '%{json}\n' -o log/out972 |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -s --write-out '%{json}\n' -o %LOGDIR/out972 |
| </command> | |
| </client> | |
| @@ -60,7 +60,7 @@ Accept: */* | |
| </protocol> | |
| <stdout mode="text"> | |
| - | {"certs":"","content_type":"text/html","errormsg":null,"exitcode":0,"filename_effective":"log/out972","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_ip":"%HOSTIP","local_port":13,"method":"GET","num_certs":0,"num_connects":1,"num_headers":9,"num_redirects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"response_code":200,"scheme":"HTTP","size_download":445,"size_header":4019,"size_request":4019,"size_upload":0,"speed_download":13,"speed_upload":13,"ssl_verify_result":0,"time_appconnect":0.000013,"time_connect":0.000013,"time_namelookup":0.000013,"time_pretransfer":0.000013,"time_redirect":0.000013,"time_starttransfer":0.000013,"time_total":0.000013,"url":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","url_effective":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","urlnum":0,"curl_version":"curl-unit-test-fake-version"} |
| + | {"certs":"","content_type":"text/html","errormsg":null,"exitcode":0,"filename_effective":"%LOGDIR/out972","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_ip":"%HOSTIP","local_port":13,"method":"GET","num_certs":0,"num_connects":1,"num_headers":9,"num_redirects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"response_code":200,"scheme":"HTTP","size_download":445,"size_header":4019,"size_request":4019,"size_upload":0,"speed_download":13,"speed_upload":13,"ssl_verify_result":0,"time_appconnect":0.000013,"time_connect":0.000013,"time_namelookup":0.000013,"time_pretransfer":0.000013,"time_redirect":0.000013,"time_starttransfer":0.000013,"time_total":0.000013,"url":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","url_effective":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","urlnum":0,"curl_version":"curl-unit-test-fake-version"} |
| </stdout> | |
| </verify> | |
| </testcase> | |
| @@ -37,7 +37,7 @@ http | |
| URL with trailing dot and receiving a cookie for the TLD with dot | |
| </name> | |
| <command> | |
| - | -x http://%HOSTIP:%HTTPPORT http://firsthost.me. -c log/cookies%TESTNUMBER |
| + | -x http://%HOSTIP:%HTTPPORT http://firsthost.me. -c %LOGDIR/cookies%TESTNUMBER |
| </command> | |
| </client> | |
| @@ -52,7 +52,7 @@ Accept: */* | |
| Proxy-Connection: Keep-Alive | |
| </protocol> | |
| - | <file name="log/cookies%TESTNUMBER" mode="text"> |
| + | <file name="%LOGDIR/cookies%TESTNUMBER" mode="text"> |
| # Netscape HTTP Cookie File | |
| # https://curl.se/docs/http-cookies.html | |
| # This file was generated by libcurl! Edit at your own risk. | |
| @@ -35,7 +35,7 @@ http | |
| verify that --stderr works for -w's stderr as well | |
| </name> | |
| <command> | |
| - | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --stderr log/redir --silent -w '%{stderr}nonsense\n' |
| + | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --stderr %LOGDIR/redir --silent -w '%{stderr}nonsense\n' |
| </command> | |
| </client> | |
| @@ -49,7 +49,7 @@ User-Agent: curl/%VERSION | |
| Accept: */* | |
| </protocol> | |
| - | <file name="log/redir" mode="text"> |
| + | <file name="%LOGDIR/redir" mode="text"> |
| nonsense | |
| </file> | |
| </verify> | |
| @@ -29,9 +29,9 @@ imap | |
| IMAP STARTTLS pipelined server response | |
| </name> | |
| <command> | |
| - | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -u user:secret --ssl |
| + | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST) | |
| From: Fred Foobar <[email protected]> | |
| Subject: afternoon meeting | |
| @@ -26,7 +26,7 @@ ftp | |
| <name> | |
| FTP STARTTLS pipelined server response | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -35,7 +35,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | --ssl --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -u user:secret -P %CLIENTIP |
| + | --ssl --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt -u user:secret -P %CLIENTIP |
| </command> | |
| </client> | |
| @@ -27,9 +27,9 @@ imap | |
| IMAP require STARTTLS with failing capabilities | |
| </name> | |
| <command> | |
| - | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -u user:secret --ssl-reqd |
| + | imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl-reqd |
| </command> | |
| - | <file name="log/upload%TESTNUMBER"> |
| + | <file name="%LOGDIR/upload%TESTNUMBER"> |
| Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST) | |
| From: Fred Foobar <[email protected]> | |
| Subject: afternoon meeting | |
| @@ -26,7 +26,7 @@ ftp | |
| <name> | |
| FTP require STARTTLS while preauthenticated | |
| </name> | |
| - | <file name="log/test%TESTNUMBER.txt"> |
| + | <file name="%LOGDIR/test%TESTNUMBER.txt"> |
| data | |
| to | |
| see | |
| @@ -35,7 +35,7 @@ works | |
| so does it? | |
| </file> | |
| <command> | |
| - | --ssl-reqd --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -u user:secret |
| + | --ssl-reqd --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt -u user:secret |
| </command> | |
| </client> | |
| @@ -156,6 +156,8 @@ my $LOGDIR="log"; | |
| my $TESTDIR="$srcdir/data"; | |
| my $LIBDIR="./libtest"; | |
| my $UNITDIR="./unit"; | |
| + | # TODO: $LOGDIR could eventually change later on, so must regenerate all the |
| + | # paths depending on it after $LOGDIR itself changes. |
| # TODO: change this to use server_inputfilename() | |
| my $SERVERIN="$LOGDIR/server.input"; # what curl sent the server | |
| my $SERVER2IN="$LOGDIR/server2.input"; # what curl sent the second server | |
| @@ -3332,6 +3334,7 @@ sub subVariables { | |
| # misc | |
| $$thing =~ s/${prefix}CURL/$CURL/g; | |
| + | $$thing =~ s/${prefix}LOGDIR/$LOGDIR/g; |
| $$thing =~ s/${prefix}PWD/$pwd/g; | |
| $$thing =~ s/${prefix}POSIX_PWD/$posix_pwd/g; | |
| $$thing =~ s/${prefix}VERSION/$CURLVERSION/g; | |
| @@ -3809,7 +3812,7 @@ sub singletest_preprocess { | |
| # Save a preprocessed version of the entire test file. This allows more | |
| # "basic" test case readers to enjoy variable replacements. | |
| my @entiretest = fulltest(); | |
| - | my $otest = "log/test$testnum"; |
| + | my $otest = "$LOGDIR/test$testnum"; |
| @entiretest = prepro($testnum, @entiretest); | |
| @@ -3821,7 +3824,7 @@ sub singletest_preprocess { | |
| close($fulltesth) || die "Failure writing test file"; | |
| # in case the process changed the file, reload it | |
| - | loadtest("log/test${testnum}"); |
| + | loadtest("$LOGDIR/test${testnum}"); |
| } | |
| @@ -3885,7 +3888,7 @@ sub singletest_precheck { | |
| $cmd = join(" ", @p); | |
| } | |
| - | my @o = `$cmd 2>log/precheck-$testnum`; |
| + | my @o = `$cmd 2> $LOGDIR/precheck-$testnum`; |
| if($o[0]) { | |
| $why = $o[0]; | |
| chomp $why; | |
| @@ -3970,8 +3973,8 @@ sub singletest_prepare { | |
| # cut off the file name part | |
| $path =~ s/^(.*)\/[^\/]*/$1/; | |
| my @parts = split(/\//, $path); | |
| - | if($parts[0] eq "log") { |
| - | # the file is in log/ |
| + | if($parts[0] eq $LOGDIR) { |
| + | # the file is in $LOGDIR/ |
| my $d = shift @parts; | |
| for(@parts) { | |
| $d .= "/$_"; | |
| @@ -4062,10 +4065,10 @@ sub singletest_run { | |
| $cmdargs = "$out$inc "; | |
| if($cmdhash{'option'} && ($cmdhash{'option'} =~ /binary-trace/)) { | |
| - | $cmdargs .= "--trace log/trace$testnum "; |
| + | $cmdargs .= "--trace $LOGDIR/trace$testnum "; |
| } | |
| else { | |
| - | $cmdargs .= "--trace-ascii log/trace$testnum "; |
| + | $cmdargs .= "--trace-ascii $LOGDIR/trace$testnum "; |
| } | |
| $cmdargs .= "--trace-time "; | |
| if($run_event_based) { | |
| @@ -6356,7 +6359,7 @@ foreach my $testnum (@at) { | |
| $failed.= "$testnum "; | |
| } | |
| if($postmortem) { | |
| - | # display all files in log/ in a nice way |
| + | # display all files in $LOGDIR/ in a nice way |
| displaylogs($testnum); | |
| } | |
| if($error==2) { | |