summaryrefslogtreecommitdiff
path: root/t/t2201-add-update-typechange.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-30 17:30:08 -0700
committerJunio C Hamano <gitster@pobox.com>2008-03-30 22:22:09 -0700
commitf58dbf23c33e0e79622f4344b48ab5bc9bc360cc (patch)
tree740a6dcd7e940f3f43e921736677b27b17ef88de /t/t2201-add-update-typechange.sh
parent948dd346fd6748f8c2c0ae488759cbbd05a09320 (diff)
downloadgit-f58dbf23c33e0e79622f4344b48ab5bc9bc360cc.tar.gz
diff-files: careful when inspecting work tree items
This fixes the same breakage in diff-files. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2201-add-update-typechange.sh')
-rwxr-xr-xt/t2201-add-update-typechange.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t2201-add-update-typechange.sh b/t/t2201-add-update-typechange.sh
index 469a8e0739..e15e3eb81b 100755
--- a/t/t2201-add-update-typechange.sh
+++ b/t/t2201-add-update-typechange.sh
@@ -104,7 +104,7 @@ test_expect_success modify '
} >expect-final
'
-test_expect_failure diff-files '
+test_expect_success diff-files '
git diff-files --raw >actual &&
diff -u expect-files actual
'
@@ -114,7 +114,7 @@ test_expect_success diff-index '
diff -u expect-index actual
'
-test_expect_failure 'add -u' '
+test_expect_success 'add -u' '
rm -f ".git/saved-index" &&
cp -p ".git/index" ".git/saved-index" &&
git add -u &&
@@ -122,7 +122,7 @@ test_expect_failure 'add -u' '
diff -u expect-final actual
'
-test_expect_failure 'commit -a' '
+test_expect_success 'commit -a' '
if test -f ".git/saved-index"
then
rm -f ".git/index" &&