chiark / gitweb /
New policy: Only use test_expect_failure for broken tests
[stgit] / t / t2000-sync.sh
index f831df78fb59a9576f9d8cc5f19e438a1b314a1a..484dbabb75702d2c38ca0b73e84c0a1f3d9930a4 100755 (executable)
@@ -106,10 +106,10 @@ test_expect_success \
     test $(cat bar2.txt) = "bar2"
     '
 
-test_expect_failure \
+test_expect_success \
     'Synchronise the first two patches with the master branch (to fail)' \
     '
-    stg sync -B master -a
+    stg sync -B master -a
     '
 
 test_expect_success \
@@ -124,10 +124,10 @@ test_expect_success \
     [ "$(echo $(stg unapplied))" = "" ]
     '
 
-test_expect_failure \
+test_expect_success \
     'Synchronise the third patch with the exported series (to fail)' \
     '
-    stg sync -s patches-master/series p3
+    stg sync -s patches-master/series p3
     '
 
 test_expect_success \