diff options
author | teor <teor@torproject.org> | 2020-01-14 17:24:11 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-01-15 22:29:52 +1000 |
commit | b910ae8cd18973d8cd846583599cf62a723b58fa (patch) | |
tree | 4283d75827ef4467d293c50c8c8b3d2f989c3c01 /scripts | |
parent | fa038e561757d4280957db715da0a3392e8084f2 (diff) | |
download | tor-b910ae8cd18973d8cd846583599cf62a723b58fa.tar.gz tor-b910ae8cd18973d8cd846583599cf62a723b58fa.zip |
practracker: Wrap long lines in the test script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/practracker/test_practracker.sh | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/scripts/maint/practracker/test_practracker.sh b/scripts/maint/practracker/test_practracker.sh index 28d3d82e66..d2b7951031 100755 --- a/scripts/maint/practracker/test_practracker.sh +++ b/scripts/maint/practracker/test_practracker.sh @@ -60,18 +60,24 @@ echo "unit tests:" echo "ex0:" -run_practracker --exceptions "${DATA}/ex0.txt" > "${TMPDIR}/ex0-received.txt" 2>&1 +run_practracker --exceptions "${DATA}/ex0.txt" \ + > "${TMPDIR}/ex0-received.txt" 2>&1 -compare "${TMPDIR}/ex0-received.txt" "${DATA}/ex0-expected.txt" +compare "${TMPDIR}/ex0-received.txt" \ + "${DATA}/ex0-expected.txt" echo "ex1:" -run_practracker --exceptions "${DATA}/ex1.txt" > "${TMPDIR}/ex1-received.txt" 2>&1 +run_practracker --exceptions "${DATA}/ex1.txt" \ + > "${TMPDIR}/ex1-received.txt" 2>&1 -compare "${TMPDIR}/ex1-received.txt" "${DATA}/ex1-expected.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" 2>&1 +run_practracker --exceptions "${DATA}/ex1.txt" --list-overbroad \ + > "${TMPDIR}/ex1-overbroad-received.txt" 2>&1 -compare "${TMPDIR}/ex1-overbroad-received.txt" "${DATA}/ex1-overbroad-expected.txt" +compare "${TMPDIR}/ex1-overbroad-received.txt" \ + "${DATA}/ex1-overbroad-expected.txt" |