[xen-tools-dev] [PATCH] Print file

Stéphane Jourdois sjourdois at gmail.com
Sun Jul 11 15:38:57 CEST 2010


Helps debugging when this test fails
---
 t/quoted-strings.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/quoted-strings.t b/t/quoted-strings.t
index b137497..0e82d50 100755
--- a/t/quoted-strings.t
+++ b/t/quoted-strings.t
@@ -71,7 +71,7 @@ sub checkFile
         next if ( $line =~ /grep|sed|echo|awk|find|policy-rc.d|chroot|logMessage/ );
         if ( $line =~ /\$/ )
         {
-            ok( $line !~ /\'/, "Non-masked line '$line'" );
+            ok( $line !~ /\'/, "Non-masked line '$line' in '$file'" );
         }
     }
     close( FILE );
-- 
1.5.6.5



More information about the xen-tools-dev mailing list