[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] practracker: Wrap long lines in the test script



commit b910ae8cd18973d8cd846583599cf62a723b58fa
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Tue Jan 14 17:24:11 2020 +1000

    practracker: Wrap long lines in the test script
---
 scripts/maint/practracker/test_practracker.sh | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/scripts/maint/practracker/test_practracker.sh b/scripts/maint/practracker/test_practracker.sh
index 28d3d82e6..d2b795103 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"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits