[Bps-public-commit] Prophet branch, master, updated. c283d43c20650cbbf3b09eabe22ac46f04179a2a

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jul 21 05:23:07 EDT 2009


The branch, master has been updated
       via  c283d43c20650cbbf3b09eabe22ac46f04179a2a (commit)
      from  5a87609c1afc3a11aebeb0b664817a7963890b61 (commit)

Summary of changes:
 t/malformed-url.t |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

- Log -----------------------------------------------------------------
commit c283d43c20650cbbf3b09eabe22ac46f04179a2a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jul 21 14:05:14 2009 +0800

    remove obsolete test because sqlite is not default replic type any more, prophet is

diff --git a/t/malformed-url.t b/t/malformed-url.t
index 5e4f04c..212b729 100644
--- a/t/malformed-url.t
+++ b/t/malformed-url.t
@@ -1,7 +1,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 6;
+use Test::More tests => 5;
 use File::Temp qw(tempdir);
 use Test::Script::Run qw(run_script);
 
@@ -25,16 +25,6 @@ Correct syntax is (sqlite:)file:///replica/root .
 EOM
 , 'sqlite:foo errors out' );
 
-# sqlite is default replica type
-$ENV{'PROPHET_REPO'} = tempdir( CLEANUP => ! $ENV{PROPHET_DEBUG}  ) . '/repo-' . $$;
-(undef, undef, $error)
-    = run_script( 'prophet', ['clone', '--from', 'file:foo'] );
-is( $error, <<EOM
-I couldn't determine a filesystem root from the given URL.
-Correct syntax is (sqlite:)file:///replica/root .
-EOM
-, 'file:foo errors out' );
-
 $ENV{'PROPHET_REPO'} = tempdir( CLEANUP => ! $ENV{PROPHET_DEBUG}  ) . '/repo-' . $$;
 (undef, undef, $error)
     = run_script( 'prophet', ['clone', '--from', 'sqlite://file://foo'] );

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list