Skip to content

Commit e334b74

Browse files
committed
first try
1 parent 2d7707c commit e334b74

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

v1.0/conformance_test_v1.0.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,3 +981,25 @@
981981
size: 15
982982
tool: v1.0/imported-hint.cwl
983983
doc: Test hints with $import
984+
985+
- job: v1.0/recursive-input-directory.json
986+
output:
987+
"outdir": {
988+
"class": "Directory",
989+
"listing": [
990+
{
991+
"class": "File",
992+
"location": "hello.txt",
993+
"checksum": "sha1$47a013e660d408619d894b20806b1d5086aab03b",
994+
"size": 13
995+
},
996+
{
997+
"class": "File",
998+
"location": "goodbye.txt",
999+
"checksum": "sha1$dd0a4c4c49ba43004d6611771972b6cf969c1c01",
1000+
"size": 24
1001+
}
1002+
],
1003+
}
1004+
tool: v1.0/recursive-input-directory.yml
1005+
doc: Test if a writable input directory is recursivly copied and writable
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
input_dir:
2+
class: Directory
3+
location: testdir
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
cwlVersion: v1.0
2+
class: CommandLineTool
3+
requirements:
4+
- class: InlineJavascriptRequirement
5+
- class: InitialWorkDirRequirement
6+
listing:
7+
- entry: $(inputs.input_dir)
8+
entryname: work_dir
9+
writable: true
10+
baseCommand: "touch"
11+
arguments: [$(inputs.input_dir.path + "/e")]
12+
inputs:
13+
input_dir: Directory
14+
outputs:
15+
output_dir:
16+
type: Directory
17+
outputBinding:
18+
glob: $(inputs.input_dir)

0 commit comments

Comments
 (0)