summaryrefslogtreecommitdiffstats
path: root/tests/posix/depth_error.sh
blob: f770210296adcc61e999bbcb6a853e1ac6fcf73a (plain)
1
2
3
4
5
6
7
8
9
10
11
clean_scratch
"$XTOUCH" -p scratch/foo/bar
chmod a-r scratch/foo

bfs_diff scratch -depth
ret=$?

chmod +r scratch/foo
clean_scratch

[ $ret -eq $EX_BFS ]