rclone/fstest/testserver/init.d
David Seifert acd5a893e2 test_all: POSIX head/tail invocations
* head -number is not allowed by POSIX.1-2024:
  https://pubs.opengroup.org/onlinepubs/9799919799/utilities/head.html
  https://devmanual.gentoo.org/tools-reference/head-and-tail/index.html
2024-11-20 18:02:07 +00:00
..
seafile seafile: renew library password - fixes #6662 2023-01-15 16:26:29 +00:00
PORTS.md swift: fix integration tester with use_segments_container=false 2024-06-08 17:44:11 +01:00
README.md build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
TestFTPProftpd tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestFTPPureftpd tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestFTPRclone tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestFTPVsftpd tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestFTPVsftpdTLS tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestHdfs tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestS3Minio tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestS3MinioEdge tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestS3Rclone tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSFTPOpenssh tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSFTPRclone tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSFTPRcloneSSH tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSMB tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSeafile tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSeafileEncrypted tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSeafileV6 tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSia tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSwiftAIO tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestSwiftAIOsegments swift: fix integration tester with use_segments_container=false 2024-06-08 17:44:11 +01:00
TestWebdavNextcloud tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestWebdavOwncloud tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
TestWebdavRclone tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
docker.bash test_all: POSIX head/tail invocations 2024-11-20 18:02:07 +00:00
rclone-serve.bash tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
run.bash tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00

README.md

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