summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-09-17 11:34:06 +0200
committerSven Nierlein <sven@consol.de>2013-09-17 11:34:06 +0200
commitb83904c528d98a6eaed570cf82e0595107bab53e (patch)
tree58b2e75e8f22107ec783bcd7e2a389e40ff1b6cd /plugins/t
parentddff48fb2525c507bc0b457bb0832079b173fade (diff)
downloadmonitoring-plugins-b83904c528d98a6eaed570cf82e0595107bab53e.tar.gz
check_by_ssh: tests expand key and config path
some systems do not expand the path automatically.
Diffstat (limited to 'plugins/t')
-rw-r--r--plugins/t/check_by_ssh.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/t/check_by_ssh.t b/plugins/t/check_by_ssh.t
index 8d1b1904..4797390d 100644
--- a/plugins/t/check_by_ssh.t
+++ b/plugins/t/check_by_ssh.t
@@ -44,6 +44,10 @@ for (@responce) {
44 44
45my $result; 45my $result;
46 46
47# expand paths
48$ssh_key = glob($ssh_key) if $ssh_key;
49$ssh_conf = glob($ssh_conf) if $ssh_conf;
50
47## Single active checks 51## Single active checks
48 52
49for (my $i=0; $i<4; $i++) { 53for (my $i=0; $i<4; $i++) {