github.com/xhghs/rclone@v1.51.1-0.20200430155106-e186a28cced8/fstest/testserver/init.d/README.md (about)

     1  This directory contains scripts to start and stop servers for testing.
     2  
     3  The commands are named after the remotes in use.  They should be
     4  executable files with the following parameters:
     5  
     6      start  - starts the server
     7      stop   - stops the server
     8      status - returns non-zero exit code if the server is not running
     9  
    10  These will be called automatically by test_all if that remote is
    11  required.
    12  
    13  When start is run it should output config parameters for that remote.
    14  If a `_connect` parameter is output then that will be used for a
    15  connection test.  For example if `_connect=127.0.0.1:80` then a TCP
    16  connection will be made to `127.0.0.1:80` and only when that succeeds
    17  will the test continue.
    18  
    19  `run.bash` contains boilerplate to be included in a bash script for
    20  interpreting the command line parameters.
    21  
    22  `docker.bash` contains library functions to help with docker
    23  implementations.
    24  
    25  ## TODO
    26  
    27  - sftpd - https://github.com/panubo/docker-sshd ?
    28  - openstack swift - https://github.com/bouncestorage/docker-swift
    29  - ceph - https://github.com/ceph/cn
    30  - other ftp servers
    31