[Bps-public-commit] r13953 - in sd/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 10 14:13:40 EDT 2008


Author: sartak
Date: Thu Jul 10 14:13:40 2008
New Revision: 13953

Modified:
   sd/trunk/   (props changed)
   sd/trunk/t/sd-attachments.t
   sd/trunk/t/sd-comments.t
   sd/trunk/t/sd-hm.t

Log:
 r64056 at onn:  sartak | 2008-07-10 14:13:34 -0400
 Use --batch in the test scripts. t/sd-rt-hm.t is currently failing in more interesting ways


Modified: sd/trunk/t/sd-attachments.t
==============================================================================
--- sd/trunk/t/sd-attachments.t	(original)
+++ sd/trunk/t/sd-attachments.t	Thu Jul 10 14:13:40 2008
@@ -27,7 +27,7 @@
 run_output_matches('sd', [qw/ticket attachment list --uuid/, $yatta_uuid], [qr/\d+ paper_order.doc text\/plain/,], [], "Found the attachment");
 run_output_matches(
     'sd',
-    [ qw/ticket attachment show --id/, $attachment_id ],
+    [ qw/ticket attachment show --batch --id/, $attachment_id ],
     [ 
     
         qr/id: $attachment_id \($attachment_uuid\)/, 
@@ -50,7 +50,7 @@
 );
 run_output_matches(
     'sd',
-    [ qw/ticket attachment show --uuid/, $attachment_uuid ],
+    [ qw/ticket attachment show --batch --uuid/, $attachment_uuid ],
     [  
         qr/id: (\d+) \($attachment_uuid\)/, 
         "content_type: text/plain",

Modified: sd/trunk/t/sd-comments.t
==============================================================================
--- sd/trunk/t/sd-comments.t	(original)
+++ sd/trunk/t/sd-comments.t	Thu Jul 10 14:13:40 2008
@@ -32,7 +32,7 @@
 
 run_output_matches(
     'sd',
-    [ qw/ticket comment show --uuid/, $comment_uuid ],
+    [ qw/ticket comment show --batch --uuid/, $comment_uuid ],
     [   qr/id: (\d+) \($comment_uuid\)/,
         qr/date: /i,
         qr/This is a test/,
@@ -52,7 +52,7 @@
 );
 run_output_matches(
     'sd',
-    [ qw/ticket comment show --uuid/, $comment_uuid ],
+    [ qw/ticket comment show --batch --uuid/, $comment_uuid ],
     [ qr/id: (\d+) \($comment_uuid\)/, 
         qr/date: /i,
     qr/I hate you/, "ticket: $yatta_uuid" ],

Modified: sd/trunk/t/sd-hm.t
==============================================================================
--- sd/trunk/t/sd-hm.t	(original)
+++ sd/trunk/t/sd-hm.t	Thu Jul 10 14:13:40 2008
@@ -55,7 +55,7 @@
 run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man (no status)"] );
 
 
-( $ret, $out, $err ) = run_script( 'sd', [ 'ticket', 'show', '--id', $flyman_uuid ] );
+( $ret, $out, $err ) = run_script( 'sd', [ 'ticket', 'show', '--batch', '--id', $flyman_uuid ] );
 if ($out =~ /^id: (\d+) /) {
     $flyman_id = $1;
 }



More information about the Bps-public-commit mailing list