Skip to content

Commit

Permalink
Use ShellCommandRequirement for stderr tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Amstutz committed Mar 3, 2017
1 parent 7098e43 commit e6dc6e4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 0 additions & 2 deletions v1.0/v1.0/stderr-mediumcut.cwl
Expand Up @@ -8,8 +8,6 @@ inputs: []
outputs:
output_file:
type: stderr
baseCommand: [sh]
arguments:
- '-c'
- { valueFrom: "echo foo 1>&2", shellQuote: False }
stderr: std.err
2 changes: 0 additions & 2 deletions v1.0/v1.0/stderr-shortcut.cwl
Expand Up @@ -8,7 +8,5 @@ inputs: []
outputs:
output_file:
type: stderr
baseCommand: [sh]
arguments:
- '-c'
- { valueFrom: "echo foo 1>&2", shellQuote: False }
2 changes: 0 additions & 2 deletions v1.0/v1.0/stderr.cwl
Expand Up @@ -9,8 +9,6 @@ outputs:
output_file:
type: File
outputBinding: {glob: error.txt}
baseCommand: [sh]
arguments:
- '-c'
- { valueFrom: "echo foo 1>&2", shellQuote: False }
stderr: error.txt
5 changes: 4 additions & 1 deletion v1.1.0-dev1/v1.1.0-dev1/stderr-mediumcut.cwl
Expand Up @@ -2,9 +2,12 @@
class: CommandLineTool
cwlVersion: v1.1.0-dev1
doc: "Test of capturing stderr output in a docker container."
requirements:
ShellCommandRequirement: {}
inputs: []
outputs:
output_file:
type: stderr
baseCommand: [sh, -c, "echo foo 1>&2"]
arguments:
- { valueFrom: "echo foo 1>&2", shellQuote: False }
stderr: std.err
5 changes: 4 additions & 1 deletion v1.1.0-dev1/v1.1.0-dev1/stderr-shortcut.cwl
Expand Up @@ -2,8 +2,11 @@
class: CommandLineTool
cwlVersion: v1.1.0-dev1
doc: "Test of capturing stderr output in a docker container."
requirements:
ShellCommandRequirement: {}
inputs: []
outputs:
output_file:
type: stderr
baseCommand: [sh, -c, "echo foo 1>&2"]
arguments:
- { valueFrom: "echo foo 1>&2", shellQuote: False }
5 changes: 4 additions & 1 deletion v1.1.0-dev1/v1.1.0-dev1/stderr.cwl
Expand Up @@ -2,10 +2,13 @@
class: CommandLineTool
cwlVersion: v1.1.0-dev1
doc: "Test of capturing stderr output in a docker container."
requirements:
ShellCommandRequirement: {}
inputs: []
outputs:
output_file:
type: File
outputBinding: {glob: error.txt}
baseCommand: [sh, -c, "echo foo 1>&2"]
arguments:
- { valueFrom: "echo foo 1>&2", shellQuote: False }
stderr: error.txt

0 comments on commit e6dc6e4

Please sign in to comment.