summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-19 12:44:49 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-19 12:44:49 -0400
commit5d03c9d460d1c1afcdf062d494537986ce96a690 (patch)
tree470577f39f96cf6d8667f7b0b544bc186c2cbee7 /tests
parent46c3a6d6cf5cbcee6add3350b0969578ef09a06b (diff)
downloadbfs-5d03c9d460d1c1afcdf062d494537986ce96a690.tar.xz
eval: Don't warn about suppressed errors without -noerror
Diffstat (limited to 'tests')
-rw-r--r--tests/bfs/warn_without_noerror.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bfs/warn_without_noerror.sh b/tests/bfs/warn_without_noerror.sh
new file mode 100644
index 0000000..5167309
--- /dev/null
+++ b/tests/bfs/warn_without_noerror.sh
@@ -0,0 +1,2 @@
+# bfs shouldn't print "warning: Suppressed errors" without -noerror
+! invoke_bfs inaccessible -warn 2>&1 >/dev/null | grep warning >&2