Przeglądaj źródła

Fix paths in test_ini tests

Thomas Guyot-Sionnest 17 lat temu
rodzic
commit
1b1dc7a48b
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 2 2
      lib/tests/test_ini1.t
  2. 2 2
      lib/tests/test_ini3.t

+ 2 - 2
lib/tests/test_ini1.t

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

+ 2 - 2
lib/tests/test_ini3.t

@@ -3,7 +3,7 @@ use Test::More;
 use strict;
 use warnings;
 
-if (! -e "./test_ini") {
+if (! -e "./test_ini3") {
 	plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
 }
 
@@ -28,7 +28,7 @@ foreach my $args (@TESTS) {
 	} else {
 		delete($ENV{"NAGIOS_CONFIG_PATH"});
 	}
-	system {'./test_ini2'} @$args;
+	system {'./test_ini3'} @$args;
 	cmp_ok($?>>8, '==', $rc, "Parse-ini die " . $count++);
 }