summaryrefslogtreecommitdiffstats
path: root/tests/gnu/printf_Y_error.sh
blob: 933c734347f7c3cd79bba946930069494d1c3aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
rm -rf 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
rm -rf scratch/*

[ $ret -eq $EX_BFS ]