mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
rclone: rename remote directory to fix failing tests
`/home/alice/files` is already used by the mount subtest.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user