From 1eeadd8e9402c69afff85b187683bc50292d00a5 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 2 Jun 2021 14:19:59 -0400 Subject: Implement time units for -{a,B,c,m}time From FreeBSD find. Closes #75. --- tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index e58993f..5aa5a8d 100755 --- a/tests.sh +++ b/tests.sh @@ -389,6 +389,8 @@ bsd_tests=( test_msince + test_mtime_units + test_name_slash test_name_slashes @@ -2019,6 +2021,10 @@ function test_msince() { bfs_diff times -msince 1991-12-14T00:01 } +function test_mtime_units() { + bfs_diff times -mtime +500w400d300h200m100s +} + function test_size_T() { bfs_diff basic -type f -size 1T } -- cgit v1.2.3