Lines Matching full:dir
19 mkdir -p testdir/dir/dir/dir testdir/dir2 &&
20 touch testdir/dir/file &&
21 ln -s ../dir/dir testdir/dir2/dir &&
22 ln -s ../dir/file testdir/dir2/file || exit 1
26 IN="cd testdir && chgrp -R $GRP dir dir2 &&"
30 # dir dir2 dir/dir dir/file dir/dir/dir dir2/dir dir2/file
35 testing "dir" "$IN chgrp root dir $OUT" \
37 testing "file" "$IN chgrp root dir/file $OUT" \
39 testing "dir and file" "$IN chgrp root dir dir/file $OUT" \
45 testing "symlink->dir" "$IN chgrp root dir2/dir $OUT" \
47 testing "-h symlink->dir" "$IN chgrp -h root dir2/dir $OUT" \
53 testing "-h symlink->dir" "$IN chgrp -h root dir2/dir $OUT" \
58 testing "-R dir" "$IN chgrp -R root dir $OUT" \
62 testing "-R symlink->dir" "$IN chgrp -R root dir2/dir $OUT" \
71 testing "-RP symlink->dir" "$IN chgrp -RP root dir2/dir $OUT" \
76 # chgrp -RH (change target but only recurse through symlink->dir on cmdline)
80 testing "-RH symlink->dir" "$IN chgrp -RH root dir2/dir $OUT" \
85 # chgrp -RL (change target and always recurse through symlink->dir)
89 testing "-RL symlink->dir" "$IN chgrp -RL root dir2/dir $OUT" \
95 testing "-H without -R" "$IN chgrp -H root dir2/dir $OUT" \
97 testing "-L without -R" "$IN chgrp -L root dir2/dir $OUT" \
99 testing "-P without -R" "$IN chgrp -P root dir2/dir $OUT" \