File tree Expand file tree Collapse file tree 4 files changed +219
-87
lines changed Expand file tree Collapse file tree 4 files changed +219
-87
lines changed Original file line number Diff line number Diff line change 1010// RUN: %target-run %t/paths-test | %FileCheck %s
1111// RUN: env %env-SWIFT_ROOT=%t/swift-root %target-run %t/paths-test | %FileCheck %s --check-prefix CHECK-FR
1212// REQUIRES: executable_test
13- // UNSUPPORTED: remote_run
1413
1514// This can't be done in unittests, because that statically links the runtime
1615// so we get the wrong paths. We explicitly want to test that we get the
Original file line number Diff line number Diff line change 11REQUIRES: sftp_server
22
3- RUN: %debug-remote-run --input-prefix %S/Inputs/upload/ ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt | %FileCheck -check-prefix CHECK-REMOTE %s
3+ RUN: env REMOTE_RUN_CHILD_FOO=%S/Inputs/upload/3.txt %debug-remote-run --input-prefix %S/Inputs/upload/ ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt | %FileCheck -check-prefix CHECK-REMOTE %s
44RUN: ls %t-REMOTE/input/ | %FileCheck %s
55
66RUN: %empty-directory(%t-REMOTE)
7- RUN: %debug-remote-run --input-prefix %S/Inputs/ ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt | %FileCheck -check-prefix CHECK-REMOTE-NESTED %s
7+ RUN: env REMOTE_RUN_CHILD_FOO=%S/Inputs/upload/3.txt %debug-remote-run --input-prefix %S/Inputs/ ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt | %FileCheck -check-prefix CHECK-REMOTE-NESTED %s
88RUN: ls %t-REMOTE/input/upload/ | %FileCheck %s
99RUN: %debug-remote-run -v --input-prefix %S/Inputs/ ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt 2>&1 >/dev/null | %FileCheck -check-prefix VERBOSE-NESTED %s
1010
@@ -13,7 +13,7 @@ RUN: %debug-remote-run --input-prefix %S/Inputs/upload/1 ls %S/Inputs/upload/1.t
1313RUN: test -f %t-REMOTE/input/1.txt
1414
1515RUN: %empty-directory(%t-REMOTE)
16- RUN: %debug-remote-run --input-prefix %S/Inputs/upload/ --remote-input-prefix custom-input ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt | %FileCheck -check-prefix CHECK-REMOTE-CUSTOM %s
16+ RUN: env REMOTE_RUN_CHILD_FOO=%S/Inputs/upload/3.txt %debug-remote-run --input-prefix %S/Inputs/upload/ --remote-input-prefix custom-input ls %S/Inputs/upload/1.txt %S/Inputs/upload/2.txt | %FileCheck -check-prefix CHECK-REMOTE-CUSTOM %s
1717RUN: ls %t-REMOTE/custom-input/ | %FileCheck %s
1818
1919CHECK-REMOTE: {{-REMOTE/input/1.txt$}}
@@ -30,6 +30,7 @@ CHECK-REMOTE-CUSTOM-NEXT: {{-REMOTE/custom-input/2.txt$}}
3030CHECK-NOT: BAD
3131CHECK: {{^1.txt$}}
3232CHECK-NEXT: {{^2.txt$}}
33+ CHECK-NEXT: {{^3.txt$}}
3334CHECK-NOT: BAD
3435
3536VERBOSE-NESTED: /usr/bin/env /bin/mkdir -p {{.+}}-REMOTE/input
You can’t perform that action at this time.
0 commit comments