Commit 5b38644d authored by Danil Mikhailov's avatar Danil Mikhailov

Added http dir and file test

parent 8ab1cdbd
#!/bin/sh
EGET=/srv/danil/Projects/eget/eget
EGET="bash -x /srv/danil/Projects/eget/eget"
test_download(){
echo "Download $1"
......@@ -16,11 +16,14 @@ file $MYFILE && echo OK || echo FAIL
sleep 1
}
test_download ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg
test_download ftp://ftp.altlinux.ru/pub/docs/Heap/favicon.ico
test_download ftp://updates.etersoft.ru/pub/people/danil/eget_test2/*
test_download http://updates.etersoft.ru/pub/people/danil/eget_test2/*
test_download http://updates.etersoft.ru/pub/people/danil/eget_test/vm-profile.scm
#test_download ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg
#test_download ftp://ftp.altlinux.ru/pub/docs/Heap/favicon.ico
#test_download ftp://updates.etersoft.ru/pub/people/danil/eget_test2/*
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test2/*
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test2/vm-profile.scm
test_download http://updates.etersoft.ru/pub/people/danil/eget_test2/ #Download index file #MAYBE_BUG
#Not work test, failed on long name
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/%d0%a1%d0%b0%d0%bd%d0%b4%d0%b5%d1%80%d1%81%20%d0%91.%2c%20%d0%9a%d1%83%d0%bc%d0%b0%d1%80%d0%b0%d0%bd%d0%b0%d1%82%d1%83%d0%bd%d0%b3%20%d0%a7.%20-%20ActionScript%203.0.%20%d0%a8%d0%b0%d0%b1%d0%bb%d0%be%d0%bd%d1%8b%20%d0%bf%d1%80%d0%be%d0%b5%d0%ba%d1%82%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f%20-%202011.pdf
\ No newline at end of file
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/%d0%a1%d0%b0%d0%bd%d0%b4%d0%b5%d1%80%d1%81%20%d0%91.%2c%20%d0%9a%d1%83%d0%bc%d0%b0%d1%80%d0%b0%d0%bd%d0%b0%d1%82%d1%83%d0%bd%d0%b3%20%d0%a7.%20-%20ActionScript%203.0.%20%d0%a8%d0%b0%d0%b1%d0%bb%d0%be%d0%bd%d1%8b%20%d0%bf%d1%80%d0%be%d0%b5%d0%ba%d1%82%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f%20-%202011.pdf
#If file non exist download directory #MAYBE_BUG #TODO
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/__NON_EXIST_FILE.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