diff options
author | Nanako Shiraishi <nanako3@lavabit.com> | 2008-09-03 17:59:27 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-03 12:41:46 -0700 |
commit | 0cb0e143ffa7d66b7feea0a967b3ac9ae6cd62b0 (patch) | |
tree | a190ecd0ca6dae9a32895793ff6c4c0341c2a8c9 /t/t2200-add-update.sh | |
parent | 7e44c93558e7c0b12624d76cf07753d0480ed96a (diff) | |
download | git-0cb0e143ffa7d66b7feea0a967b3ac9ae6cd62b0.tar.gz |
tests: use "git xyzzy" form (t0000 - t3599)
Converts tests between t0050-t3903.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2200-add-update.sh')
-rwxr-xr-x | t/t2200-add-update.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/t2200-add-update.sh b/t/t2200-add-update.sh index f57a6e077c..cd9231cf61 100755 --- a/t/t2200-add-update.sh +++ b/t/t2200-add-update.sh @@ -26,7 +26,7 @@ test_expect_success setup ' echo initial >dir2/sub3 && git add check dir1 dir2 top foo && test_tick - git-commit -m initial && + git commit -m initial && echo changed >check && echo changed >top && @@ -40,20 +40,20 @@ test_expect_success update ' ' test_expect_success 'update noticed a removal' ' - test "$(git-ls-files dir1/sub1)" = "" + test "$(git ls-files dir1/sub1)" = "" ' test_expect_success 'update touched correct path' ' - test "$(git-diff-files --name-status dir2/sub3)" = "" + test "$(git diff-files --name-status dir2/sub3)" = "" ' test_expect_success 'update did not touch other tracked files' ' - test "$(git-diff-files --name-status check)" = "M check" && - test "$(git-diff-files --name-status top)" = "M top" + test "$(git diff-files --name-status check)" = "M check" && + test "$(git diff-files --name-status top)" = "M top" ' test_expect_success 'update did not touch untracked files' ' - test "$(git-ls-files dir2/other)" = "" + test "$(git ls-files dir2/other)" = "" ' test_expect_success 'cache tree has not been corrupted' ' |