mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Not only does this give us a huge speed-up, it also works around a problem where sftp doesn't always update the modification time, which causes random test failures. rdar://88179140
9 lines
483 B
Plaintext
9 lines
483 B
Plaintext
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: /usr/bin/rsync
|
|
CHECK-SAME: '-p' '12345'
|
|
CHECK-SAME: some_user@some_host
|