chiark / gitweb /
Fix "stg resolved" to work with new conflict representation
[stgit] / t / t0002-status.sh
index 32c01d020ffebe00db2666e610bf20d02e5a2487..9a5a285cf46771c963f0667ad12aad6d4bea40ab 100755 (executable)
@@ -144,7 +144,7 @@ cat > expected.txt <<EOF
 A fie
 M foo/bar
 EOF
-test_expect_failure 'Status after resolving the push' '
+test_expect_success 'Status after resolving the push' '
     stg resolved -a &&
     stg status > output.txt &&
     diff -u expected.txt output.txt
@@ -154,7 +154,7 @@ cat > expected.txt <<EOF
 A fie
 D foo/bar
 EOF
-test_expect_failure 'Status after deleting a file' '
+test_expect_success 'Status after deleting a file' '
     rm foo/bar &&
     stg status > output.txt &&
     diff -u expected.txt output.txt
@@ -163,7 +163,7 @@ test_expect_failure 'Status after deleting a file' '
 cat > expected.txt <<EOF
 D foo/bar
 EOF
-test_expect_failure 'Status of disappeared newborn' '
+test_expect_success 'Status of disappeared newborn' '
     stg refresh &&
     touch foo/bar &&
     stg add foo/bar &&