Skip to content

Commit 7098e43

Browse files
committed
turn off shell quoting for stderr tests
1 parent 8de0b2b commit 7098e43

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

v1.0/v1.0/stderr-mediumcut.cwl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22
class: CommandLineTool
33
cwlVersion: v1.0
44
doc: "Test of capturing stderr output in a docker container."
5+
requirements:
6+
ShellCommandRequirement: {}
57
inputs: []
68
outputs:
79
output_file:
810
type: stderr
9-
baseCommand: [sh, -c, "echo foo 1>&2"]
11+
baseCommand: [sh]
12+
arguments:
13+
- '-c'
14+
- { valueFrom: "echo foo 1>&2", shellQuote: False }
1015
stderr: std.err

v1.0/v1.0/stderr-shortcut.cwl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
class: CommandLineTool
33
cwlVersion: v1.0
44
doc: "Test of capturing stderr output in a docker container."
5+
requirements:
6+
ShellCommandRequirement: {}
57
inputs: []
68
outputs:
79
output_file:
810
type: stderr
9-
baseCommand: [sh, -c, "echo foo 1>&2"]
11+
baseCommand: [sh]
12+
arguments:
13+
- '-c'
14+
- { valueFrom: "echo foo 1>&2", shellQuote: False }

v1.0/v1.0/stderr.cwl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
class: CommandLineTool
33
cwlVersion: v1.0
44
doc: "Test of capturing stderr output in a docker container."
5+
requirements:
6+
ShellCommandRequirement: {}
57
inputs: []
68
outputs:
79
output_file:
810
type: File
911
outputBinding: {glob: error.txt}
10-
baseCommand: [sh, -c, "echo foo 1>&2"]
12+
baseCommand: [sh]
13+
arguments:
14+
- '-c'
15+
- { valueFrom: "echo foo 1>&2", shellQuote: False }
1116
stderr: error.txt

0 commit comments

Comments
 (0)