mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 09:10:08 -04:00
Try tests with perls system instead of exec
This commit is contained in:
parent
58bbf9f5af
commit
ba7ba8b1a5
3 changed files with 4 additions and 3 deletions
|
|
@ -6,4 +6,4 @@ use Test::More;
|
|||
if (! -e "./tests/test_check_disk") {
|
||||
plan skip_all => "./test_check_disk not compiled - please enable libtap library to test";
|
||||
}
|
||||
exec "./tests/test_check_disk";
|
||||
system("./tests/test_check_disk");
|
||||
|
|
|
|||
|
|
@ -279,4 +279,5 @@ like($res->output, '/.*4.20.* | iso.3.6.1.4.1.8072.3.2.67.19=4.20+;1/', "Test mu
|
|||
if (! -e "./tests/test_check_snmp") {
|
||||
plan skip_all => "./test_check_snmp not compiled - please enable libtap library to test";
|
||||
}
|
||||
exec "./tests/test_check_snmp";
|
||||
|
||||
system("./tests/test_check_snmp");
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ use Test::More;
|
|||
if (! -e "./tests/test_check_swap") {
|
||||
plan skip_all => "./test_check_swap not compiled - please enable libtap library to test";
|
||||
}
|
||||
exec "./tests/test_check_swap";
|
||||
system("./tests/test_check_swap");
|
||||
|
|
|
|||
Loading…
Reference in a new issue