Fix the t1201-pull-trailing.sh test
authorCatalin Marinas <catalin.marinas@gmail.com>
Sun, 11 Jun 2006 12:05:02 +0000 (13:05 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sun, 11 Jun 2006 12:05:02 +0000 (13:05 +0100)
The test was expecting a failure but StGIT actually does a three-way merge
that succeeds.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
t/t1201-pull-trailing.sh

index e5fac88..42c6619 100755 (executable)
@@ -40,7 +40,7 @@ test_expect_success \
      )
 "
 
-test_expect_failure \
+test_expect_success \
     'Try to push those patches without merge detection' \
     "(cd bar && stg push --all
      )
@@ -48,7 +48,7 @@ test_expect_failure \
 
 test_expect_success \
     'Pull those patches applied upstream' \
-    "(cd bar && stg push --all --merged
+    "(cd bar && stg push --undo && stg push --all --merged
      )
 "