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 10
10
// RUN: %target-run %t/paths-test | %FileCheck %s
11
11
// RUN: env %env-SWIFT_ROOT=%t/swift-root %target-run %t/paths-test | %FileCheck %s --check-prefix CHECK-FR
12
12
// REQUIRES: executable_test
13
- // UNSUPPORTED: remote_run
14
13
15
14
// This can't be done in unittests, because that statically links the runtime
16
15
// 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 1
1
REQUIRES: sftp_server
2
2
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
4
4
RUN: ls %t-REMOTE/input/ | %FileCheck %s
5
5
6
6
RUN: %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
8
8
RUN: ls %t-REMOTE/input/upload/ | %FileCheck %s
9
9
RUN: %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
10
10
@@ -13,7 +13,7 @@ RUN: %debug-remote-run --input-prefix %S/Inputs/upload/1 ls %S/Inputs/upload/1.t
13
13
RUN: test -f %t-REMOTE/input/1.txt
14
14
15
15
RUN: %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
17
17
RUN: ls %t-REMOTE/custom-input/ | %FileCheck %s
18
18
19
19
CHECK-REMOTE: {{-REMOTE/input/1.txt$}}
@@ -30,6 +30,7 @@ CHECK-REMOTE-CUSTOM-NEXT: {{-REMOTE/custom-input/2.txt$}}
30
30
CHECK-NOT: BAD
31
31
CHECK: {{^1.txt$}}
32
32
CHECK-NEXT: {{^2.txt$}}
33
+ CHECK-NEXT: {{^3.txt$}}
33
34
CHECK-NOT: BAD
34
35
35
36
VERBOSE-NESTED: /usr/bin/env /bin/mkdir -p {{.+}}-REMOTE/input
You can’t perform that action at this time.
0 commit comments