summaryrefslogtreecommitdiffstats
path: root/tests/bsd
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-10-19 14:29:35 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-10-19 15:00:08 -0400
commit9192487a267f7052924db88d88cf381513c773d2 (patch)
tree6b18e91aed54c1477434dfb1c67479e0f26aac7a /tests/bsd
parent49a2a2194bfde0b70aac72bd7f2d0e02c62858ef (diff)
downloadbfs-9192487a267f7052924db88d88cf381513c773d2.tar.xz
tests: Coverage number go up
Diffstat (limited to 'tests/bsd')
-rw-r--r--tests/bsd/f_incomplete.sh2
-rw-r--r--tests/bsd/mtime_bad_unit.sh1
-rw-r--r--tests/bsd/mtime_missing_unit.sh1
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/bsd/f_incomplete.sh b/tests/bsd/f_incomplete.sh
new file mode 100644
index 0000000..acb63af
--- /dev/null
+++ b/tests/bsd/f_incomplete.sh
@@ -0,0 +1,2 @@
+fail invoke_bfs -f
+
diff --git a/tests/bsd/mtime_bad_unit.sh b/tests/bsd/mtime_bad_unit.sh
new file mode 100644
index 0000000..3921f80
--- /dev/null
+++ b/tests/bsd/mtime_bad_unit.sh
@@ -0,0 +1 @@
+fail invoke_bfs times -mtime +1q
diff --git a/tests/bsd/mtime_missing_unit.sh b/tests/bsd/mtime_missing_unit.sh
new file mode 100644
index 0000000..3ac4c97
--- /dev/null
+++ b/tests/bsd/mtime_missing_unit.sh
@@ -0,0 +1 @@
+fail invoke_bfs times -mtime +1w2