summaryrefslogtreecommitdiff
path: root/scripts/maint/practracker/testdata/ex1.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-08-26 12:28:46 -0400
committerNick Mathewson <nickm@torproject.org>2019-08-26 12:28:46 -0400
commitc71051882586201f9f2566fa7073e13bf50b60db (patch)
treec88f1185e1f3bd400a123883a4bfbbba40f15355 /scripts/maint/practracker/testdata/ex1.txt
parent859514d47753aa951730ae8c0dfbbdb4c2e63710 (diff)
downloadtor-c71051882586201f9f2566fa7073e13bf50b60db.tar.gz
tor-c71051882586201f9f2566fa7073e13bf50b60db.zip
Add integration tests for new practracker features
These tests check our .may_include checking, and our header file checking. They do not pass yet: we have a bug in our filtering code.
Diffstat (limited to 'scripts/maint/practracker/testdata/ex1.txt')
-rw-r--r--scripts/maint/practracker/testdata/ex1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/maint/practracker/testdata/ex1.txt b/scripts/maint/practracker/testdata/ex1.txt
index db42ae8450..f619e33b22 100644
--- a/scripts/maint/practracker/testdata/ex1.txt
+++ b/scripts/maint/practracker/testdata/ex1.txt
@@ -9,3 +9,7 @@ problem file-size b.c 15
# This is removed, and so will produce an error.
# problem function-size b.c:foo() 4
problem function-size b.c:bar() 5
+problem dependency-violation a.c 3
+problem dependency-violation header.h 3
+problem file-size header.h 8
+problem include-count header.h 4