Commit c15d0a83 authored by Danil Mikhailov's avatar Danil Mikhailov

All test done and correct work

parent 1f9cb173
#!/bin/sh
EGET=../eget
EGET=/srv/danil/Projects/eget/eget
test_download(){
echo "Download $1"
MYFILE=$(basename $1)/$(basename $1)
MYDIR=./$(date +test-%H:%M)
MYDIR=./$(date +test-%H:%M:%S)
mkdir -p $MYDIR
MYFILE=$MYDIR/$(basename $1)
cd $MYDIR
$EGET $1
cd -
......@@ -15,7 +15,7 @@ file $MYFILE
#rm -rf $MYDIR
}
#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_test/*
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/
\ No newline at end of file
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/*
\ 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