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 b6ebb05 commit 76f4696
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions functions/retrieve_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ decide_exit() {
if [[ -f manual_review.tmp ]]; then
printf "\n"
exit 1
else
exit 0
fi
}

Expand Down
10 changes: 5 additions & 5 deletions functions/test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ main() {
('validate')
TEST_RETRIEVE_VALIDATE "$1" ;;
('dead')
test_dead_check ;;
TEST_DEAD_CHECK ;;
('parked')
test_parked_check ;;
('shellcheck')
Expand Down Expand Up @@ -91,9 +91,9 @@ SHELLCHECK() {
# TEST: conversion from URLs to domains
test_conversion() {
# INPUT
printf "https://conversion-test.com/folder/" >> input.txt
printf "https://conversion-test.com/folder/\n" >> input.txt
# EXPECTED OUTPUT
printf "conversion-test.com" >> out_raw.txt
printf "conversion-test.com\n" >> out_raw.txt
}

# TEST: removal of known dead domains
Expand Down Expand Up @@ -340,9 +340,9 @@ TEST_RETRIEVE_VALIDATE() {
on_exit
}

# Function 'test_dead_check' tests the removal/addition of dead and resurrected
# Function 'TEST_DEAD_CHECK' tests the removal/addition of dead and resurrected
# domains respectively.
test_dead_check() {
TEST_DEAD_CHECK() {
# Initialize files
: > "$SUBDOMAINS"
: > "$ROOT_DOMAINS"
Expand Down

0 comments on commit 76f4696

Please sign in to comment.