Comment 6 for bug 526674

Revision history for this message
glepore70 (greg-rhobard) wrote :

The problem appears to be occurring in line 256 of /usr/bin/testdrive:
if run("wget -q --spider -S %s 2>&1 | grep 'HTTP/1.. 200 OK'" % ISO_URL) != 0:
removing the "-q" quiet option from this line enables testdrive to properly download the Kubuntu ISO.

I'm not a code guru, but it appears the -q option is conflicting with the redirect "2>&1", one says quiet and the other says send the error output to stdout. I think the quiet option wins that fight. Also, the grep statement won't find anything to search if the -q option is specified.

Anyway, forgive the backseat coding, removing the -q in line 256 fixes the immediate problem, without apparently causing any other issues.