testing: Do not remove all swanctl subdirectories
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 11 Nov 2017 18:23:01 +0000 (19:23 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 11 Nov 2017 18:23:01 +0000 (19:23 +0100)
testing/tests/swanctl/ocsp-multi-level/posttest.dat

index 6c0a7f3..53013d0 100644 (file)
@@ -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/*