summaryrefslogtreecommitdiffstats
path: root/tests/gnu/printf_Y_error.sh
blob: 6487711a823da8f60892efbc428e4e27a1b196f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clean_scratch
mkdir scratch/foo
chmod -x scratch/foo
ln -s foo/bar scratch/bar

bfs_diff scratch -printf '(%p) (%l) %y %Y\n'
ret=$?

chmod +x scratch/foo
clean_scratch

[ $ret -eq $EX_BFS ]