diff options
author | Junio C Hamano <junkio@cox.net> | 2007-04-07 01:30:43 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-07 01:30:43 -0700 |
commit | ced38ea252cb8b0315f4d2a54648b11c6c090657 (patch) | |
tree | 0c398a6bf408bb47fafc65c918b24b1bafeed7b1 /t | |
parent | 77e6f5bc1009aa588a3b2235758bf5be13b23d85 (diff) | |
parent | d79073922fcb8c8a0bd57112817a2154f1ed05c1 (diff) | |
download | git-ced38ea252cb8b0315f4d2a54648b11c6c090657.tar.gz git-ced38ea252cb8b0315f4d2a54648b11c6c090657.tar.xz |
Merge branch 'maint'
* maint:
Documentation: tighten dependency for git.{html,txt}
Makefile: iconv() on Darwin has the old interface
t5300-pack-object.sh: portability issue using /usr/bin/stat
t3200-branch.sh: small language nit
usermanual.txt: some capitalization nits
Make builtin-branch.c handle the git config file
rename_ref(): only print a warning when config-file update fails
Distinguish branches by more than case in tests.
Avoid composing too long "References" header.
cvsimport: Improve formating consistency
cvsimport: Reorder options in documentation for better understanding
cvsimport: Improve usage error reporting
cvsimport: Improve documentation of CVSROOT and CVS module determination
cvsimport: sync usage lines with existing options
Conflicts:
Documentation/Makefile
Diffstat (limited to 't')
-rwxr-xr-x | t/t3200-branch.sh | 8 | ||||
-rwxr-xr-x | t/t5300-pack-object.sh | 11 |
2 files changed, 10 insertions, 9 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index ce2c5f41f..828d553a4 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -11,7 +11,7 @@ handled. Specifically, that a bogus branch is not created. . ./test-lib.sh test_expect_success \ - 'prepare an trivial repository' \ + 'prepare a trivial repository' \ 'echo Hello > A && git-update-index --add A && git-commit -m "Initial commit." && @@ -85,9 +85,9 @@ test_expect_failure \ mv .git/config .git/config-saved -test_expect_success 'git branch -m q Q without config should succeed' ' - git-branch -m q Q && - git-branch -m Q q +test_expect_success 'git branch -m q q2 without config should succeed' ' + git-branch -m q q2 && + git-branch -m q2 q ' mv .git/config-saved .git/config diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 35e036a86..083095f7f 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -123,11 +123,12 @@ test_expect_success \ done' cd "$TRASH" -test_expect_success \ - 'compare delta flavors' \ - 'size_2=`stat -c "%s" test-2-${packname_2}.pack` && - size_3=`stat -c "%s" test-3-${packname_3}.pack` && - test $size_2 -gt $size_3' +test_expect_success 'compare delta flavors' ' + perl -e '\'' + defined($_ = -s $_) or die for @ARGV; + exit 1 if $ARGV[0] <= $ARGV[1]; + '\'' test-2-$packname_2.pack test-3-$packname_3.pack +' rm -fr .git2 mkdir .git2 |