Lines Matching full:dir
20 mkdir -p testdir/dir/dir/dir testdir/dir2 &&
21 touch testdir/dir/file &&
22 ln -s ../dir/dir testdir/dir2/dir &&
23 ln -s ../dir/file testdir/dir2/file || exit 1
27 IN="cd testdir && chgrp -R $GRP dir dir2 &&"
31 # dir dir2 dir/dir dir/file dir/dir/dir dir2/dir dir2/file
36 testing "dir" "$IN chgrp root dir $OUT" \
38 testing "file" "$IN chgrp root dir/file $OUT" \
40 testing "dir and file" "$IN chgrp root dir dir/file $OUT" \
46 testing "symlink->dir" "$IN chgrp root dir2/dir $OUT" \
48 testing "-h symlink->dir" "$IN chgrp -h root dir2/dir $OUT" \
54 testing "-h symlink->dir" "$IN chgrp -h root dir2/dir $OUT" \
59 testing "-R dir" "$IN chgrp -R root dir $OUT" \
63 testing "-R symlink->dir" "$IN chgrp -R root dir2/dir $OUT" \
72 testing "-RP symlink->dir" "$IN chgrp -RP root dir2/dir $OUT" \
77 # chgrp -RH (change target but only recurse through symlink->dir on cmdline)
81 testing "-RH symlink->dir" "$IN chgrp -RH root dir2/dir $OUT" \
86 # chgrp -RL (change target and always recurse through symlink->dir)
90 testing "-RL symlink->dir" "$IN chgrp -RL root dir2/dir $OUT" \
96 testing "-H without -R" "$IN chgrp -H root dir2/dir $OUT" \
98 testing "-L without -R" "$IN chgrp -L root dir2/dir $OUT" \
100 testing "-P without -R" "$IN chgrp -P root dir2/dir $OUT" \