aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-06 11:28:34 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-09 15:18:37 +0100
commitbcad0f761f39e4f9709611f6c2ab9674ea023613 (patch)
tree28df80f196d5d8a5227c177c3fbec8363c6f622c
parent5a919312b3c384357815a6688b325d60c7886b1a (diff)
downloadstrongswan-bcad0f761f39e4f9709611f6c2ab9674ea023613.tar.bz2
strongswan-bcad0f761f39e4f9709611f6c2ab9674ea023613.tar.xz
testing: Report the actual strongSwan and kernel versions
-rwxr-xr-xtesting/do-tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/do-tests b/testing/do-tests
index f9be8a1b4..b5a12a270 100755
--- a/testing/do-tests
+++ b/testing/do-tests
@@ -105,6 +105,12 @@ do
do_on_exit kill `eval echo \\\$ssh_pid_$host`
done
+##############################################################################
+# determine actual software versions
+#
+
+[ -f $SHAREDDIR/.strongswan-version ] && SWANVERSION=`cat $SHAREDDIR/.strongswan-version`
+KERNELVERSION=`ssh $SSHCONF root@\$ipv4_winnetou uname -r 2>/dev/null`
##############################################################################
# create header for the results html file