summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-07-20 23:42:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-07-20 23:42:06 -0400
commitbcbdf3f2c90897769394d6d0d23e7714ec471d4f (patch)
treef6a502ceef78106d3348cbac298193293e718f42 /tests.sh
parent4242283189a94a79dda78540efe78b2666a944cc (diff)
downloadbfs-bcbdf3f2c90897769394d6d0d23e7714ec471d4f.tar.xz
eval: Add some sanity checks
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index 0e337bd..f0ada64 100755
--- a/tests.sh
+++ b/tests.sh
@@ -259,6 +259,8 @@ bsd_tests=(
)
gnu_tests=(
+ test_true
+ test_false
test_executable
test_readable
test_writable
@@ -528,6 +530,14 @@ function test_path() {
bfs_diff basic -path 'basic/*f*'
}
+function test_true() {
+ bfs_diff basic -true
+}
+
+function test_false() {
+ bfs_diff basic -false
+}
+
function test_executable() {
bfs_diff perms -executable
}