aboutsummaryrefslogtreecommitdiffstats
path: root/testing/stop-testing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-07-21 15:02:20 +0200
committerTobias Brunner <tobias@strongswan.org>2016-08-29 18:11:42 +0200
commit7a8985b5752e8d19d2b83b7a7641698a7ecadb49 (patch)
tree01fb50c9df619626403dc2bab8575edf6683b2cd /testing/stop-testing
parentcf6042453f2e36ec45d2cfa127e232d367178204 (diff)
downloadstrongswan-7a8985b5752e8d19d2b83b7a7641698a7ecadb49.tar.bz2
strongswan-7a8985b5752e8d19d2b83b7a7641698a7ecadb49.tar.xz
testing: Create a symlink to the testresults under a known path when starting the environment
Diffstat (limited to 'testing/stop-testing')
-rwxr-xr-xtesting/stop-testing4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/stop-testing b/testing/stop-testing
index 704ae6667..8abf5f223 100755
--- a/testing/stop-testing
+++ b/testing/stop-testing
@@ -9,6 +9,7 @@ echo "Stopping test environment"
NETWORKS="vnet1 vnet2 vnet3"
KNLTARGET=/var/run/kvm-swan-kernel
HOSTFSTARGET=/var/run/kvm-swan-hostfs
+TESTRESULTSTARGET=/var/run/kvm-swan-testresults
[ `id -u` -eq 0 ] || die "You must be root to run $0"
@@ -32,3 +33,6 @@ execute "rm $KNLTARGET"
log_action "Removing link to hostfs"
execute "rm $HOSTFSTARGET"
+
+log_action "Removing link to testresults"
+execute "rm $TESTRESULTSTARGET"