Title: [opsview] [11354] Fix tests due to rename of monitor pack directory
Revision
11354
Author
tvoon
Date
2013-02-05 16:59:38 +0000 (Tue, 05 Feb 2013)

Log Message

Fix tests due to rename of monitor pack directory

Modified Paths


Added Paths

  • trunk/opsview-web/t/var/monitorpack.expected/monitorpack-creation/
  • trunk/opsview-web/t/var/monitorpack.expected/network-base/

Removed Paths

  • trunk/opsview-web/t/var/monitorpack.expected/monitorpack_creation/
  • trunk/opsview-web/t/var/monitorpack.expected/network_base/
Modified: trunk/opsview-web/t/890monitorpacks.t
===================================================================
--- trunk/opsview-web/t/890monitorpacks.t	2013-02-05 16:52:49 UTC (rev 11353)
+++ trunk/opsview-web/t/890monitorpacks.t	2013-02-05 16:59:38 UTC (rev 11354)
@@ -37,7 +37,7 @@
   || diag join( "\n", @full_output );
 
 @diff =
-  `diff --exclude=.svn -wiur $Bin/var/monitorpack.expected/monitorpack_creation $tempdir/monitorpack_creation`;
+  `diff --exclude=.svn -wiur $Bin/var/monitorpack.expected/monitorpack-creation $tempdir/monitorpack-creation`;
 is( $?, 0, "No difference - as expected" ) || diag @diff;
 
 # Test Network - Base. Also tests recreation
@@ -50,11 +50,11 @@
   || diag join( "\n", @full_output );
 
 @diff =
-  `diff --exclude=.svn -ur $Bin/var/monitorpack.expected/network_base $tempdir/network_base`;
+  `diff --exclude=.svn -ur $Bin/var/monitorpack.expected/network-base $tempdir/network-base`;
 is( $?, 0, "No difference - as expected" ) || diag @diff;
 
 # Add a plugin
-chdir( "network_base" );
+chdir( "network-base" );
 open F, ">", "plugins/check_dummy_plugin" or die "Cannot create: $!";
 print F <<'EOF';
 #!/usr/bin/perl

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to