aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-19 13:37:01 +0200
committerOmar Polo <op@omarpolo.com>2021-07-19 13:37:01 +0200
commit3e0164f4c31a96455a71e87c071ffedffca9dfa5 (patch)
treec2f9bd0f78399ad7f0434990699dc9b8b80155ed
parent735336b21edbca50b1650df091ed2dad47f96c27 (diff)
downloadgmid-3e0164f4c31a96455a71e87c071ffedffca9dfa5.tar.gz
gmid-3e0164f4c31a96455a71e87c071ffedffca9dfa5.tar.bz2
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