Просмотр исходного кода

Update comments

1. libtab is now bundled, so suggest to enable it rather than install it
2. "parse-ini" feature has been called "extra-opts"
Thomas Guyot-Sionnest 12 лет назад
Родитель
Сommit
1657daf52a

+ 1 - 1
lib/tests/test_base64.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_base64") {
-	plan skip_all => "./test_base64 not compiled - please install tap library to test";
+	plan skip_all => "./test_base64 not compiled - please enable libtap library to test";
 }
 exec "./test_base64";

+ 1 - 1
lib/tests/test_cmd.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_cmd") {
-	plan skip_all => "./test_cmd not compiled - please install tap library to test";
+	plan skip_all => "./test_cmd not compiled - please enable libtap library to test";
 }
 exec "./test_cmd";

+ 1 - 1
lib/tests/test_disk.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_disk") {
-	plan skip_all => "./test_disk not compiled - please install tap library to test";
+	plan skip_all => "./test_disk not compiled - please enable libtap library to test";
 }
 exec "./test_disk";

+ 1 - 1
lib/tests/test_ini1.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_ini1") {
-	plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
+	plan skip_all => "./test_ini not compiled - please enable libtap library and/or extra-opts to test";
 }
 exec "./test_ini1";

+ 1 - 1
lib/tests/test_ini3.t

@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 if (! -e "./test_ini3") {
-	plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
+	plan skip_all => "./test_ini not compiled - please enable libtap library and/or extra-opts to test";
 }
 
 # array of argument arrays

+ 1 - 1
lib/tests/test_opts1.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_opts1") {
-	plan skip_all => "./test_opts1 not compiled - please install tap library and/or enable parse-ini to test";
+	plan skip_all => "./test_opts1 not compiled - please enable libtap library and/or extra-opts to test";
 }
 exec "./test_opts1";

+ 1 - 1
lib/tests/test_opts2.t

@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_opts2") {
-	plan skip_all => "./test_opts2 not compiled - please install tap library and/or enable parse-ini to test";
+	plan skip_all => "./test_opts2 not compiled - please enable libtap library and/or extra-opts to test";
 }
 $ENV{"NAGIOS_CONFIG_PATH"} = ".";
 exec "./test_opts2";

+ 1 - 1
lib/tests/test_opts3.t

@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 if (! -e "./test_opts3") {
-	plan skip_all => "./test_opts3 not compiled - please install tap library and/or enable parse-ini to test";
+	plan skip_all => "./test_opts3 not compiled - please enable libtap library and/or extra-opts to test";
 }
 
 # array of argument arrays

+ 1 - 1
lib/tests/test_tcp.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_tcp") {
-	plan skip_all => "./test_tcp not compiled - please install tap library to test";
+	plan skip_all => "./test_tcp not compiled - please enable libtap library to test";
 }
 exec "./test_tcp";

+ 1 - 1
lib/tests/test_utils.t

@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use Test::More;
 if (! -e "./test_utils") {
-	plan skip_all => "./test_utils not compiled - please install tap library to test";
+	plan skip_all => "./test_utils not compiled - please enable libtap library to test";
 }
 exec "./test_utils";