rclone/fstest/testserver/init.d
Nick Craig-Wood 8dc4c01209 build: make integration tests run better on macOS and Windows
This changes as many of the integraton tests as possible so that they
use port forwarding rather than the docker IP directly.

Using the docker IP directly does not work on macOS and Windows as the
docker images are running in a VM rather than a container.

This adds the PORTS.md document to document which port numbers we are
using for which service as they need to be unique.
2024-04-16 10:48:48 +01:00
..
seafile seafile: renew library password - fixes #6662 2023-01-15 16:26:29 +00:00
docker.bash docker.bash: work correctly with multi-ip containers (#5028) 2021-02-17 03:38:02 +03:00
PORTS.md build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
rclone-serve.bash fstest: apply shellcheck on rclone-serve.bash (#4975) 2021-01-29 19:07:17 +03:00
README.md build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
run.bash build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestFTPProftpd ftp: enable CI for ProFtpd, PureFtpd, VsFtpd 2021-10-01 10:09:57 +03:00
TestFTPPureftpd ftp: enable CI for ProFtpd, PureFtpd, VsFtpd 2021-10-01 10:09:57 +03:00
TestFTPRclone testserver: Make Test{FTP,SFTP,Webdav}Rclone run the current rclone 2020-11-10 18:01:15 +00:00
TestFTPVsftpd ftp: add support for precise time #5655 2021-10-21 14:50:53 +03:00
TestFTPVsftpdTLS Version v1.66.0 2024-03-10 11:22:43 +00:00
TestHdfs hdfs: wait longer for the server to start up in the integration tests #5734 2021-10-23 22:53:17 +01:00
TestS3Minio build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
TestS3MinioEdge build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
TestS3Rclone test_all: make integration test for serve s3 2023-11-24 20:47:06 +00:00
TestSeafile testserver: speed up seafile integration test 2020-11-03 16:31:39 +00:00
TestSeafileEncrypted seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
TestSeafileV6 seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
TestSFTPOpenssh build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
TestSFTPRclone testserver: Make Test{FTP,SFTP,Webdav}Rclone run the current rclone 2020-11-10 18:01:15 +00:00
TestSFTPRcloneSSH fstest: fix sftp ssh integration tests 2023-09-03 15:23:12 +01:00
TestSia fstest: fix typo found by codespell 2023-03-25 09:34:10 +01:00
TestSMB build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
TestSwiftAIO build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
TestWebdavNextcloud build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
TestWebdavOwncloud fstest: switch to port forwarding now Owncloud disallows wildcards 2022-12-15 11:34:12 +00:00
TestWebdavRclone webdav: added an rclone vendor to work with rclone serve webdav 2023-11-05 12:37:25 +00:00

This directory contains scripts to start and stop servers for testing.

The commands are named after the remotes in use. They should be executable files with the following parameters:

start  - starts the server
stop   - stops the server
status - returns non-zero exit code if the server is not running

These will be called automatically by test_all if that remote is required.

When start is run it should output config parameters for that remote. If a _connect parameter is output then that will be used for a connection test. For example if _connect=127.0.0.1:80 then a TCP connection will be made to 127.0.0.1:80 and only when that succeeds will the test continue.

run.bash contains boilerplate to be included in a bash script for interpreting the command line parameters.

docker.bash contains library functions to help with docker implementations.

TODO