diff options
author | Sven Nierlein <Sven.Nierlein@consol.de> | 2013-09-17 11:34:06 +0200 |
---|---|---|
committer | Sven Nierlein <sven@consol.de> | 2013-09-17 11:34:06 +0200 |
commit | b83904c528d98a6eaed570cf82e0595107bab53e (patch) | |
tree | 58b2e75e8f22107ec783bcd7e2a389e40ff1b6cd /plugins/t | |
parent | ddff48fb2525c507bc0b457bb0832079b173fade (diff) | |
download | monitoring-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.t | 4 |
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) { my $result; +# expand paths +$ssh_key = glob($ssh_key) if $ssh_key; +$ssh_conf = glob($ssh_conf) if $ssh_conf; + ## Single active checks for (my $i=0; $i<4; $i++) { |