Files
swift-mirror/test/remote-run/port.test-sh
Evan Wilde 12e784c3c8 Replace sftp_server with rsync
remote-run uses rsync instead of sftp server. Some of the tests were
incorrectly labelled as requiring sftp server. Fixed those and replaced
the requirement with rsync.
2025-06-25 13:39:01 -07:00

11 lines
491 B
Plaintext

REQUIRES: rsync
RUN: %remote-run -n --remote-dir /xyz-REMOTE --output-prefix %/t some_user@some_host:12345 cp %/t/nested/input %/t/nested/output 2>&1 >/dev/null | %FileCheck %s
CHECK: /usr/bin/ssh -n -p 12345 some_user@some_host -- '/usr/bin/env' '/bin/mkdir' '-p' '{{.+}}-REMOTE/output/nested'
CHECK: /usr/bin/ssh -n -p 12345 some_user@some_host -- '/usr/bin/env' {{.*}}'cp'
CHECK-NEXT: {{^}}/bin/mkdir -p {{.+}}
CHECK-NEXT: rsync
CHECK-SAME: '-p' '12345'
CHECK-SAME: some_user@some_host