2222.  $( dirname $0 ) 
2323# -------------------------------------------------------------------------------
2424check_svn_version
25- [[ $SVN_MINOR_VERSION  ==  " 1.10" &&  skip_all " Tests not working with svn 1.10" 
2625tests 18
2726# -------------------------------------------------------------------------------
2827setup
@@ -33,7 +32,7 @@ init_branch_wc ren_ren $REPOS_URL
3332export  FCM_GRAPHIC_MERGE=fcm-dummy-diff
3433cd  $TEST_DIR /wc
3534# -------------------------------------------------------------------------------
36- #  Tests fcm conflicts: rename, rename,  diff rename, discard local
35+ #  Tests fcm conflicts: rename, diff rename, discard local
3736TEST_KEY=$TEST_KEY_BASE -discard
3837svn switch -q $ROOT_URL /branches/dev/Share/ctrl
3938svn rename -q pro/hello.pro pro/hello.pro.renamed-local
@@ -54,7 +53,7 @@ fcm merge --non-interactive $ROOT_URL/branches/dev/Share/ren_ren >/dev/null
5453run_pass " $TEST_KEY " << __IN__ 
5554n 
5655__IN__ 
57- file_cmp  " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
56+ file_cmp_filtered  " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
5857[info] pro/hello.pro: in tree conflict. 
5958Locally: renamed to pro/hello.pro.renamed-local. 
6059Externally: renamed to pro/hello.pro.renamed-merge. 
@@ -70,11 +69,12 @@ Enter "y" or "n" (or just press <return> for "n") diff3 pro/hello.pro.renamed-me
70693:3c 
7170  Merge contents (1) 
7271D         pro/hello.pro.renamed-local 
73- Resolved conflicted state of 'pro/hello.pro' 
72+ #IF SVN1.8/9 Resolved conflicted state of 'pro/hello.pro' 
73+ #IF SVN1.10 Tree conflict at 'pro/hello.pro' marked as resolved. 
7474__OUT__ 
7575file_cmp " $TEST_KEY .err" " $TEST_KEY .err" < /dev/null
7676# -------------------------------------------------------------------------------
77- #  Tests fcm conflicts: rename, rename,  diff rename, discard local (status)
77+ #  Tests fcm conflicts: rename, diff rename, discard local (status)
7878TEST_KEY=$TEST_KEY_BASE -discard-status
7979run_pass " $TEST_KEY " $TEST_DIR /.subversion/
8080file_cmp " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
@@ -84,7 +84,7 @@ A  +    pro/hello.pro.renamed-merge
8484__OUT__ 
8585file_cmp " $TEST_KEY .err" " $TEST_KEY .err" < /dev/null
8686# -------------------------------------------------------------------------------
87- #  Tests fcm conflicts: rename, rename,  diff rename, discard local (cat)
87+ #  Tests fcm conflicts: rename, diff rename, discard local (cat)
8888TEST_KEY=$TEST_KEY_BASE -discard-cat
8989run_pass " $TEST_KEY " 
9090file_cmp " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
@@ -100,13 +100,13 @@ mkdir $TEST_DIR/wc
100100svn checkout -q $ROOT_URL /branches/dev/Share/ctrl $TEST_DIR /wc
101101cd  $TEST_DIR /wc
102102# -------------------------------------------------------------------------------
103- #  Tests fcm conflicts: rename, rename,  diff rename, keep local
103+ #  Tests fcm conflicts: rename, diff rename, keep local
104104TEST_KEY=$TEST_KEY_BASE -keep
105105fcm merge --non-interactive $ROOT_URL /branches/dev/Share/ren_ren > /dev/null
106106run_pass " $TEST_KEY " << __IN__ 
107107y 
108108__IN__ 
109- file_cmp  " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
109+ file_cmp_filtered  " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
110110[info] pro/hello.pro: in tree conflict. 
111111Locally: renamed to pro/hello.pro.renamed-local. 
112112Externally: renamed to pro/hello.pro.renamed-merge. 
@@ -122,19 +122,20 @@ Enter "y" or "n" (or just press <return> for "n") diff3 pro/hello.pro.renamed-lo
1221223:3c 
123123  Merge contents (1) 
124124Reverted 'pro/hello.pro.renamed-merge' 
125- Resolved conflicted state of 'pro/hello.pro' 
125+ #IF SVN1.8/9 Resolved conflicted state of 'pro/hello.pro' 
126+ #IF SVN1.10 Tree conflict at 'pro/hello.pro' marked as resolved. 
126127__OUT__ 
127128file_cmp " $TEST_KEY .err" " $TEST_KEY .err" < /dev/null
128129# -------------------------------------------------------------------------------
129- #  Tests fcm conflicts: rename, rename,  diff rename, keep local (status)
130+ #  Tests fcm conflicts: rename, diff rename, keep local (status)
130131TEST_KEY=$TEST_KEY_BASE -keep-status
131132run_pass " $TEST_KEY " $TEST_DIR /.subversion/
132133file_cmp " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
133134 M      . 
134135__OUT__ 
135136file_cmp " $TEST_KEY .err" " $TEST_KEY .err" < /dev/null
136137# -------------------------------------------------------------------------------
137- #  Tests fcm conflicts: rename, rename,  diff rename, keep local (cat)
138+ #  Tests fcm conflicts: rename, diff rename, keep local (cat)
138139TEST_KEY=$TEST_KEY_BASE -keep-cat
139140run_pass " $TEST_KEY " 
140141file_cmp " $TEST_KEY .out" " $TEST_KEY .out" << __OUT__ 
0 commit comments