summaryrefslogtreecommitdiffstats
path: root/dwarflint/tests
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2010-09-15 20:32:23 +0200
committerPetr Machata <[email protected]>2010-09-15 20:32:23 +0200
commit324e64daea1876cb651e3300844c7385717750a7 (patch)
tree315311700422ce9c2d9471b0e7335f755c05b33b /dwarflint/tests
parent77fa9aeeb5cfa975f2f1bb9e6c338187839f458e (diff)
dwarflint: Warn about --check rules that never match
Diffstat (limited to 'dwarflint/tests')
-rwxr-xr-xdwarflint/tests/run-nodebug.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dwarflint/tests/run-nodebug.sh b/dwarflint/tests/run-nodebug.sh
index a595433c..346d9d8c 100755
--- a/dwarflint/tests/run-nodebug.sh
+++ b/dwarflint/tests/run-nodebug.sh
@@ -40,3 +40,9 @@ EOF
testrun_compare ./dwarflint -q -i nodebug <<EOF
EOF
+
+# This has nothing to do with the nodebug test, but we can just as
+# well stick it in there.
+testrun_compare ./dwarflint --check=oentuh -q nodebug <<EOF
+warning: the rule \`oentuh' never matched.
+EOF