cvsimport
[findutils.git] / find / testsuite / find.posix / mtime0.exp
blob23237a1c7dc047b994f59efe2d9ebf3f31ddfd84
1 ## Test for find . -mtime 0
2 ## This detects Savannah bug #22056, -Xtime tests are off by one second
4 exec rm -rf tmp
5 exec mkdir tmp
6 # Touch the file in the setup phase, to make sure its mtime is as
7 # recent as possible.
8 proc prep {} { exec touch tmp/x }
9 find_start p { tmp -type f -mtime 0 } "" "" prep
10 exec rm -rf tmp