From 4649cf3132217fe9f975f7e16f47928e5d7680bf Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 23 Jul 2024 15:11:06 -0400 Subject: tests/common: Add some missing paths --- tests/common/amin.sh | 2 +- tests/common/atime.sh | 2 +- tests/common/mmin.sh | 2 +- tests/common/mtime.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/common/amin.sh b/tests/common/amin.sh index c4d53fb..92c3531 100644 --- a/tests/common/amin.sh +++ b/tests/common/amin.sh @@ -9,7 +9,7 @@ now=$(epoch_time) "$XTOUCH" -at "@$((now + 60))" in_one_minute "$XTOUCH" -at "@$((now + 60 * 60))" in_one_hour -bfs_diff -mindepth 1 \ +bfs_diff . -mindepth 1 \ \( -amin -1 -exec printf -- '-amin -1: %s\n' {} \; -o -true \) \ \( -amin 1 -exec printf -- '-amin 1: %s\n' {} \; -o -true \) \ \( -amin +1 -exec printf -- '-amin +1: %s\n' {} \; -o -true \) diff --git a/tests/common/atime.sh b/tests/common/atime.sh index c2e4031..4f2299d 100644 --- a/tests/common/atime.sh +++ b/tests/common/atime.sh @@ -9,7 +9,7 @@ now=$(epoch_time) "$XTOUCH" -at "@$((now))" now "$XTOUCH" -at "@$((now + 60 * 60 * 24))" tomorrow -bfs_diff -mindepth 1 \ +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 \) diff --git a/tests/common/mmin.sh b/tests/common/mmin.sh index 38e3337..4e1d19c 100644 --- a/tests/common/mmin.sh +++ b/tests/common/mmin.sh @@ -9,7 +9,7 @@ now=$(epoch_time) "$XTOUCH" -mt "@$((now + 60))" in_one_minute "$XTOUCH" -mt "@$((now + 60 * 60))" in_one_hour -bfs_diff -mindepth 1 \ +bfs_diff . -mindepth 1 \ \( -mmin -1 -exec printf -- '-mmin -1: %s\n' {} \; -o -true \) \ \( -mmin 1 -exec printf -- '-mmin 1: %s\n' {} \; -o -true \) \ \( -mmin +1 -exec printf -- '-mmin +1: %s\n' {} \; -o -true \) diff --git a/tests/common/mtime.sh b/tests/common/mtime.sh index 7ba127e..910f64d 100644 --- a/tests/common/mtime.sh +++ b/tests/common/mtime.sh @@ -9,7 +9,7 @@ now=$(epoch_time) "$XTOUCH" -mt "@$((now))" now "$XTOUCH" -mt "@$((now + 60 * 60 * 24))" tomorrow -bfs_diff -mindepth 1 \ +bfs_diff . -mindepth 1 \ \( -mtime -1 -exec printf -- '-mtime -1: %s\n' {} \; -o -true \) \ \( -mtime 1 -exec printf -- '-mtime 1: %s\n' {} \; -o -true \) \ \( -mtime +1 -exec printf -- '-mtime +1: %s\n' {} \; -o -true \) -- cgit v1.2.3