Skip to content

Commit

Permalink
Fix wc test by using wc -l to avoid padding issues on different imple…
Browse files Browse the repository at this point in the history
…mentions of 'wc' (!)
  • Loading branch information
Peter Amstutz committed Apr 11, 2017
1 parent d80919e commit 6acb016
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions v1.0/conformance_test_v1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@
- job: v1.0/wc-job.json
output:
output:
checksum: sha1$3596ea087bfdaf52380eae441077572ed289d657
class: File
checksum: sha1$631bfbac524e2d04cdcc5ec33ade827fc10b06ae
location: output
size: 15
size: 3
tool: v1.0/wc-tool.cwl
doc: Test command execution in with stdin and stdout redirection

Expand Down
2 changes: 1 addition & 1 deletion v1.0/v1.0/wc-tool.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ outputs:
type: File
outputBinding: { glob: output }

baseCommand: [wc]
baseCommand: [wc, -l]

stdin: $(inputs.file1.path)
stdout: output
4 changes: 2 additions & 2 deletions v1.1.0-dev1/conformance_test_v1.1.0-dev1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@
- job: v1.1.0-dev1/wc-job.json
output:
output:
checksum: sha1$3596ea087bfdaf52380eae441077572ed289d657
class: File
checksum: sha1$631bfbac524e2d04cdcc5ec33ade827fc10b06ae
location: output
size: 15
size: 3
tool: v1.1.0-dev1/wc-tool.cwl
doc: Test command execution in with stdin and stdout redirection

Expand Down
2 changes: 1 addition & 1 deletion v1.1.0-dev1/v1.1.0-dev1/wc-tool.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ outputs:
type: File
outputBinding: { glob: output }

baseCommand: [wc]
baseCommand: [wc, -l]

stdin: $(inputs.file1.path)
stdout: output

0 comments on commit 6acb016

Please sign in to comment.