aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-06-22 05:15:29 +0200
committerSven Gothel <[email protected]>2021-06-22 05:15:29 +0200
commite21dc0f99211d10190dec38881a5472f23962557 (patch)
tree00736cdc7fdee497198d0729141e8e401d056a2e /scripts
parent8e2d91abd2c58ec98f1593389dbe85a63359b726 (diff)
Using 'mini_httpd' for unit testing etc .. 'http://localhost:8080/test_data/'; Bump README.mdv0.2.0
Added http url stream test to test_02_cipherpack.cpp
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_mini_httpd.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/run_mini_httpd.sh b/scripts/run_mini_httpd.sh
new file mode 100755
index 0000000..a16e818
--- /dev/null
+++ b/scripts/run_mini_httpd.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+sdir=`dirname $(readlink -f $0)`
+rootdir=`dirname $sdir`
+bname=`basename $0 .sh`
+
+. $sdir/setup-machine-arch.sh
+
+echo killall minihttpd
+killall mini_httpd
+echo killall minihttpd
+killall mini_httpd
+echo launch minihttpd
+cd $rootdir
+/usr/sbin/mini_httpd -p 8080 -l $rootdir/mini_httpd-$archabi.log
+