aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2018-01-04 22:59:24 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2018-01-04 22:59:24 +0000
commit39afde0dcc44e0033fabdbcc61e28d0358da1ba2 (patch)
treecffcc5d38a792b4f1545fb98df2dadb8cd7d651f /usr.bin/find
parent2defb358ea1107e41fd12efd0db0283f47178473 (diff)
downloadsrc-39afde0dcc44e0033fabdbcc61e28d0358da1ba2.tar.gz
src-39afde0dcc44e0033fabdbcc61e28d0358da1ba2.zip
Notes
Diffstat (limited to 'usr.bin/find')
-rwxr-xr-xusr.bin/find/tests/find_test.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/find/tests/find_test.sh b/usr.bin/find/tests/find_test.sh
index 604e98795a15..0268d052da94 100755
--- a/usr.bin/find/tests/find_test.sh
+++ b/usr.bin/find/tests/find_test.sh
@@ -36,10 +36,9 @@ find_newer_link_body()
{
atf_check -s exit:0 mkdir test
atf_check -s exit:0 ln -s file1 test/link
- atf_check -s exit:0 sleep 1.1
- atf_check -s exit:0 touch test/file2
- atf_check -s exit:0 sleep 1.1
- atf_check -s exit:0 touch test/file1
+ atf_check -s exit:0 touch -d 2017-12-31T10:00:00Z -h test/link
+ atf_check -s exit:0 touch -d 2017-12-31T11:00:00Z test/file2
+ atf_check -s exit:0 touch -d 2017-12-31T12:00:00Z test/file1
# find(1) should evaluate 'link' as a symlink rather than its target
# (with -P / without -L flags). Since link was created first, the