Files
swift-mirror/test/remote-run/upload-stderr.test-sh
Alastair Houghton 2f6f051f75 Use rsync for remote-run.
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
2022-02-01 19:21:23 +00:00

9 lines
299 B
Plaintext

REQUIRES: sftp_server
RUN: %empty-directory(%t)
RUN: %empty-directory(%t/REMOTE/input)
RUN: chmod a-w %t/REMOTE/input
RUN: %debug-remote-run --ignore-rsync-failure --remote-dir %t/REMOTE --input-prefix %S/Inputs/upload/ true -- %S/Inputs/upload/1.txt 2>&1 | %FileCheck %s
CHECK: Permission denied