Skip to content

Commit e6dc6e4

Browse files
author
Peter Amstutz
committed
Use ShellCommandRequirement for stderr tests.
1 parent 7098e43 commit e6dc6e4

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ inputs: []
88
outputs:
99
output_file:
1010
type: stderr
11-
baseCommand: [sh]
1211
arguments:
13-
- '-c'
1412
- { valueFrom: "echo foo 1>&2", shellQuote: False }
1513
stderr: std.err

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ inputs: []
88
outputs:
99
output_file:
1010
type: stderr
11-
baseCommand: [sh]
1211
arguments:
13-
- '-c'
1412
- { valueFrom: "echo foo 1>&2", shellQuote: False }

v1.0/v1.0/stderr.cwl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ outputs:
99
output_file:
1010
type: File
1111
outputBinding: {glob: error.txt}
12-
baseCommand: [sh]
1312
arguments:
14-
- '-c'
1513
- { valueFrom: "echo foo 1>&2", shellQuote: False }
1614
stderr: error.txt

v1.1.0-dev1/v1.1.0-dev1/stderr-mediumcut.cwl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
class: CommandLineTool
33
cwlVersion: v1.1.0-dev1
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+
arguments:
12+
- { valueFrom: "echo foo 1>&2", shellQuote: False }
1013
stderr: std.err

v1.1.0-dev1/v1.1.0-dev1/stderr-shortcut.cwl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
class: CommandLineTool
33
cwlVersion: v1.1.0-dev1
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+
arguments:
12+
- { valueFrom: "echo foo 1>&2", shellQuote: False }

v1.1.0-dev1/v1.1.0-dev1/stderr.cwl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
class: CommandLineTool
33
cwlVersion: v1.1.0-dev1
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+
arguments:
13+
- { valueFrom: "echo foo 1>&2", shellQuote: False }
1114
stderr: error.txt

0 commit comments

Comments
 (0)