diff --git a/Regression/bz1623004-Wget-fails-to-gzip-warc-files/runtest.sh b/Regression/bz1623004-Wget-fails-to-gzip-warc-files/runtest.sh index 7bbdfbd..c61277d 100755 --- a/Regression/bz1623004-Wget-fails-to-gzip-warc-files/runtest.sh +++ b/Regression/bz1623004-Wget-fails-to-gzip-warc-files/runtest.sh @@ -44,14 +44,14 @@ rlJournalStart rlGetTestState && { rlPhaseStartTest WarcGzip - rlRun "wget --recursive --level=1 --warc-file='test' $WEBSITE -P web >>wgetLog.txt 2>&1" 3 "Download and compress web" + rlRun "wget --inet4-only --recursive --level=1 --warc-file='test' $WEBSITE -P web >>wgetLog.txt 2>&1" 3 "Download and compress web" rlRun "file test.warc | grep 'cannot open.*(No such file or directory'" 0 "warc WITHOUT gzip was NOT created" rlRun "file test.warc.gz | grep 'test.warc.gz: gzip compressed data'" 0 "Gzipped file WAS created" rlPhaseEnd rlPhaseStartTest WarcNoGzip rlRun "rm -f test.warc.gz test.warc" 0 "Clean up" - rlRun "wget --recursive --level=1 --no-warc-compression --warc-file='test' $WEBSITE -P web1 >>wgetLog.txt 2>&1" 3 "Download again with --no-warc-compression" + rlRun "wget --inet4-only --recursive --level=1 --no-warc-compression --warc-file='test' $WEBSITE -P web1 >>wgetLog.txt 2>&1" 3 "Download again with --no-warc-compression" rlRun "grep 'unrecognized option .--no-warc-compression.' wgetLog.txt" 1 "Wget knows option --no-warc-compression" rlRun "file test.warc | grep 'test.warc: WARC Archive'" 0 "warc WITHOUT gzip WAS created" rlRun "file test.warc.gz | grep 'cannot open.*(No such file or directory'" 0 "warc WITH gzip was NOT created" diff --git a/Regression/bz2152731-Running-wget-with-O-and-q-in-the-background/runtest.sh b/Regression/bz2152731-Running-wget-with-O-and-q-in-the-background/runtest.sh index 1087276..199ba5b 100755 --- a/Regression/bz2152731-Running-wget-with-O-and-q-in-the-background/runtest.sh +++ b/Regression/bz2152731-Running-wget-with-O-and-q-in-the-background/runtest.sh @@ -42,7 +42,7 @@ rlJournalStart rlGetTestState && { rlPhaseStartTest - rlRun "wget -q -O /dev/null redhat.com" 0 "Run wget in foreground without log file" + rlRun "wget --inet4-only -q -O /dev/null redhat.com" 0 "Run wget in foreground without log file" rlAssertNotExists ./wget-log ls -la # For some reason runnig wget in background with & does not reproduce the bug when run from inside the test. diff --git a/Sanity/https/runtest.sh b/Sanity/https/runtest.sh index 9b52601..d81c2b6 100755 --- a/Sanity/https/runtest.sh +++ b/Sanity/https/runtest.sh @@ -72,7 +72,7 @@ rlJournalStart rlPhaseStartTest "Test redhat.com page" rlRun "mkdir redhat" rlRun "pushd redhat" - rlRun "wget -O index.html https://www.redhat.com/" + rlRun "wget --inet4-only -O index.html https://www.redhat.com/" rlAssertExists "index.html" rlAssertGrep '' 'index.html' -i rlRun "popd"