diff options
Diffstat (limited to 'tests/stunnel.pm')
-rw-r--r-- | tests/stunnel.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/stunnel.pm b/tests/stunnel.pm new file mode 100644 index 000000000..d1b9d9fd9 --- /dev/null +++ b/tests/stunnel.pm @@ -0,0 +1,11 @@ +sub checkstunnel { + my @paths=("/usr/sbin", "/usr/local/sbin", "/sbin", "/usr/bin", + "/usr/local/bin"); + for(@paths) { + if( -x "$_/stunnel") { + return "$_/stunnel"; + } + } +} + +1; |