rclone: rename remote directory to fix failing tests

`/home/alice/files` is already used by the mount subtest.
This commit is contained in:
Jess
2026-05-05 16:34:56 +12:00
committed by Matthieu Coudron
parent 5be632dab0
commit 7ef1c04d11

View File

@@ -20,7 +20,7 @@ let
known_hosts = "${sshKeys.snakeOilEd25519PublicKey}";
};
serve = {
"/home/alice/files" = {
"/home/alice/sftp-files" = {
enable = true;
protocol = "http";
options.addr = "localhost:8080";
@@ -57,9 +57,9 @@ in
with subtest("Serve a remote over HTTP (sftp)"):
# create files on remote
succeed_as_alice(
"mkdir /home/alice/files",
"touch /home/alice/files/other_file",
"echo serving > /home/alice/files/test.txt",
"mkdir /home/alice/sftp-files",
"touch /home/alice/sftp-files/other_file",
"echo serving > /home/alice/sftp-files/test.txt",
box=remote
)