about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/testsuite/prep-server39
-rwxr-xr-xsrc/testsuite/switch-server39
2 files changed, 9 insertions, 9 deletions
diff --git a/src/testsuite/prep-server3 b/src/testsuite/prep-server3
index 054c670c..6d389536 100755
--- a/src/testsuite/prep-server3
+++ b/src/testsuite/prep-server3
@@ -1,4 +1,5 @@
-#!/bin/sh
-cp ssl/cert-my-first-domain-tld.pem ssl/cert.pem
-cp ssl/key-my-first-domain-tld.pem ssl/key.pem
-cp ssl/dhparams-my-first-domain-tld.pem ssl/dhparams.pem
+#!/bin/sh -e
+mkdir -p ssl
+cp "${srcdir}"/ssl/cert-my-first-domain-tld.pem ssl/cert.pem
+cp "${srcdir}"/ssl/key-my-first-domain-tld.pem ssl/key.pem
+cp "${srcdir}"/ssl/dhparams-my-first-domain-tld.pem ssl/dhparams.pem
diff --git a/src/testsuite/switch-server3 b/src/testsuite/switch-server3
index 3b23958b..4087e24d 100755
--- a/src/testsuite/switch-server3
+++ b/src/testsuite/switch-server3
@@ -1,5 +1,4 @@
-#!/bin/sh
-cp ssl/cert-my-second-domain-tld.pem ssl/cert.pem
-cp ssl/key-my-second-domain-tld.pem ssl/key.pem
-cp ssl/dhparams-my-second-domain-tld.pem ssl/dhparams.pem
-# -eof-
+#!/bin/sh -e
+cp "${srcdir}"/ssl/cert-my-second-domain-tld.pem ssl/cert.pem
+cp "${srcdir}"/ssl/key-my-second-domain-tld.pem ssl/key.pem
+cp "${srcdir}"/ssl/dhparams-my-second-domain-tld.pem ssl/dhparams.pem