mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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.
19 lines
635 B
Plaintext
19 lines
635 B
Plaintext
REQUIRES: rsync
|
|
REQUIRES: shell
|
|
|
|
RUN: %debug-remote-run sh -c "echo hello; echo goodbye >&2" > %t.stdout.txt 2> %t.stderr.txt
|
|
RUN: %FileCheck -check-prefix CHECK-STDOUT %s < %t.stdout.txt
|
|
RUN: %FileCheck -check-prefix CHECK-STDERR %s < %t.stderr.txt
|
|
|
|
RUN: not %debug-remote-run sh -c "echo hello; echo goodbye >&2; false" > %t.stdout.txt 2> %t.stderr.txt
|
|
RUN: %FileCheck -check-prefix CHECK-STDOUT %s < %t.stdout.txt
|
|
RUN: %FileCheck -check-prefix CHECK-STDERR %s < %t.stderr.txt
|
|
|
|
CHECK-STDOUT-NOT: goodbye
|
|
CHECK-STDOUT: {{^hello$}}
|
|
CHECK-STDOUT-NOT: goodbye
|
|
|
|
CHECK-STDERR-NOT: hello
|
|
CHECK-STDERR: {{^goodbye$}}
|
|
CHECK-STDERR-NOT: hello
|