summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-07-23 15:11:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-07-23 15:22:02 -0400
commit4649cf3132217fe9f975f7e16f47928e5d7680bf (patch)
tree78eb05bc3e0e10edb9733bfe00d06f52c595e2c9
parent713f47775ad60f0b7087a504e11dd7f0de8ebb2a (diff)
downloadbfs-4649cf3132217fe9f975f7e16f47928e5d7680bf.tar.xz
tests/common: Add some missing paths
-rw-r--r--tests/common/amin.sh2
-rw-r--r--tests/common/atime.sh2
-rw-r--r--tests/common/mmin.sh2
-rw-r--r--tests/common/mtime.sh2
4 files changed, 4 insertions, 4 deletions
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 \)