improvements, require less configuration - geomyidae-tests - geomyidae tests
HTML git clone git://bitreich.org/geomyidae-tests/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae-tests/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 899ce721d91ce1956ed1299c85131d226fb13b0c
DIR parent 4b6dfb4a3198d8b40b4e75a377f49656cb699c07
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 21 Jul 2023 16:33:39 +0200
improvements, require less configuration
Diffstat:
M Makefile | 2 +-
M README | 6 +-----
M run.sh | 6 +++---
3 files changed, 5 insertions(+), 9 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -6,4 +6,4 @@ clean-results:
rm -f test_counter.txt
clean:
- rm -f test.cgi deepah/test.cgi
+ rm -f test.cgi
DIR diff --git a/README b/README
@@ -1,7 +1,3 @@
geomyidae testsuite initial prototype
-steps to run:
-
-as root: ./run.sh
-
-make sure geomyidae is not running
+as root run: ./run.sh
DIR diff --git a/run.sh b/run.sh
@@ -1,10 +1,10 @@
#!/bin/sh
-bin="/home/hiltjo/p/geomyidae/geomyidae"
+bin="$(pwd)/../geomyidae/geomyidae"
host="127.0.0.1"
port="7070"
base="$(pwd)"
-user="hiltjo"
-group="hiltjo"
+user="$(stat -c '%U' Makefile)" # stat -f on OpenBSD
+group="$(stat -c '%G' Makefile)"
tls=0
chroot=0