summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-02-12 13:41:46 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-02-12 14:12:00 -0500
commit2cdc648441794db0f84518f79e8aaf3ead68f110 (patch)
tree1ee32ec07d51b5dd71bb55f8328d2733ba17e320 /tests.sh
parent3bfdb184465da7684265b7b21a2c7f0ba5904998 (diff)
downloadbfs-2cdc648441794db0f84518f79e8aaf3ead68f110.tar.xz
Implement -{a,B,c,m,}since
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index fb73e4d..3893251 100755
--- a/tests.sh
+++ b/tests.sh
@@ -280,6 +280,9 @@ bsd_tests=(
test_acl
test_L_acl
+ test_anewer
+ test_asince
+
test_delete
test_depth_maxdepth_1
@@ -331,6 +334,8 @@ bsd_tests=(
test_mnewer
test_H_mnewer
+ test_msince
+
test_name_slash
test_name_slashes
@@ -1151,6 +1156,10 @@ function test_anewer() {
bfs_diff times -anewer times/a
}
+function test_asince() {
+ bfs_diff times -asince 1991-12-14T00:01
+}
+
function test_links() {
bfs_diff links -type f -links 2
}
@@ -1777,6 +1786,10 @@ function test_H_mnewer() {
bfs_diff -H times -mnewer times/l
}
+function test_msince() {
+ bfs_diff times -msince 1991-12-14T00:01
+}
+
function test_size_T() {
bfs_diff basic -type f -size 1T
}