Skip to content

Commit

Permalink
turn off shell quoting for stderr tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Mar 3, 2017
1 parent 8de0b2b commit 7098e43
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion v1.0/v1.0/stderr-mediumcut.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
class: CommandLineTool
cwlVersion: v1.0
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"]
baseCommand: [sh]
arguments:
- '-c'
- { valueFrom: "echo foo 1>&2", shellQuote: False }
stderr: std.err
7 changes: 6 additions & 1 deletion v1.0/v1.0/stderr-shortcut.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
class: CommandLineTool
cwlVersion: v1.0
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"]
baseCommand: [sh]
arguments:
- '-c'
- { valueFrom: "echo foo 1>&2", shellQuote: False }
7 changes: 6 additions & 1 deletion v1.0/v1.0/stderr.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
class: CommandLineTool
cwlVersion: v1.0
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"]
baseCommand: [sh]
arguments:
- '-c'
- { valueFrom: "echo foo 1>&2", shellQuote: False }
stderr: error.txt

0 comments on commit 7098e43

Please sign in to comment.