aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-19 11:37:01 +0000
committerOmar Polo <op@omarpolo.com>2021-07-19 13:37:46 +0200
commitc735175beae1ea085ae93797bf08341680b47565 (patch)
tree068d12aa62dca684b847846c78762ccbd88b067a
parente65ac404d1cd6dbc150b9f7446a88e9f886e9f32 (diff)
use certs from regress/
-rw-r--r--regress/Makefile3
-rwxr-xr-xregress/runtime2
2 files changed, 4 insertions, 1 deletions
diff --git a/regress/Makefile b/regress/Makefile
index e1031aa..5fd7149 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -35,6 +35,8 @@ cert.pem:
-out cert.pem \
-days 365 -nodes \
-subj "/CN=localhost"
+ ln -s cert.pem localhost.cert.pem
+ ln -s key.pem localhost.key.pem
@echo
testca.pem:
@@ -66,6 +68,7 @@ invalid.cert.pem: cert.pem
clean:
rm -f *.o iri_test cert.pem key.pem
+ rm -f localhost.cert.pem localhost.key.pem
rm -f testca.* valid.csr valid.key invalid.*pem
rm -rf testdata fill-file puny-test gg
diff --git a/regress/runtime b/regress/runtime
index f156d6a..cec1d6d 100755
--- a/regress/runtime
+++ b/regress/runtime
@@ -105,7 +105,7 @@ onexit() {
# configless tests
-./../gmid -p $port testdata &
+./../gmid -p $port -H localhost -d . testdata &
pid=$!
sleep 1