Skip to content

Commit cae0407

Browse files
author
Peter Amstutz
committed
Add test staging files into output directory for update.
1 parent afe31c1 commit cae0407

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

draft-4/conformance_test_draft-4.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -771,3 +771,15 @@
771771
}
772772
tool: draft-4/dir5.cwl
773773
doc: Test dynamic initial work dir
774+
775+
- job: draft-4/stagefile-job.yml
776+
output: {
777+
"outfile": {
778+
"checksum": "sha1$2d6c5e4430c4b200227cc77d3b0025082505ee19",
779+
"size": 1107,
780+
"location": "whale.txt",
781+
"class": "File"
782+
}
783+
}
784+
tool: draft-4/stagefile.cwl
785+
doc: Test writable staged files.

draft-4/draft-4/stagefile-job.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
infile:
2+
class: File
3+
location: whale.txt

draft-4/draft-4/stagefile.cwl

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class: CommandLineTool
2+
cwlVersion: draft-4.dev3
3+
requirements:
4+
InitialWorkDirRequirement:
5+
listing:
6+
- entryname: $(inputs.infile.basename)
7+
entry: $(inputs.infile)
8+
writable: true
9+
inputs:
10+
infile: File
11+
outputs:
12+
outfile:
13+
type: File
14+
outputBinding:
15+
glob: $(inputs.infile.basename)
16+
baseCommand: "sed"
17+
arguments: ["-i", "s/Ishmael/Bob/", $(inputs.infile.basename)]

0 commit comments

Comments
 (0)