[Bps-public-commit] r16819 - in Shipwright/trunk: t

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Nov 12 11:39:09 EST 2008


Author: sunnavy
Date: Wed Nov 12 11:39:06 2008
New Revision: 16819

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/t/05.util.t

Log:
 r17710 at sunnavys-mb:  sunnavy | 2008-11-12 22:38:59 +0800
 tiny improve


Modified: Shipwright/trunk/t/05.util.t
==============================================================================
--- Shipwright/trunk/t/05.util.t	(original)
+++ Shipwright/trunk/t/05.util.t	Wed Nov 12 11:39:06 2008
@@ -44,7 +44,11 @@
 like( $@, qr/something wrong/i, 'run "ls lalala" results in death' );
 
 ( undef, $err ) = Shipwright::Util->run( [ 'ls', 'lalala' ], 1 );
-like( $err, qr/ls:/i, "run 'ls lalala' get warning if ignore_failure" );
+like(
+    $err,
+    qr/ls:|no such file/i,
+    "run 'ls lalala' get warning if ignore_failure"
+);
 
 my $hashref = { foo => 'bar' };
 my $string = <<EOF;



More information about the Bps-public-commit mailing list