Commit 5a4bf4ab authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix download_url and add test

parent 0599ff37
......@@ -23,8 +23,10 @@ download_url()
# NOTE: disable cert checking
# use wget with try=1 and timeout = 30 sec
a= wget --no-check-certificate --unlink -c -t 1 -T 30 "$1" -O "$NAME"
return
a= wget --no-check-certificate --unlink -c -t 1 -T 30 "$1" -O "$NAME" && return
rm -f "$NAME"
return 1
}
check_url()
......
#!/bin/sh
. `dirname $0`/../share/eterbuild/functions/common
load_mod web
download_url http://www.iozone.org/src/current/iozone3_303.tar.bz2 && echo "False positive" || echo "OK, failed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment