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

sartak at bestpractical.com sartak at bestpractical.com
Mon Jul 14 14:47:49 EDT 2008


Author: sartak
Date: Mon Jul 14 14:47:48 2008
New Revision: 14083

Modified:
   sd/trunk/   (props changed)
   sd/trunk/t/sd-rt.t
   sd/trunk/t/sd-validation.t

Log:
 r64228 at onn:  sartak | 2008-07-14 14:47:41 -0400
 Test fixes, we're now back to all passing


Modified: sd/trunk/t/sd-rt.t
==============================================================================
--- sd/trunk/t/sd-rt.t	(original)
+++ sd/trunk/t/sd-rt.t	Mon Jul 14 14:47:48 2008
@@ -66,7 +66,7 @@
 
 run_output_matches(
     'sd',
-    [ 'ticket', 'create', '--summary', 'YATTA', '--status', 'new' ],
+    [ 'ticket', 'create', '--', '--summary', 'YATTA', '--status', 'new' ],
     [qr/Created ticket (\d+)(?{ $yatta_id = $1 })/]
 );
 

Modified: sd/trunk/t/sd-validation.t
==============================================================================
--- sd/trunk/t/sd-validation.t	(original)
+++ sd/trunk/t/sd-validation.t	Mon Jul 14 14:47:48 2008
@@ -22,7 +22,7 @@
 
 
 is_script_output( 'sd', [ 'ticket',  
-    'update', '--uuid', $yatta_uuid, '--status', 'super'
+    'update', '--uuid', $yatta_uuid, '--', '--status', 'super'
     ],
    [undef],  # stdout
     [qr/Validation error for 'status': 'super' is not a valid status/], # stderr
@@ -36,7 +36,7 @@
 
 
 is_script_output( 'sd', [ 'ticket',  
-    'update', '--uuid', $yatta_uuid, '--status', 'stalled'
+    'update', '--uuid', $yatta_uuid, '--', '--status', 'stalled'
     ],
    [qr/ticket $yatta_uuid updated./], # stdout
    [], # stderr
@@ -52,7 +52,7 @@
 
 my $sylar_uuid;
 is_script_output( 'sd', [ 'ticket',
-    'create', '--summary', 'Sylar!', '--status', 'evil' ],
+    'create', '--', '--summary', 'Sylar!', '--status', 'evil' ],
     [undef],
     [qr/Validation error for 'status': 'evil' is not a valid status/],
     "Sylar can't create an eeevil ticket"
@@ -65,7 +65,7 @@
 
 
 is_script_output( 'sd', [ 'ticket',  
-    'update', '--uuid', $yatta_uuid, '--status', ''
+    'update', '--uuid', $yatta_uuid, '--', '--status', ''
     ],
    [], # stdout
     [qr/Validation error for 'status': '' is not a valid status/], #stderr



More information about the Bps-public-commit mailing list