Skip to content

Commit c9fd6b9

Browse files
committed
write test result to file
1 parent 05b82f1 commit c9fd6b9

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

v1.0/conformance_test_v1.0.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,11 +1022,20 @@
10221022
"class": "File",
10231023
"location": "work_dir/e",
10241024
"size": 0
1025+
},
1026+
{
1027+
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
1028+
"basename": "testresult",
1029+
"location": "work_dir/testresult",
1030+
"class": "File",
1031+
"size": 0
10251032
}
10261033
],
10271034
"location": "work_dir",
10281035
}
10291036

10301037

1038+
1039+
10311040
tool: v1.0/recursive-input-directory.cwl
10321041
doc: Test if a writable input directory is recursivly copied and writable

v1.0/v1.0/recursive-input-directory.cwl

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,19 @@ requirements:
1010
baseCommand:
1111
- bash
1212
- '-c'
13-
- 'if [ ! -w work_dir ]; then echo not writable; fi;
14-
if [ -L work_dir ]; then echo dir is a symlink; fi;
15-
if [ ! -w work_dir/a ]; then echo not writable; fi;
16-
if [ -L work_dir/a ]; then echo dir is a symlink; fi;
17-
if [ ! -w work_dir/c ]; then echo not writable; fi;
18-
if [ -L work_dir/c ]; then echo dir is a symlink; fi;
19-
if [ ! -w work_dir/c/d ]; then echo not writable; fi;
20-
if [ -L work_dir/c/d ]; then echo dir is a symlink; fi;
21-
touch work_dir/e'
13+
- 'touch work_dir/testresult;
14+
touch work_dir/e;
15+
if [ ! -w work_dir ]; then echo work_dir not writable >> work_dir/testresult; fi;
16+
if [ -L work_dir ]; then echo work_dir is a symlink >> work_dir/testresult; fi;
17+
if [ ! -w work_dir/a ]; then echo work_dir/a not writable >> work_dir/testresult; fi;
18+
if [ -L work_dir/a ]; then echo work_dir/a is a symlink >> work_dir/testresult; fi;
19+
if [ ! -w work_dir/c ]; then echo work_dir/c not writable >> work_dir/testresult; fi;
20+
if [ -L work_dir/c ]; then echo work_dir/c is a symlink >> work_dir/testresult; fi;
21+
if [ ! -w work_dir/c/d ]; then echo work_dir/c/d not writable >> work_dir/testresult; fi;
22+
if [ -L work_dir/c/d ]; then echo work_dir/c/d is a symlink >> work_dir/testresult; fi;
23+
if [ ! -w work_dir/e ]; then echo work_dir/e not writable >> work_dir/testresult; fi;
24+
if [ -L work_dir/e ]; then echo work_dir/e is a symlink >> work_dir/testresult; fi;'
25+
2226
inputs:
2327
input_dir: Directory
2428
outputs:

0 commit comments

Comments
 (0)