Mercurial > urweb
view tests/dbupload2.sh @ 2166:8a01e8f21de9
Make OpenSSL usage thread-safe (closes #206)
Enable OpenSSL?s multithreading support by defining locking and
thread-ID callbacks. Remove a lock obviated by this change.
author | Benjamin Barenblat <bbaren@mit.edu> |
---|---|
date | Thu, 06 Aug 2015 10:15:53 -0400 |
parents | 229a299d739d |
children |
line wrap: on
line source
#!/bin/sh set -e cd `dirname $0` urweb -dbms sqlite dbupload2 rm -rf dbupload2.db || true sqlite3 dbupload2.db < dbupload2.sql ./dbupload2.exe -p 8083 & sleep 1 touch /tmp/empty curl --verbose -F"operation=upload" -F"filename=@/tmp/empty" http://localhost:8083/Blabla/bla