Skip to content

Commit a5b1032

Browse files
author
Peter Amstutz
committed
Merge branch 'empty-writable-dir' into v1.0-errata
2 parents 28cdbec + 2b98c03 commit a5b1032

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

v1.0/conformance_test_v1.0.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,3 +1189,22 @@
11891189
}
11901190
tool: v1.0/shellchar2.cwl
11911191
doc: "Test that shell directives are quoted."
1192+
1193+
- job: v1.0/empty.json
1194+
output:
1195+
out: {
1196+
"basename": "emptyWritableDir",
1197+
"listing": [
1198+
{
1199+
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
1200+
"basename": "blurg",
1201+
"location": "blurg",
1202+
"class": "File",
1203+
"size": 0
1204+
}
1205+
],
1206+
"location": "emptyWritableDir",
1207+
"class": "Directory"
1208+
}
1209+
tool: v1.0/writable-dir.cwl
1210+
doc: Test empty writable dir with InitialWorkDirRequirement

v1.0/v1.0/writable-dir.cwl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cwlVersion: v1.0
2+
class: CommandLineTool
3+
requirements:
4+
InlineJavascriptRequirement: {}
5+
InitialWorkDirRequirement:
6+
listing:
7+
- entryname: emptyWritableDir
8+
writable: true
9+
entry: "$({class: 'Directory', listing: []})"
10+
inputs: []
11+
outputs:
12+
out:
13+
type: Directory
14+
outputBinding:
15+
glob: emptyWritableDir
16+
arguments: [touch, emptyWritableDir/blurg]

0 commit comments

Comments
 (0)