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 1022
1022
" class " : " File" ,
1023
1023
" location " : " work_dir/e" ,
1024
1024
" size " : 0
1025
+ },
1026
+ {
1027
+ " checksum " : " sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709" ,
1028
+ " basename " : " testresult" ,
1029
+ " location " : " work_dir/testresult" ,
1030
+ " class " : " File" ,
1031
+ " size " : 0
1025
1032
}
1026
1033
],
1027
1034
" location " : " work_dir" ,
1028
1035
}
1029
1036
1030
1037
1038
+
1039
+
1031
1040
tool : v1.0/recursive-input-directory.cwl
1032
1041
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:
10
10
baseCommand :
11
11
- bash
12
12
- '-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
+
22
26
inputs :
23
27
input_dir: Directory
24
28
outputs :
You can’t perform that action at this time.
0 commit comments