
Originally Posted by
Veerappan
So, I've got a random PTS question/enhancement request...
I was attempting to use it on my desktop the other day and ran into a common issue with my internet connection. Quite often on large downloads, the download will stall and eventually fail. If I just use the command-line (e.g. 'phoronix-test-suite install mesa'), it might get halfway through the first download, fail, and then I have to try again. The old networking code (curl is what ps said was running) would then restart the download from byte 0.
After having to restart the urbanterror download the 3rd/4th time, I got impatient and dug through the test-resources/urbanterror/download.xml file and manually used 'wget -c' to download the file(s) into the right directory and then was able to proceed with the install normally.
Does the new networking code replace the curl/wget code completely, or is wget/curl still used with a new fallback in the case that curl/wget aren't available? If wget's still there, might it be possible to add some option to resume an interrupted download on OSes that support it?
If not, it might be nice to be able to specify a $DOWNLOAD_CACHE variable somewhere which would allow me to just point PTS to a directory which contains all of the pre-downloaded files (I use PTS on several systems for driver/functionality testing). Additionally, a command-line option to just download the test files would be nice (or just an option to spit out the download URLs instead of downloading/installing them).