File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -10,15 +10,19 @@ requirements:
1010baseCommand :
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+
2226inputs :
2327 input_dir: Directory
2428outputs :
You can’t perform that action at this time.
0 commit comments