Mercurial > urweb
annotate tests/dbupload2.sh @ 2153:39bd1d4007a9
Apply syntax sugar for 'class' attribute to <form> as well
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 08 Jun 2015 11:11:46 -0400 |
parents | 229a299d739d |
children |
rev | line source |
---|---|
grrwlf@2053 | 1 #!/bin/sh |
grrwlf@2053 | 2 |
grrwlf@2053 | 3 set -e |
grrwlf@2053 | 4 |
grrwlf@2053 | 5 cd `dirname $0` |
grrwlf@2053 | 6 |
grrwlf@2053 | 7 urweb -dbms sqlite dbupload2 |
grrwlf@2053 | 8 |
grrwlf@2053 | 9 rm -rf dbupload2.db || true |
grrwlf@2053 | 10 sqlite3 dbupload2.db < dbupload2.sql |
grrwlf@2053 | 11 |
grrwlf@2053 | 12 ./dbupload2.exe -p 8083 & |
grrwlf@2053 | 13 sleep 1 |
grrwlf@2053 | 14 |
grrwlf@2053 | 15 touch /tmp/empty |
grrwlf@2053 | 16 curl --verbose -F"operation=upload" -F"filename=@/tmp/empty" http://localhost:8083/Blabla/bla |
grrwlf@2053 | 17 |