Skip to content

Commit 6acb016

Browse files
author
Peter Amstutz
committed
Fix wc test by using wc -l to avoid padding issues on different implementions of 'wc' (!)
1 parent d80919e commit 6acb016

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

v1.0/conformance_test_v1.0.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@
155155
- job: v1.0/wc-job.json
156156
output:
157157
output:
158+
checksum: sha1$3596ea087bfdaf52380eae441077572ed289d657
158159
class: File
159-
checksum: sha1$631bfbac524e2d04cdcc5ec33ade827fc10b06ae
160160
location: output
161-
size: 15
161+
size: 3
162162
tool: v1.0/wc-tool.cwl
163163
doc: Test command execution in with stdin and stdout redirection
164164

v1.0/v1.0/wc-tool.cwl

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ outputs:
1111
type: File
1212
outputBinding: { glob: output }
1313

14-
baseCommand: [wc]
14+
baseCommand: [wc, -l]
1515

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

v1.1.0-dev1/conformance_test_v1.1.0-dev1.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@
166166
- job: v1.1.0-dev1/wc-job.json
167167
output:
168168
output:
169+
checksum: sha1$3596ea087bfdaf52380eae441077572ed289d657
169170
class: File
170-
checksum: sha1$631bfbac524e2d04cdcc5ec33ade827fc10b06ae
171171
location: output
172-
size: 15
172+
size: 3
173173
tool: v1.1.0-dev1/wc-tool.cwl
174174
doc: Test command execution in with stdin and stdout redirection
175175

v1.1.0-dev1/v1.1.0-dev1/wc-tool.cwl

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ outputs:
1111
type: File
1212
outputBinding: { glob: output }
1313

14-
baseCommand: [wc]
14+
baseCommand: [wc, -l]
1515

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

0 commit comments

Comments
 (0)