diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-18 08:53:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-18 10:28:33 -0400 |
commit | 1c67d261d528767bc3a24f738dc316635f000f7e (patch) | |
tree | 55cccdad69ab67aab4a568d5406dd399c5d18c70 /scripts/maint/practracker/test_practracker.sh | |
parent | d1ffac3f8abbdd5b7d8e5955615821bff3ee3729 (diff) | |
download | tor-1c67d261d528767bc3a24f738dc316635f000f7e.tar.gz tor-1c67d261d528767bc3a24f738dc316635f000f7e.zip |
practracker: Integration test for --list-overbroad
Make sure that we list overbroad exceptions, and nothing else
Diffstat (limited to 'scripts/maint/practracker/test_practracker.sh')
-rwxr-xr-x | scripts/maint/practracker/test_practracker.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/maint/practracker/test_practracker.sh b/scripts/maint/practracker/test_practracker.sh index bfbd0c6560..9b107e071d 100755 --- a/scripts/maint/practracker/test_practracker.sh +++ b/scripts/maint/practracker/test_practracker.sh @@ -61,3 +61,9 @@ echo "ex1:" run_practracker --exceptions "${DATA}/ex1.txt" > "${TMPDIR}/ex1-received.txt" compare "${TMPDIR}/ex1-received.txt" "${DATA}/ex1-expected.txt" + +echo "ex1.overbroad:" + +run_practracker --exceptions "${DATA}/ex1.txt" --list-overbroad > "${TMPDIR}/ex1-overbroad-received.txt" + +compare "${TMPDIR}/ex1-overbroad-received.txt" "${DATA}/ex1-overbroad-expected.txt" |