[svk-commit] r2647 - branches/bm/t/bm

nobody at bestpractical.com nobody at bestpractical.com
Tue Dec 18 08:43:24 EST 2007


Author: clkao
Date: Tue Dec 18 08:43:24 2007
New Revision: 2647

Modified:
   branches/bm/t/bm/prop-multiproject.t

Log:
revise the test to show the problem of project meta-data
overriding excessively guessed project layout.


Modified: branches/bm/t/bm/prop-multiproject.t
==============================================================================
--- branches/bm/t/bm/prop-multiproject.t	(original)
+++ branches/bm/t/bm/prop-multiproject.t	Tue Dec 18 08:43:24 2007
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 use SVK::Test;
-plan tests => 4;
+plan tests => 3;
 our $output;
 
 my ($xd, $svk) = build_test('test');
@@ -43,21 +43,6 @@
     $proppath->{tags}, "//");
 is_output ($svk, 'propget', ['svk:project:projectA:path-trunk', '//'], [$proppath->{trunk}]);
 
-# set prop for project B
-$proppath = { 'trunk' => 'projectB/trunk', 
-    'branches' => 'projectB/branches',
-    'tags' => 'projectB/tags',
-    'hooks' => 'projectB/hooks',
-};
-
-$svk->propset('-m', "- projectB trunk path set", 'svk:project:projectB:path-trunk',
-    $proppath->{trunk}, "//"); 
-$svk->propset('-m', "- projectB branches path set", 'svk:project:projectB:path-branches',
-    $proppath->{branches}, "//");
-$svk->propset('-m', "- projectB tags path set", 'svk:project:projectB:path-tags',
-    $proppath->{tags}, "//");
-is_output ($svk, 'propget', ['svk:project:projectB:path-trunk', '//'], [$proppath->{trunk}]);
-
 $svk->checkout('//mirror/twoProject/projectB', $copath); # checkout project B
 
 chdir($copath);


More information about the svk-commit mailing list