mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
practracker: Wrap long lines in the test script
This commit is contained in:
parent
fa038e5617
commit
b910ae8cd1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user