rclone/fstest/testserver/init.d
Ivan Andreev 5834020316
docker.bash: work correctly with multi-ip containers (#5028)
Currently if container under test has multiple IP addresses,
the `docker_ip` function from `docker.sh` will return a gibberish.
This patch makes it return the first address found.
Additionally, I apply shellcheck on `docker.sh`.
2021-02-17 03:38:02 +03:00
..
seafile seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
docker.bash docker.bash: work correctly with multi-ip containers (#5028) 2021-02-17 03:38:02 +03: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 build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestFTPPureftpd build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestFTPRclone testserver: Make Test{FTP,SFTP,Webdav}Rclone run the current rclone 2020-11-10 18:01:15 +00:00
TestFTPVsftpd build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestHdfs hdfs: support kerberos authentication #42 2021-01-27 18:16:58 +00:00
TestS3Minio testserver: add provider to TestS3Minio #3934 2020-02-13 11:01:06 +00:00
TestS3MinioEdge test: add TestS3MinioEdge to test leading edge minio too #3934 2020-02-13 11:01: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: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestSFTPRclone testserver: Make Test{FTP,SFTP,Webdav}Rclone run the current rclone 2020-11-10 18:01:15 +00:00
TestSwiftAIO build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestWebdavNextcloud build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestWebdavOwncloud Spelling fixes 2020-10-14 15:21:31 +01:00
TestWebdavRclone testserver: Make Test{FTP,SFTP,Webdav}Rclone run the current rclone 2020-11-10 18:01:15 +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