Skip to content

Commit d71528d

Browse files
committed
fix stdin shortcut tests
1 parent 6fc30e1 commit d71528d

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

v1.1.0-dev1/conformance_test_v1.1.0-dev1.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,17 @@
173173
tool: v1.1.0-dev1/wc-tool.cwl
174174
doc: Test command execution in with stdin and stdout redirection
175175

176+
- job: v1.1.0-dev1/wc-job.json
177+
output:
178+
output:
179+
class: File
180+
checksum: sha1$631bfbac524e2d04cdcc5ec33ade827fc10b06ae
181+
location: output
182+
size: 15
183+
tool: v1.1.0-dev1/wc-tool-shortcut.cwl
184+
doc: Test command execution in with stdin and stdout redirection using stdin shortcut
185+
186+
176187
- job: v1.1.0-dev1/parseInt-job.json
177188
output: {output: 42}
178189
tool: v1.1.0-dev1/parseInt-tool.cwl
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env cwl-runner
2+
class: CommandLineTool
3+
cwlVersion: v1.1.0-dev1
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
5+
hints:
6+
DockerRequirement:
7+
dockerPull: debian:wheezy
8+
inputs:
9+
file1: stdin
10+
outputs:
11+
output_txt:
12+
type: File
13+
outputBinding:
14+
glob: output.txt
15+
baseCommand: cat
16+
stdout: output.txt
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env cwl-runner
2+
3+
class: CommandLineTool
4+
cwlVersion: v1.1.0-dev1
5+
6+
inputs:
7+
file1: stdin
8+
9+
outputs:
10+
output:
11+
type: File
12+
outputBinding: { glob: output }
13+
14+
baseCommand: [wc]
15+
16+
stdout: output

0 commit comments

Comments
 (0)