mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
11 lines
491 B
Plaintext
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
|