aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-11-11 19:23:01 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-11-11 19:23:01 +0100
commit859cb93d2859674a210f3030a0ddadd24498ae93 (patch)
tree766c73ac28986307ed933e4401c0fc91b6a90a68 /testing/tests
parentb20bf062e87abf262818c8c8263a7f286a094427 (diff)
downloadstrongswan-859cb93d2859674a210f3030a0ddadd24498ae93.tar.bz2
strongswan-859cb93d2859674a210f3030a0ddadd24498ae93.tar.xz
testing: Do not remove all swanctl subdirectories
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/swanctl/ocsp-multi-level/posttest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/swanctl/ocsp-multi-level/posttest.dat b/testing/tests/swanctl/ocsp-multi-level/posttest.dat
index 6c0a7f3a5..53013d08d 100644
--- a/testing/tests/swanctl/ocsp-multi-level/posttest.dat
+++ b/testing/tests/swanctl/ocsp-multi-level/posttest.dat
@@ -3,6 +3,6 @@ dave::swanctl --terminate --ike home 2> /dev/null
carol::systemctl stop strongswan-swanctl
dave::systemctl stop strongswan-swanctl
moon::systemctl stop strongswan-swanctl
-carol::rm -r /etc/swanctl
-dave::rm -r /etc/swanctl
-moon::rm -r /etc/swanctl
+carol::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
+dave::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
+moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*