Commit c15d0a83 authored by Danil Mikhailov's avatar Danil Mikhailov

All test done and correct work

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