Commit 216a812e authored by Danil Mikhailov's avatar Danil Mikhailov

Added test downloading http and ftp dir

parent bdc7d29d
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
EGET=../eget EGET=../eget
test(){ test_download(){
echo "Download $1" echo "Download $1"
$EGET $1 $EGET $1
file $(basename $1) file $(basename $1)
rm -rf $(basename $1) rm -rf $(basename $1)
} }
test ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg #test_download ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg
test ftp://ftp.altlinux.ru/pub/docs/Heap/favicon.ico #test_download ftp://ftp.altlinux.ru/pub/docs/Heap/favicon.ico
test_download ftp://updates.etersoft.ru/pub/people/danil/eget_test/
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/
\ No newline at end of file
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