[Bps-public-commit] r13954 - in sd/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Thu Jul 10 14:34:40 EDT 2008
Author: sartak
Date: Thu Jul 10 14:34:39 2008
New Revision: 13954
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/Test.pm
Log:
r64058 at onn: sartak | 2008-07-10 14:34:29 -0400
Use --batch when translating between luid and guid
Modified: sd/trunk/lib/App/SD/Test.pm
==============================================================================
--- sd/trunk/lib/App/SD/Test.pm (original)
+++ sd/trunk/lib/App/SD/Test.pm Thu Jul 10 14:34:39 2008
@@ -33,7 +33,7 @@
sub get_uuid_for_luid {
my $luid = shift;
- my ($ok, $out, $err) = Prophet::Test::run_script( 'sd', [ 'ticket', 'show', '--id', $luid ]);
+ my ($ok, $out, $err) = Prophet::Test::run_script( 'sd', [ 'ticket', 'show', '--batch', '--id', $luid ]);
if ($out =~ /^id: \d+ \((.*)\)/) {
return $1;
}
@@ -43,7 +43,7 @@
sub get_luid_for_uuid {
my $uuid = shift;
- my ($ok, $out, $err) = Prophet::Test::run_script( 'sd', [ 'ticket', 'show', '--id', $uuid ]);
+ my ($ok, $out, $err) = Prophet::Test::run_script( 'sd', [ 'ticket', 'show', '--batch', '--id', $uuid ]);
if ($out =~ /^id: (\d+)/) {
return $1;
}
More information about the Bps-public-commit
mailing list