summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-02-11 22:20:57 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-02-11 22:20:57 -0500
commit60a33ca726518a3325e56d77f65bfdcbecf91444 (patch)
tree99fadc2fe4b13f0da18162a6cfc971fd42b98b0e /tests.sh
parent31d4d9ea8bb2678ea4a3742a7d34e76c0ed86956 (diff)
downloadbfs-60a33ca726518a3325e56d77f65bfdcbecf91444.tar.xz
Implement explicit reference times (-newerXt)
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index dac6f1b..fb73e4d 100755
--- a/tests.sh
+++ b/tests.sh
@@ -337,6 +337,7 @@ bsd_tests=(
test_H_newer
test_newerma
+ test_newermt
test_nogroup
test_nogroup_ulimit
@@ -485,6 +486,7 @@ gnu_tests=(
test_H_newer
test_newerma
+ test_newermt
test_nogroup
test_nogroup_ulimit
@@ -1349,6 +1351,10 @@ function test_newerma() {
bfs_diff times -newerma times/a
}
+function test_newermt() {
+ bfs_diff times -newermt 1991-12-14T00:01
+}
+
function test_size() {
bfs_diff basic -type f -size 0
}