From 972dcc2973b160cdaad2c4ce0df3616a9f234759 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 23 Jul 2024 15:19:17 -0400 Subject: tests: Make more tests POSIX-compliant --- tests/common/atime.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 tests/common/atime.sh (limited to 'tests/common/atime.sh') diff --git a/tests/common/atime.sh b/tests/common/atime.sh deleted file mode 100644 index 4f2299d..0000000 --- a/tests/common/atime.sh +++ /dev/null @@ -1,15 +0,0 @@ -cd "$TEST" - -now=$(epoch_time) - -"$XTOUCH" -at "@$((now - 60 * 60 * 24 * 7))" last_week -"$XTOUCH" -at "@$((now - 60 * 60 * 49))" two_days_ago -"$XTOUCH" -at "@$((now - 60 * 60 * 25))" yesterday -"$XTOUCH" -at "@$((now - 60 * 60))" one_hour_ago -"$XTOUCH" -at "@$((now))" now -"$XTOUCH" -at "@$((now + 60 * 60 * 24))" tomorrow - -bfs_diff . -mindepth 1 \ - \( -atime -1 -exec printf -- '-atime -1: %s\n' {} \; -o -true \) \ - \( -atime 1 -exec printf -- '-atime 1: %s\n' {} \; -o -true \) \ - \( -atime +1 -exec printf -- '-atime +1: %s\n' {} \; -o -true \) -- cgit v1.2.3