chiark / gitweb /
New policy: Only use test_expect_failure for broken tests
[stgit] / t / t1000-branch-create.sh
index e920e934e241df0e2f3e2f714aaf14becfab7120..848686c40bfe66768a80974d9cf51b861ce93644 100755 (executable)
@@ -18,9 +18,9 @@ test_expect_success \
     mkdir -p .git/patches && touch .git/patches/foo
 '
 
-test_expect_failure \
+test_expect_success \
     'Try to create an stgit branch with a spurious patches/ entry' '
-    stg branch -c foo
+    stg branch -c foo
 '
 
 test_expect_success \
@@ -35,9 +35,9 @@ test_expect_success \
     cp .git/refs/heads/master .git/refs/heads/foo
 '
 
-test_expect_failure \
+test_expect_success \
     'Try to create an stgit branch with an existing git branch by that name' '
-    stg branch -c foo
+    stg branch -c foo
 '
 
 test_expect_success \