Add the TestProtonDriveFake init.d script, which builds and starts protonfake on port 28642 and passes on the session it prints, and a test_all entry for it, so fs/operations, fs/sync, vfs and cmd/bisync run against the fake server. Five tests that need a second Fs of the same account to see what the first wrote are ignored, as each Fs caches separately, and cmd/gitannex is skipped as for every init.d remote; both are in docs/TODO.md. Add a Gitea Actions workflow that builds, vets, lints, race-tests, fuzzes and vulnerability-checks the backend, and re-verify the agent permission table on the host toolchain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Ports for tests
All these tests need to run on a different port.
They should be bound to localhost so they are not accessible externally.
| Port | Test |
|---|---|
| 88 | TestHdfs |
| 750 | TestHdfs |
| 8020 | TestHdfs |
| 8086 | TestSeafileV6 |
| 8087 | TestSeafile |
| 8088 | TestSeafileEncrypted |
| 9866 | TestHdfs |
| 28620 | TestWebdavRclone |
| 28621 | TestSFTPRclone |
| 28622 | TestFTPRclone |
| 28623 | TestSFTPRcloneSSH |
| 28624 | TestS3Rclone |
| 28625 | TestS3Minio |
| 28627 | TestSFTPOpenssh |
| 28628 | TestSwiftAIO |
| 28629 | TestWebdavNextcloud |
| 28630 | TestSMB |
| 28631 | TestFTPProftpd |
| 28632 | TestSwiftAIOsegments |
| 28633 | TestSMBKerberos |
| 28634 | TestSMBKerberos |
| 28635 | TestS3Exaba |
| 28636 | TestS3Exaba |
| 28637 | TestSMBKerberosCcache |
| 28638 | TestSMBKerberosCcache |
| 28639 | TestWebdavInfiniteScale |
| 28640 | TestSia |
| 28641 | TestWebdavOwncloud |
| 28642 | TestProtonDriveFake |
Non localhost tests
All these use $(docker_ip) which means they don't work on macOS or
Windows. It is proabably possible to make them work with some effort
but will require port forwarding a range of ports and configuring the
FTP server to only use that range of ports. The FTP server will likely
need know it is behind a NAT so it advertises the correct external IP.
- TestFTPProftpd
- TestFTPPureftpd
- TestFTPVsftpd
- TestFTPVsftpdTLS