Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent efdaa6d commit b9d7d4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion functions/test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# from the processing. The input and output files are compared to determine
# the success or failure of the test.

# Fail as soon as there is an error
set -e

readonly RAW='data/raw.txt'
readonly RAW_LIGHT='data/raw_light.txt'
readonly WHITELIST='config/whitelist.txt'
Expand Down Expand Up @@ -247,7 +250,7 @@ TEST_BUILD() {
printf "%s\n" "$domain" >> "$RAW"
cp "$RAW" "$RAW_LIGHT"

run_script build_list.sh
run_script build_lists.sh || exit 1

check_list "||${domain}^" adblock
check_list "local=/${domain}/" dnsmasq
Expand Down

0 comments on commit b9d7d4b

Please sign in to comment.