0019-S2S-TLS-Fix-make-check-in-separate-build-directory.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From e4937e6ed3a13408f8e0f57124aa784de4299147 Mon Sep 17 00:00:00 2001
  2. From: Alexander Barton <alex@barton.de>
  3. Date: Sat, 10 Feb 2024 00:14:33 +0100
  4. Subject: [PATCH 19/20] S2S-TLS: Fix "make check" in separate build directory
  5. (cherry picked from commit b9d6a2f49c4b3607c69b298cc770c0c945f627f6)
  6. ---
  7. src/testsuite/prep-server3 | 9 +++++----
  8. src/testsuite/switch-server3 | 9 ++++-----
  9. 2 files changed, 9 insertions(+), 9 deletions(-)
  10. --- a/src/testsuite/prep-server3
  11. +++ b/src/testsuite/prep-server3
  12. @@ -1,4 +1,5 @@
  13. -#!/bin/sh
  14. -cp ssl/cert-my-first-domain-tld.pem ssl/cert.pem
  15. -cp ssl/key-my-first-domain-tld.pem ssl/key.pem
  16. -cp ssl/dhparams-my-first-domain-tld.pem ssl/dhparams.pem
  17. +#!/bin/sh -e
  18. +mkdir -p ssl
  19. +cp "${srcdir}"/ssl/cert-my-first-domain-tld.pem ssl/cert.pem
  20. +cp "${srcdir}"/ssl/key-my-first-domain-tld.pem ssl/key.pem
  21. +cp "${srcdir}"/ssl/dhparams-my-first-domain-tld.pem ssl/dhparams.pem
  22. --- a/src/testsuite/switch-server3
  23. +++ b/src/testsuite/switch-server3
  24. @@ -1,5 +1,4 @@
  25. -#!/bin/sh
  26. -cp ssl/cert-my-second-domain-tld.pem ssl/cert.pem
  27. -cp ssl/key-my-second-domain-tld.pem ssl/key.pem
  28. -cp ssl/dhparams-my-second-domain-tld.pem ssl/dhparams.pem
  29. -# -eof-
  30. +#!/bin/sh -e
  31. +cp "${srcdir}"/ssl/cert-my-second-domain-tld.pem ssl/cert.pem
  32. +cp "${srcdir}"/ssl/key-my-second-domain-tld.pem ssl/key.pem
  33. +cp "${srcdir}"/ssl/dhparams-my-second-domain-tld.pem ssl/dhparams.pem