From b83904c528d98a6eaed570cf82e0595107bab53e Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Tue, 17 Sep 2013 11:34:06 +0200 Subject: check_by_ssh: tests expand key and config path some systems do not expand the path automatically. diff --git a/plugins/t/check_by_ssh.t b/plugins/t/check_by_ssh.t index 8d1b190..4797390 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++) { -- cgit v0.10-9-g596f