*** t0000-basic.sh *** * ok 1: .git/objects should be empty after git init in an empty repo. * ok 2: .git/objects should have 3 subdirectories. * ok 3: git update-index without --add should fail adding. * ok 4: git update-index with --add should succeed. * ok 5: writing tree out with git write-tree * ok 6: validate object ID of a known tree. * ok 7: git update-index without --remove should fail removing. * ok 8: git update-index with --remove should be able to remove. * ok 9: git write-tree should be able to write an empty tree. * ok 10: validate object ID of a known tree. * ok 11: adding various types of objects with git update-index --add. * ok 12: showing stage with git ls-files --stage * ok 13: validate git ls-files output for a known tree. * ok 14: writing tree out with git write-tree. * ok 15: validate object ID for a known tree. * ok 16: showing tree with git ls-tree * ok 17: git ls-tree output for a known tree. * ok 18: showing tree with git ls-tree -r * ok 19: git ls-tree -r output for a known tree. * ok 20: showing tree with git ls-tree -r -t * ok 21: git ls-tree -r output for a known tree. * ok 22: writing partial tree out with git write-tree --prefix. * ok 23: validate object ID for a known tree. * ok 24: writing partial tree out with git write-tree --prefix. * ok 25: validate object ID for a known tree. * ok 26: put invalid objects into the index. * ok 27: writing this tree without --missing-ok. * ok 28: writing this tree with --missing-ok. * ok 29: git read-tree followed by write-tree should be idempotent. * ok 30: validate git diff-files output for a know cache/work tree state. * ok 31: git update-index --refresh should succeed. * ok 32: no diff after checkout and git update-index --refresh. * ok 33: git commit-tree records the correct tree in a commit. * ok 34: git commit-tree records the correct parent in a commit. * ok 35: git commit-tree omits duplicated parent in a commit. * ok 36: update-index D/F conflict * ok 37: absolute path works as expected * passed all 37 test(s) *** t0010-racy-git.sh *** * ok 1: Racy GIT trial #0 part A * ok 2: Racy GIT trial #0 part B * ok 3: Racy GIT trial #1 part A * ok 4: Racy GIT trial #1 part B * ok 5: Racy GIT trial #2 part A * ok 6: Racy GIT trial #2 part B * ok 7: Racy GIT trial #3 part A * ok 8: Racy GIT trial #3 part B * ok 9: Racy GIT trial #4 part A * ok 10: Racy GIT trial #4 part B * passed all 10 test(s) *** t0020-crlf.sh *** * ok 1: setup * ok 2: update with autocrlf=input * ok 3: update with autocrlf=true * ok 4: checkout with autocrlf=true * ok 5: checkout with autocrlf=input * FAIL 6: apply patch (autocrlf=input) rm -f tmp one dir/two three && git repo-config core.autocrlf input && git read-tree --reset -u HEAD && git apply patch.file && test "$patched" = "`git hash-object --stdin actual && echo "RNUM sample elpmas" >expect && diff -u expect actual * failed 1 among 2 test(s) *** t0030-stripspace.sh *** * ok 1: long lines without spaces should be unchanged * ok 2: lines with spaces at the beginning should be unchanged * ok 3: lines with intermediate spaces should be unchanged * ok 4: consecutive blank lines should be unified * ok 5: only consecutive blank lines should be completely removed * ok 6: consecutive blank lines at the beginning should be removed * ok 7: consecutive blank lines at the end should be removed * ok 8: text without newline at end should end with newline * ok 9: text plus spaces without newline at end should end with newline * ok 10: text plus spaces without newline at end should not show spaces * ok 11: text plus spaces without newline should show the correct lines * ok 12: text plus spaces at end should not show spaces * ok 13: text plus spaces at end should be cleaned and newline must remain * ok 14: spaces with newline at end should be replaced with empty string * ok 15: spaces without newline at end should not show spaces * ok 16: spaces without newline at end should be replaced with empty string * ok 17: consecutive text lines should be unchanged * passed all 17 test(s) *** t1000-read-tree-m-3way.sh *** * ok 1: adding test file NN and Z/NN * ok 2: adding test file ND and Z/ND * ok 3: adding test file NM and Z/NM * ok 4: adding test file DN and Z/DN * ok 5: adding test file DD and Z/DD * ok 6: adding test file DM and Z/DM * ok 7: adding test file MN and Z/MN * ok 8: adding test file MD and Z/MD * ok 9: adding test file MM and Z/MM * ok 10: adding test file SS * ok 11: adding test file TT * ok 12: prepare initial tree * ok 13: change in branch A (removal) * ok 14: change in branch A (modification) * ok 15: change in branch A (modification) * ok 16: change in branch A (modification) * ok 17: change in branch A (modification) * ok 18: change in branch A (modification) * ok 19: change in branch A (modification) * ok 20: change in branch A (addition) * ok 21: change in branch A (addition) * ok 22: change in branch A (addition) * ok 23: change in branch A (addition) * ok 24: change in branch A (addition) * ok 25: change in branch A (edit) * ok 26: change in branch A (change file to directory) * ok 27: recording branch A tree * ok 28: reading original tree and checking out * ok 29: change in branch B (removal) * ok 30: change in branch B (modification) * ok 31: change in branch B (modification) * ok 32: change in branch B (modification) * ok 33: change in branch B (modification) * ok 34: change in branch B (modification) * ok 35: change in branch B (modification) * ok 36: change in branch B (addition) * ok 37: change in branch B (addition) * ok 38: change in branch B (addition) * ok 39: change in branch B (addition) * ok 40: change in branch B (addition and modification) * ok 41: change in branch B (modification) * ok 42: change in branch B (addition of a file to conflict with directory) * ok 43: recording branch B tree * ok 44: keep contents of 3 trees for easy access * FAIL 45: 3-way merge with git read-tree -m, empty cache rm -fr [NDMALTS][NDMALTSF] Z && rm .git/index && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 46: 3-way merge with git read-tree -m, match H rm -fr [NDMALTS][NDMALTSF] Z && rm .git/index && git read-tree 7faa7d403e35bacf4e6895532a7781bfa4bab552 && git checkout-index -f -u -a && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 47: 1 - must not have an entry not in A. * ok 48: 2 - must match B in !O && !A && B case. * ok 49: 2 - matching B alone is OK in !O && !A && B case. * FAIL 50: 3 - must match A in !O && A && !B case. rm -f .git/index AN && cp .orig-A/AN AN && git update-index --add AN && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 51: 3 - matching A alone is OK in !O && A && !B case. * ok 52: 3 (fail) - must match A in !O && A && !B case. * FAIL 53: 4 - must match and be up-to-date in !O && A && B && A!=B case. rm -f .git/index AA && cp .orig-A/AA AA && git update-index --add AA && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 54: 4 (fail) - must match and be up-to-date in !O && A && B && A!=B case. * ok 55: 4 (fail) - must match and be up-to-date in !O && A && B && A!=B case. * FAIL 56: 5 - must match in !O && A && B && A==B case. rm -f .git/index LL && cp .orig-A/LL LL && git update-index --add LL && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 57: 5 - must match in !O && A && B && A==B case. rm -f .git/index LL && cp .orig-A/LL LL && git update-index --add LL && echo extra >>LL && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 58: 5 (fail) - must match A in !O && A && B && A==B case. * ok 59: 6 - must not exist in O && !A && !B case * ok 60: 7 - must not exist in O && !A && B && O!=B case * ok 61: 8 - must not exist in O && !A && B && O==B case * FAIL 62: 9 - must match and be up-to-date in O && A && !B && O!=A case rm -f .git/index MD && cp .orig-A/MD MD && git update-index --add MD && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 63: 9 (fail) - must match and be up-to-date in O && A && !B && O!=A case * ok 64: 9 (fail) - must match and be up-to-date in O && A && !B && O!=A case * FAIL 65: 10 - must match and be up-to-date in O && A && !B && O==A case rm -f .git/index ND && cp .orig-A/ND ND && git update-index --add ND && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 66: 10 (fail) - must match and be up-to-date in O && A && !B && O==A case * ok 67: 10 (fail) - must match and be up-to-date in O && A && !B && O==A case * FAIL 68: 11 - must match and be up-to-date in O && A && B && O!=A && O!=B && A!=B case rm -f .git/index MM && cp .orig-A/MM MM && git update-index --add MM && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 69: 11 (fail) - must match and be up-to-date in O && A && B && O!=A && O!=B && A!=B case * ok 70: 11 (fail) - must match and be up-to-date in O && A && B && O!=A && O!=B && A!=B case * FAIL 71: 12 - must match A in O && A && B && O!=A && A==B case rm -f .git/index SS && cp .orig-A/SS SS && git update-index --add SS && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 72: 12 - must match A in O && A && B && O!=A && A==B case rm -f .git/index SS && cp .orig-A/SS SS && git update-index --add SS && echo extra >>SS && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 73: 12 (fail) - must match A in O && A && B && O!=A && A==B case * FAIL 74: 13 - must match A in O && A && B && O!=A && O==B case rm -f .git/index MN && cp .orig-A/MN MN && git update-index --add MN && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 75: 13 - must match A in O && A && B && O!=A && O==B case rm -f .git/index MN && cp .orig-A/MN MN && git update-index --add MN && echo extra >>MN && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 76: 14 - must match and be up-to-date in O && A && B && O==A && O!=B case rm -f .git/index NM && cp .orig-A/NM NM && git update-index --add NM && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 77: 14 - may match B in O && A && B && O==A && O!=B case rm -f .git/index NM && cp .orig-B/NM NM && git update-index --add NM && echo extra >>NM && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 78: 14 (fail) - must match and be up-to-date in O && A && B && O==A && O!=B case * ok 79: 14 (fail) - must match and be up-to-date in O && A && B && O==A && O!=B case * FAIL 80: 15 - must match A in O && A && B && O==A && O==B case rm -f .git/index NN && cp .orig-A/NN NN && git update-index --add NN && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * FAIL 81: 15 - must match A in O && A && B && O==A && O==B case rm -f .git/index NN && cp .orig-A/NN NN && git update-index --add NN && echo extra >>NN && git read-tree -m ef5ba0530afc3186640f9deaf9877cbe64b1da29 7faa7d403e35bacf4e6895532a7781bfa4bab552 05d0abeabe281dc4c9d5ea49fa59b786eb98d2e7 && check_result * ok 82: 15 (fail) - must match A in O && A && B && O==A && O==B case * ok 83: 16 - A matches in one and B matches in another. * failed 17 among 83 test(s) *** t1001-read-tree-m-2way.sh *** * ok 1: setup * ok 2: 1, 2, 3 - no carry forward * ok 3: 4 - carry forward local addition. * ok 4: 5 - carry forward local addition. * ok 5: 6 - local addition already has the same. * ok 6: 7 - local addition already has the same. * ok 7: 8 - conflicting addition. * ok 8: 9 - conflicting addition. * ok 9: 10 - path removed. * ok 10: 11 - dirty path removed. * ok 11: 12 - unmatching local changes being removed. * ok 12: 13 - unmatching local changes being removed. * FAIL 13: 14 - unchanged in two heads. rm -f .git/index && git read-tree $treeH && git checkout-index -u -f -q -a && echo nitfol nitfol >nitfol && git update-index --add nitfol && read_tree_twoway $treeH $treeM && git ls-files --stage >14.out || return 1 git diff M.out 14.out >14diff.out compare_change 14diff.out expected && check_cache_at nitfol clean * FAIL 14: 15 - unchanged in two heads. rm -f .git/index && git read-tree $treeH && git checkout-index -u -f -q -a && echo nitfol nitfol >nitfol && git update-index --add nitfol && echo nitfol nitfol nitfol >nitfol && read_tree_twoway $treeH $treeM && git ls-files --stage >15.out || return 1 git diff M.out 15.out >15diff.out compare_change 15diff.out expected && check_cache_at nitfol dirty * ok 15: 16 - conflicting local change. * ok 16: 17 - conflicting local change. * ok 17: 18 - local change already having a good result. * ok 18: 19 - local change already having a good result, further modified. * ok 19: 20 - no local change, use new tree. * ok 20: 21 - no local change, dirty cache. * ok 21: 22 - local change cache updated. * ok 22: DF vs DF/DF case setup. * ok 23: DF vs DF/DF case test. * failed 2 among 23 test(s) *** t1002-read-tree-m-u-2way.sh *** * ok 1: setup * ok 2: 1, 2, 3 - no carry forward * ok 3: 4 - carry forward local addition. * ok 4: 5 - carry forward local addition. * ok 5: 6 - local addition already has the same. * ok 6: 7 - local addition already has the same. * ok 7: 8 - conflicting addition. * ok 8: 9 - conflicting addition. * ok 9: 10 - path removed. * ok 10: 11 - dirty path removed. * ok 11: 12 - unmatching local changes being removed. * ok 12: 13 - unmatching local changes being removed. * FAIL 13: 14 - unchanged in two heads. rm -f .git/index nitfol bozbar rezrov frotz && git read-tree --reset -u $treeH && echo nitfol nitfol >nitfol && git update-index --add nitfol && git read-tree -m -u $treeH $treeM && git ls-files --stage >14.out || return 1 diff -U0 M.out 14.out >14diff.out compare_change 14diff.out expected && sum bozbar frotz >actual14.sum && grep -v nitfol M.sum > expected14.sum && cmp expected14.sum actual14.sum && sum bozbar frotz nitfol >actual14a.sum && if cmp M.sum actual14a.sum; then false; else :; fi && check_cache_at nitfol clean && echo nitfol nitfol >nitfol1 && diff nitfol nitfol1 && rm -f nitfol1 * FAIL 14: 15 - unchanged in two heads. rm -f .git/index nitfol bozbar rezrov frotz && git read-tree --reset -u $treeH && echo nitfol nitfol >nitfol && git update-index --add nitfol && echo nitfol nitfol nitfol >nitfol && git read-tree -m -u $treeH $treeM && git ls-files --stage >15.out || return 1 diff -U0 M.out 15.out >15diff.out compare_change 15diff.out expected && check_cache_at nitfol dirty && sum bozbar frotz >actual15.sum && grep -v nitfol M.sum > expected15.sum && cmp expected15.sum actual15.sum && sum bozbar frotz nitfol >actual15a.sum && if cmp M.sum actual15a.sum; then false; else :; fi && echo nitfol nitfol nitfol >nitfol1 && diff nitfol nitfol1 && rm -f nitfol1 * ok 15: 16 - conflicting local change. * ok 16: 17 - conflicting local change. * ok 17: 18 - local change already having a good result. * FAIL 18: 19 - local change already having a good result, further modified. rm -f .git/index nitfol bozbar rezrov frotz && git read-tree --reset -u $treeH && echo gnusto >bozbar && git update-index --add bozbar && echo gnusto gnusto >bozbar && git read-tree -m -u $treeH $treeM && git ls-files --stage >19.out && diff -U0 M.out 19.out && check_cache_at bozbar dirty && sum frotz nitfol >actual19.sum && grep -v bozbar M.sum > expected19.sum && cmp expected19.sum actual19.sum && sum bozbar frotz nitfol >actual19a.sum && if cmp M.sum actual19a.sum; then false; else :; fi && echo gnusto gnusto >bozbar1 && diff bozbar bozbar1 && rm -f bozbar1 * ok 19: 20 - no local change, use new tree. * ok 20: 21 - no local change, dirty cache. * ok 21: DF vs DF/DF case setup. * ok 22: DF vs DF/DF case test. * failed 3 among 22 test(s) *** t1003-read-tree-prefix.sh *** * ok 1: setup * ok 2: read-tree --prefix * passed all 2 test(s) *** t1004-read-tree-m-u-wf.sh *** * ok 1: two-way setup * ok 2: two-way not clobbering * ok 3: two-way with incorrect --exclude-per-directory (1) * ok 4: two-way with incorrect --exclude-per-directory (2) * ok 5: two-way clobbering a ignored file * ok 6: three-way not complaining on an untracked path in both * ok 7: three-way not clobbering a working tree file * ok 8: three-way not complaining on an untracked file * passed all 8 test(s) *** t1020-subdirectory.sh *** * ok 1: setup * ok 2: update-index and ls-files * ok 3: cat-file * ok 4: diff-files * ok 5: write-tree * ok 6: checkout-index * ok 7: read-tree * ok 8: no file/rev ambiguity check inside .git * FAIL 9: no file/rev ambiguity check inside a bare repo cd $HERE && git clone -s --bare .git foo.git && cd foo.git && GIT_DIR=. git show -s HEAD * FAIL 10: detection should not be fooled by a symlink cd $HERE && rm -fr foo.git && git clone -s .git another && ln -s another yetanother && cd yetanother/.git && git show -s HEAD * failed 2 among 10 test(s) *** t1100-commit-tree-options.sh *** * ok 1: test preparation: write empty tree * FAIL 2: construct commit echo comment text | GIT_AUTHOR_NAME="Author Name" \ GIT_AUTHOR_EMAIL="author@email" \ GIT_AUTHOR_DATE="2005-05-26 23:00" \ GIT_COMMITTER_NAME="Committer Name" \ GIT_COMMITTER_EMAIL="committer@email" \ GIT_COMMITTER_DATE="2005-05-26 23:30" \ TZ=GMT git commit-tree `cat treeid` >commitid 2>/dev/null * FAIL 3: read commit git cat-file commit `cat commitid` >commit * FAIL 4: compare commit diff expected commit * failed 3 among 4 test(s) *** t1200-tutorial.sh *** * FAIL 1: blob test blob = "" * FAIL 2: blob 557db03 test "Hello World" = "" * FAIL 3: git diff-files -p cmp diff.expect diff.output * FAIL 4: git diff cmp diff.expect diff.output * FAIL 5: tree test 8988da15d077d4829fc51d8544c097def6644dbb = c5dc9527d31b9760b78f06e6f05ab5943cc56ca3 * FAIL 6: git diff-index -p HEAD cmp diff.expect diff.output * FAIL 7: git diff HEAD cmp diff.expect diff.output * FAIL 8: git whatchanged -p --root cmp whatchanged.expect whatchanged.output * FAIL 9: git tag my-first-tag cmp .git/refs/heads/master .git/refs/tags/my-first-tag M hello * FAIL 10: git checkout -b mybranch cmp .git/refs/heads/master .git/refs/heads/mybranch * FAIL 11: git branch cmp branch.expect branch.output M hello Created commit fa7f165: Some work. 1 files changed, 2 insertions(+), 0 deletions(-) Created commit b0d3699: Some fun. 2 files changed, 2 insertions(+), 0 deletions(-) * ok 12: git resolve now fails Created commit 47ae886: Merged "mybranch" changes. * failed 11 among 12 test(s) *** t1300-repo-config.sh *** * ok 1: initial * ok 2: mixed case * ok 3: similar section * ok 4: similar section * ok 5: replace with non-match * ok 6: replace with non-match (actually matching) * ok 7: non-match result * ok 8: multiple unset * ok 9: multiple unset is correct * ok 10: --replace-all * ok 11: all replaced * ok 12: really mean test * ok 13: really really mean test * ok 14: get value * ok 15: unset * ok 16: multivar * ok 17: non-match * ok 18: non-match value * ok 19: ambiguous get * ok 20: get multivar * ok 21: multivar replace * ok 22: ambiguous value * ok 23: ambiguous unset * ok 24: invalid unset * ok 25: multivar unset * ok 26: invalid key * ok 27: correct key * ok 28: hierarchical section * ok 29: hierarchical section value * FAIL 30: working --list git config --list > output && cmp output expect * FAIL 31: --get-regexp git config --get-regexp in > output && cmp output expect * FAIL 32: --add git config --get-all nextsection.nonewline > output && cmp output expect * ok 33: get variable with no value * ok 34: get-regexp variable with no value * ok 35: no arguments, but no crash * ok 36: new section is partial match of another * ok 37: new variable inserts into proper section * ok 38: alternative GIT_CONFIG (non-existing file should fail) * FAIL 39: alternative GIT_CONFIG cmp output expect * FAIL 40: alternative GIT_CONFIG (--file) git config --file other-config -l > output && cmp output expect * ok 41: --set in alternative GIT_CONFIG * ok 42: rename section * ok 43: rename succeeded * ok 44: rename non-existing section * ok 45: rename succeeded * ok 46: rename another section * ok 47: rename succeeded * ok 48: remove section * ok 49: section was removed properly * ok 50: section ending * ok 51: numbers * FAIL 52: bool git config bool.true1 01 && git config bool.true2 -1 && git config bool.true3 YeS && git config bool.true4 true && git config bool.false1 000 && git config bool.false2 "" && git config bool.false3 nO && git config bool.false4 FALSE && rm -f result && for i in 1 2 3 4 do git config --bool --get bool.true$i >>result git config --bool --get bool.false$i >>result done && cmp expect result * ok 53: invalid bool (--get) * ok 54: invalid bool (set) * ok 55: set --bool * ok 56: set --int * ok 57: quoting * ok 58: key with newline * ok 59: value with newline * FAIL 60: value continued on next line cmp result expect * FAIL 61: --null --list cmp result expect * FAIL 62: --null --get-regexp cmp result expect * ok 63: symlinked configuration * failed 9 among 63 test(s) *** t1301-shared-repo.sh *** * ok 1: shared=all * ok 2: update-server-info honors core.sharedRepository * passed all 2 test(s) *** t1400-update-ref.sh *** * ok 1: create refs/heads/master * ok 2: create refs/heads/master * ok 3: fail to create refs/heads/gu/fixes * ok 4: create refs/heads/master (by HEAD) * ok 5: create refs/heads/master (by HEAD) * ok 6: (not) create HEAD with old sha1 * ok 7: (not) prior created .git/refs/heads/master * ok 8: create HEAD * ok 9: (not) change HEAD with wrong SHA1 * ok 10: (not) changed .git/refs/heads/master * ok 11: create refs/heads/master (logged by touch) * ok 12: update refs/heads/master (logged by touch) * ok 13: set refs/heads/master (logged by touch) * ok 14: verifying refs/heads/master's log * ok 15: enable core.logAllRefUpdates * ok 16: create refs/heads/master (logged by config) * ok 17: update refs/heads/master (logged by config) * ok 18: set refs/heads/master (logged by config) * ok 19: verifying refs/heads/master's log * FAIL 20: Query "master@{May 25 2005}" (before history) rm -f o e git rev-parse --verify "master@{May 25 2005}" >o 2>e && test 3333333333333333333333333333333333333333 = $(cat o) && test "warning: Log for 'master' only goes back to $ed." = "$(cat e)" * FAIL 21: Query master@{2005-05-25} (before history) rm -f o e git rev-parse --verify master@{2005-05-25} >o 2>e && test 3333333333333333333333333333333333333333 = $(cat o) && echo test "warning: Log for 'master' only goes back to $ed." = "$(cat e)" * FAIL 22: Query "master@{May 26 2005 23:31:59}" (1 second before history) rm -f o e git rev-parse --verify "master@{May 26 2005 23:31:59}" >o 2>e && test 3333333333333333333333333333333333333333 = $(cat o) && test "warning: Log for 'master' only goes back to $ed." = "$(cat e)" * FAIL 23: Query "master@{May 26 2005 23:32:00}" (exactly history start) rm -f o e git rev-parse --verify "master@{May 26 2005 23:32:00}" >o 2>e && test 1111111111111111111111111111111111111111 = $(cat o) && test "" = "$(cat e)" * FAIL 24: Query "master@{2005-05-26 23:33:01}" (middle of history with gap) rm -f o e git rev-parse --verify "master@{2005-05-26 23:33:01}" >o 2>e && test 2222222222222222222222222222222222222222 = $(cat o) && test "warning: Log .git/logs/refs/heads/master has gap after Thu, 26 May 2005 18:33:00 -0500." = "$(cat e)" * FAIL 25: Query "master@{2005-05-26 23:38:00}" (middle of history) rm -f o e git rev-parse --verify "master@{2005-05-26 23:38:00}" >o 2>e && test 0000000000000000000000000000000000000000 = $(cat o) && test "" = "$(cat e)" * FAIL 26: Query "master@{2005-05-26 23:43:00}" (exact end of history) rm -f o e git rev-parse --verify "master@{2005-05-26 23:43:00}" >o 2>e && test 5555555555555555555555555555555555555555 = $(cat o) && test "" = "$(cat e)" * FAIL 27: Query "master@{2005-05-28}" (past end of history) rm -f o e git rev-parse --verify "master@{2005-05-28}" >o 2>e && test 4444444444444444444444444444444444444444 = $(cat o) && test "warning: Log .git/logs/refs/heads/master unexpectedly ended on Thu, 26 May 2005 18:43:00 -0500." = "$(cat e)" * ok 28: creating initial files * ok 29: git-commit logged updates * FAIL 30: git cat-file blob master:F (expect OTHER) test OTHER = $(git cat-file blob master:F) * FAIL 31: git cat-file blob master@{2005-05-26 23:30}:F (expect TEST) test TEST = $(git cat-file blob "master@{2005-05-26 23:30}:F") * FAIL 32: git cat-file blob master@{2005-05-26 23:42}:F (expect OTHER) test OTHER = $(git cat-file blob "master@{2005-05-26 23:42}:F") * failed 11 among 32 test(s) *** t1410-reflog.sh *** * ok 1: setup * ok 2: rewind * ok 3: corrupt and check * ok 4: reflog expire --dry-run should not touch reflog * ok 5: reflog expire * ok 6: prune and fsck * ok 7: recover and check * passed all 7 test(s) *** t1420-lost-found.sh *** * ok 1: setup * FAIL 2: lost and found something git rev-parse HEAD > lost-commit && git rev-parse :file3 > lost-other && test_tick && git reset --hard HEAD^ && git fsck --lost-found && test 2 = $(ls .git/lost-found/*/* | wc -l) && test -f .git/lost-found/commit/$(cat lost-commit) && test -f .git/lost-found/other/$(cat lost-other) * failed 1 among 2 test(s) *** t1500-rev-parse.sh *** * ok 1: toplevel: is-bare-repository * ok 2: toplevel: is-inside-git-dir * ok 3: toplevel: is-inside-work-tree * ok 4: toplevel: prefix * ok 5: .git/: is-bare-repository * ok 6: .git/: is-inside-git-dir * ok 7: .git/: is-inside-work-tree * ok 8: .git/: prefix * ok 9: .git/objects/: is-bare-repository * ok 10: .git/objects/: is-inside-git-dir * ok 11: .git/objects/: is-inside-work-tree * ok 12: .git/objects/: prefix * ok 13: subdirectory: is-bare-repository * ok 14: subdirectory: is-inside-git-dir * ok 15: subdirectory: is-inside-work-tree * ok 16: subdirectory: prefix * ok 17: core.bare = true: is-bare-repository * ok 18: core.bare = true: is-inside-git-dir * ok 19: core.bare = true: is-inside-work-tree * ok 20: core.bare undefined: is-bare-repository * ok 21: core.bare undefined: is-inside-git-dir * ok 22: core.bare undefined: is-inside-work-tree * ok 23: GIT_DIR=../.git, core.bare = false: is-bare-repository * ok 24: GIT_DIR=../.git, core.bare = false: is-inside-git-dir * ok 25: GIT_DIR=../.git, core.bare = false: is-inside-work-tree * ok 26: GIT_DIR=../.git, core.bare = false: prefix * ok 27: GIT_DIR=../.git, core.bare = true: is-bare-repository * ok 28: GIT_DIR=../.git, core.bare = true: is-inside-git-dir * ok 29: GIT_DIR=../.git, core.bare = true: is-inside-work-tree * ok 30: GIT_DIR=../.git, core.bare = true: prefix * ok 31: GIT_DIR=../.git, core.bare undefined: is-bare-repository * ok 32: GIT_DIR=../.git, core.bare undefined: is-inside-git-dir * ok 33: GIT_DIR=../.git, core.bare undefined: is-inside-work-tree * ok 34: GIT_DIR=../.git, core.bare undefined: prefix * ok 35: GIT_DIR=../repo.git, core.bare = false: is-bare-repository * ok 36: GIT_DIR=../repo.git, core.bare = false: is-inside-git-dir * ok 37: GIT_DIR=../repo.git, core.bare = false: is-inside-work-tree * ok 38: GIT_DIR=../repo.git, core.bare = false: prefix * ok 39: GIT_DIR=../repo.git, core.bare = true: is-bare-repository * ok 40: GIT_DIR=../repo.git, core.bare = true: is-inside-git-dir * ok 41: GIT_DIR=../repo.git, core.bare = true: is-inside-work-tree * ok 42: GIT_DIR=../repo.git, core.bare = true: prefix * ok 43: GIT_DIR=../repo.git, core.bare undefined: is-bare-repository * ok 44: GIT_DIR=../repo.git, core.bare undefined: is-inside-git-dir * ok 45: GIT_DIR=../repo.git, core.bare undefined: is-inside-work-tree * ok 46: GIT_DIR=../repo.git, core.bare undefined: prefix * passed all 46 test(s) *** t1501-worktree.sh *** * core.worktree = relative path * ok 1: outside: is-bare-repository * ok 2: outside: is-inside-git-dir * ok 3: outside: is-inside-work-tree * ok 4: inside: is-bare-repository * ok 5: inside: is-inside-git-dir * ok 6: inside: is-inside-work-tree * ok 7: inside: prefix * ok 8: subdirectory: is-bare-repository * ok 9: subdirectory: is-inside-git-dir * ok 10: subdirectory: is-inside-work-tree * ok 11: subdirectory: prefix * core.worktree = absolute path * ok 12: outside: is-bare-repository * ok 13: outside: is-inside-git-dir * ok 14: outside: is-inside-work-tree * ok 15: inside: is-bare-repository * ok 16: inside: is-inside-git-dir * ok 17: inside: is-inside-work-tree * ok 18: inside: prefix * ok 19: subdirectory: is-bare-repository * ok 20: subdirectory: is-inside-git-dir * ok 21: subdirectory: is-inside-work-tree * ok 22: subdirectory: prefix * GIT_WORK_TREE=relative path (override core.worktree) * ok 23: outside: is-bare-repository * ok 24: outside: is-inside-git-dir * ok 25: outside: is-inside-work-tree * ok 26: inside: is-bare-repository * ok 27: inside: is-inside-git-dir * ok 28: inside: is-inside-work-tree * ok 29: inside: prefix * ok 30: subdirectory: is-bare-repository * ok 31: subdirectory: is-inside-git-dir * ok 32: subdirectory: is-inside-work-tree * ok 33: subdirectory: prefix * GIT_WORK_TREE=absolute path, work tree below git dir * ok 34: outside: is-bare-repository * ok 35: outside: is-inside-git-dir * ok 36: outside: is-inside-work-tree * ok 37: in repo.git: is-bare-repository * ok 38: in repo.git: is-inside-git-dir * ok 39: in repo.git: is-inside-work-tree * ok 40: in repo.git/objects: is-bare-repository * ok 41: in repo.git/objects: is-inside-git-dir * ok 42: in repo.git/objects: is-inside-work-tree * ok 43: in repo.git/work: is-bare-repository * ok 44: in repo.git/work: is-inside-git-dir * ok 45: in repo.git/work: is-inside-work-tree * ok 46: in repo.git/work: prefix * ok 47: in repo.git/sub/dir: is-bare-repository * ok 48: in repo.git/sub/dir: is-inside-git-dir * ok 49: in repo.git/sub/dir: is-inside-work-tree * ok 50: in repo.git/sub/dir: prefix * ok 51: repo finds its work tree * ok 52: repo finds its work tree from work tree, too * passed all 52 test(s) *** t2000-checkout-cache-clash.sh *** * ok 1: git update-index --add various paths. * ok 2: git checkout-index without -f should fail on conflicting work tree. * ok 3: git checkout-index with -f should succeed. * ok 4: git checkout-index conflicting paths. * passed all 4 test(s) *** t2001-checkout-cache-clash.sh *** * ok 1: git update-index --add path0/file0 * ok 2: writing tree out with git write-tree * ok 3: git update-index --add path1/file1 * ok 4: writing tree out with git write-tree * ok 5: read previously written tree and checkout. * ok 6: git update-index --add a symlink. * ok 7: writing tree out with git write-tree * ok 8: read previously written tree and checkout. * ok 9: checking out conflicting path with -f * passed all 9 test(s) *** t2002-checkout-cache-u.sh *** * ok 1: preparation * ok 2: without -u, git checkout-index smudges stat information. * ok 3: with -u, git checkout-index picks up stat information from new files. * passed all 3 test(s) *** t2003-checkout-cache-mkdir.sh *** * ok 1: setup * ok 2: have symlink in place where dir is expected. * ok 3: use --prefix=path2/ * ok 4: use --prefix=tmp- * ok 5: use --prefix=tmp- but with a conflicting file and dir * ok 6: use --prefix=tmp/orary/ where tmp is a symlink * ok 7: use --prefix=tmp/orary- where tmp is a symlink * ok 8: use --prefix=tmp- where tmp-path1 is a symlink * passed all 8 test(s) *** t2004-checkout-cache-temp.sh *** * ok 1: preparation * FAIL 2: checkout one stage 0 to temporary file rm -f path* .merge_* out .git/index && git read-tree $t1 && git checkout-index --temp -- path1 >out && test $(wc -l out && test $(wc -l out && test $(wc -l out && test $(wc -l out && test $(wc -l out && test $(wc -l out && test $(wc -l file1 && echo goodbye people >file2 && git update-index --add file1 file2 && git ls-files -s >current && cmp current expected * FAIL 2: update-index --again rm -f file1 && echo hello everybody >file2 && if git update-index --again then echo should have refused to remove file1 exit 1 else echo happy - failed as expected fi && git ls-files -s >current && cmp current expected * FAIL 3: update-index --remove --again git update-index --remove --again && git ls-files -s >current && cmp current expected * ok 4: first commit * FAIL 5: update-index again mkdir -p dir1 && echo hello world >dir1/file3 && echo goodbye people >file2 && git update-index --add file2 dir1/file3 && echo hello everybody >file2 echo happy >dir1/file3 && git update-index --again && git ls-files -s >current && cmp current expected * FAIL 6: update-index --update from subdir echo not so happy >file2 && cd dir1 && cat ../file2 >file3 && git update-index --again && cd .. && git ls-files -s >current && cmp current expected * FAIL 7: update-index --update with pathspec echo very happy >file2 && cat file2 >dir1/file3 && git update-index --again dir1/ && git ls-files -s >current && cmp current expected * failed 6 among 7 test(s) *** t2102-update-index-symlinks.sh *** * ok 1: preparation * ok 2: modify the symbolic link * ok 3: the index entry must still be a symbolic link * passed all 3 test(s) *** t2200-add-update.sh *** * ok 1: setup * ok 2: update * ok 3: update touched correct path * ok 4: update did not touch other tracked files * ok 5: update did not touch untracked files * passed all 5 test(s) *** t3000-ls-files-others.sh *** * ok 1: git ls-files --others to show output. * ok 2: git ls-files --others should pick up symlinks. * ok 3: git ls-files --others --directory to show output. * ok 4: git ls-files --others --directory should not get confused. * passed all 4 test(s) *** t3001-ls-files-others-exclude.sh *** * FAIL 1: git ls-files --others with various exclude options. git ls-files --others \ --exclude=\*.6 \ --exclude-per-directory=.gitignore \ --exclude-from=.git/ignore \ >output && git diff expect output * FAIL 2: git ls-files --others with \r\n line endings. git ls-files --others \ --exclude=\*.6 \ --exclude-per-directory=.gitignore \ --exclude-from=.git/ignore \ >output && git diff expect output * ok 3: git-status honours core.excludesfile * failed 2 among 3 test(s) *** t3002-ls-files-dashpath.sh *** * ok 1: setup * FAIL 2: git ls-files without path restriction. git ls-files --others >output && git diff output - <output && git diff output - <output && git diff output - <output && git diff output - <output && git diff output - <Makefile && git add * && git commit -q -m "subproject 1" ) && mkdir sub2 && ( cd sub2 && git init && : >Makefile && git add * && git commit -q -m "subproject 2" ) && git update-index --add sub1 && git add sub2 && git commit -q -m "subprojects added" && git diff-tree --abbrev=5 HEAD^ HEAD |cut -d" " -f-3,5- >current && git diff expected current * ok 3: check if fsck ignores the subprojects * ok 4: check if commit in a subproject detected * ok 5: check if a changed subproject HEAD can be committed * ok 6: check if diff-index works for subproject elements * ok 7: check if diff-tree works for subproject elements * ok 8: check if git diff works for subproject elements * FAIL 9: check if clone works git ls-files -s >expected && git clone -l -s . cloned && ( cd cloned && git ls-files -s ) >current && git diff expected current * ok 10: removing and adding subproject * ok 11: checkout in superproject * failed 2 among 11 test(s) *** t3100-ls-tree-restrict.sh *** * ok 1: setup * FAIL 2: ls-tree plain git ls-tree $tree >current && cat >expected <<\EOF && 100644 blob X path0 120000 blob X path1 040000 tree X path2 EOF test_output * FAIL 3: ls-tree recursive git ls-tree -r $tree >current && cat >expected <<\EOF && 100644 blob X path0 120000 blob X path1 100644 blob X path2/baz/b 120000 blob X path2/bazbo 100644 blob X path2/foo EOF test_output * FAIL 4: ls-tree recursive with -t git ls-tree -r -t $tree >current && cat >expected <<\EOF && 100644 blob X path0 120000 blob X path1 040000 tree X path2 040000 tree X path2/baz 100644 blob X path2/baz/b 120000 blob X path2/bazbo 100644 blob X path2/foo EOF test_output * FAIL 5: ls-tree recursive with -d git ls-tree -r -d $tree >current && cat >expected <<\EOF && 040000 tree X path2 040000 tree X path2/baz EOF test_output * ok 6: ls-tree filtered with path * FAIL 7: ls-tree filtered with path1 path0 git ls-tree $tree path1 path0 >current && cat >expected <<\EOF && 100644 blob X path0 120000 blob X path1 EOF test_output * ok 8: ls-tree filtered with path0/ * FAIL 9: ls-tree filtered with path2 git ls-tree $tree path2 >current && cat >expected <<\EOF && 040000 tree X path2 EOF test_output * FAIL 10: ls-tree filtered with path2/ git ls-tree $tree path2/ >current && cat >expected <<\EOF && 040000 tree X path2/baz 120000 blob X path2/bazbo 100644 blob X path2/foo EOF test_output * FAIL 11: ls-tree filtered with path2/baz git ls-tree $tree path2/baz >current && cat >expected <<\EOF && 040000 tree X path2/baz EOF test_output * ok 12: ls-tree filtered with path2/bak * FAIL 13: ls-tree -t filtered with path2/bak git ls-tree -t $tree path2/bak >current && cat >expected <<\EOF && 040000 tree X path2 EOF test_output * failed 9 among 13 test(s) *** t3101-ls-tree-dirname.sh *** * ok 1: setup * FAIL 2: ls-tree plain git ls-tree $tree >current && cat >expected <<\EOF && 100644 blob X 1.txt 100644 blob X 2.txt 040000 tree X path0 040000 tree X path1 040000 tree X path2 040000 tree X path3 EOF test_output * FAIL 3: ls-tree recursive git ls-tree -r $tree >current && cat >expected <<\EOF && 100644 blob X 1.txt 100644 blob X 2.txt 100644 blob X path0/a/b/c/1.txt 100644 blob X path1/b/c/1.txt 100644 blob X path2/1.txt 100644 blob X path3/1.txt 100644 blob X path3/2.txt EOF test_output * FAIL 4: ls-tree filter 1.txt git ls-tree $tree 1.txt >current && cat >expected <<\EOF && 100644 blob X 1.txt EOF test_output * FAIL 5: ls-tree filter path1/b/c/1.txt git ls-tree $tree path1/b/c/1.txt >current && cat >expected <<\EOF && 100644 blob X path1/b/c/1.txt EOF test_output * FAIL 6: ls-tree filter all 1.txt files git ls-tree $tree 1.txt path0/a/b/c/1.txt path1/b/c/1.txt path2/1.txt path3/1.txt >current && cat >expected <<\EOF && 100644 blob X 1.txt 100644 blob X path0/a/b/c/1.txt 100644 blob X path1/b/c/1.txt 100644 blob X path2/1.txt 100644 blob X path3/1.txt EOF test_output * FAIL 7: ls-tree filter directories git ls-tree $tree path3 path2 path0/a/b/c path1/b/c path0/a >current && cat >expected <<\EOF && 040000 tree X path0/a/b/c 040000 tree X path1/b/c 040000 tree X path2 040000 tree X path3 EOF test_output * FAIL 8: ls-tree filter odd names git ls-tree $tree 1.txt /1.txt //1.txt path3/1.txt /path3/1.txt //path3//1.txt path3 /path3/ path3// >current && cat >expected <<\EOF && 100644 blob X 1.txt 100644 blob X path3/1.txt 100644 blob X path3/2.txt EOF test_output * ok 9: ls-tree filter missing files and extra slashes * failed 7 among 9 test(s) *** t3200-branch.sh *** * ok 1: prepare a trivial repository * ok 2: git branch --help should not have created a bogus branch * ok 3: git branch abc should create a branch * ok 4: git branch a/b/c should create a branch * ok 5: git branch -l d/e/f should create a branch and a log * ok 6: git branch -d d/e/f should delete a branch and a log * ok 7: git branch j/k should work after branch j has been deleted * ok 8: git branch l should work after branch l/m has been deleted * ok 9: git branch -m m m/m should work * ok 10: git branch -m n/n n should work * ok 11: git branch -m o/o o should fail when o/p exists * ok 12: git branch -m q r/q should fail when r exists * ok 13: git branch -m q q2 without config should succeed * ok 14: git branch -m s/s s should work when s/t is deleted * ok 15: config information was renamed, too * ok 16: git branch -m u v should fail when the reflog for u is a symlink * ok 17: test tracking setup via --track * ok 18: test tracking setup (non-wildcard, matching) * ok 19: test tracking setup (non-wildcard, not matching) * ok 20: test tracking setup via config * ok 21: avoid ambiguous track * ok 22: test overriding tracking setup via --no-track * ok 23: no tracking without .fetch entries * ok 24: test tracking setup via --track but deeper * ok 25: test deleting branch deletes branch config * ok 26: test deleting branch without config * ok 27: git checkout -b g/h/i -l should create a branch and a log * passed all 27 test(s) *** t3210-pack-refs.sh *** * ok 1: prepare a trivial repository * ok 2: see if git show-ref works as expected * ok 3: see if a branch still exists when packed * ok 4: git branch c/d should barf if branch c exists * ok 5: see if a branch still exists after git pack-refs --prune * ok 6: see if git pack-refs --prune remove ref files * ok 7: git branch g should work when git branch g/h has been deleted * ok 8: git branch i/j/k should barf if branch i exists * ok 9: test git branch k after branch k/l/m and k/lm have been deleted * ok 10: test git branch n after some branch deletion and pruning * ok 11: pack, prune and repack * passed all 11 test(s) *** t3300-funny-names.sh *** * Your filesystem does not allow tabs in filenames, test skipped. * passed all 0 test(s) *** t3400-rebase.sh *** * ok 1: prepare repository with topic branches * ok 2: rebase against master * ok 3: the rebase operation should not have destroyed author information * ok 4: rebase after merge master * FAIL 5: rebase of history with merges is linearized git checkout nonlinear && test 4 = $(git rev-list master.. | wc -l) && git rebase master && test 3 = $(git rev-list master.. | wc -l) * FAIL 6: rebase of history with merges after upstream merge is linearized git checkout upstream-merged-nonlinear && test 5 = $(git rev-list master.. | wc -l) && git rebase master && test 3 = $(git rev-list master.. | wc -l) * failed 2 among 6 test(s) *** t3401-rebase-partial.sh *** * ok 1: prepare repository with topic branch * ok 2: pick top patch from topic branch into master * ok 3: rebase topic branch against new master and check git-am did not get halted * FAIL 4: rebase --merge topic branch that was partially merged upstream git-checkout -f my-topic-branch-merge && git-rebase --merge master-merge && test ! -d .git/.dotest-merge * failed 1 among 4 test(s) *** t3402-rebase-merge.sh *** * ok 1: setup * ok 2: reference merge * FAIL 3: rebase git checkout test-rebase && git rebase --merge master * FAIL 4: merge and rebase should match git diff-tree -r test-rebase test-merge >difference && if test -s difference then cat difference (exit 1) else echo happy fi * FAIL 5: rebase the other way git reset --hard master && git rebase --merge side * FAIL 6: merge and rebase should match git diff-tree -r test-rebase test-merge >difference && if test -s difference then cat difference (exit 1) else echo happy fi * FAIL 7: picking rebase git reset --hard side && git rebase --merge --onto master side^^ && mb=$(git merge-base master HEAD) && if test "$mb" = "$(git rev-parse master)" then echo happy else git show-branch (exit 1) fi && f=$(git diff-tree --name-only HEAD^ HEAD) && g=$(git diff-tree --name-only HEAD^^ HEAD^) && case "$f,$g" in newfile,newfile) echo happy ;; *) echo "$f" echo "$g" (exit 1) esac * failed 5 among 7 test(s) *** t3403-rebase-skip.sh *** * ok 1: setup * FAIL 2: rebase with git am -3 (default) git rebase master * FAIL 3: rebase --skip with am -3 git reset --hard HEAD && git rebase --skip * ok 4: checkout skip-merge * ok 5: rebase with --merge * FAIL 6: rebase --skip with --merge git reset --hard HEAD && git rebase --skip * ok 7: merge and reference trees equal * failed 3 among 7 test(s) *** t3404-rebase-interactive.sh *** * ok 1: setup * FAIL 2: no changes are a nop git rebase -i F && test $(git rev-parse I) = $(git rev-parse HEAD) * FAIL 3: test the [branch] option git checkout -b dead-end && git rm file6 && git commit -m "stop here" && git rebase -i F branch2 && test $(git rev-parse I) = $(git rev-parse HEAD) * FAIL 4: rebase on top of a non-conflicting commit git checkout branch1 && git tag original-branch1 && git rebase -i branch2 && test file6 = $(git diff --name-only original-branch1) && test $(git rev-parse I) = $(git rev-parse HEAD~2) * FAIL 5: reflog for the branch shows state before rebase test $(git rev-parse branch1@{1}) = $(git rev-parse original-branch1) * FAIL 6: exchange two commits FAKE_LINES="2 1" git rebase -i HEAD~2 && test H = $(git cat-file commit HEAD^ | tail -n 1) && test G = $(git cat-file commit HEAD | tail -n 1) * FAIL 7: stop on conflicting pick git tag new-branch1 && ! git rebase -i master && diff -u expect .git/.dotest-merge/patch && diff -u expect2 file1 && test 4 = $(grep -v "^#" < .git/.dotest-merge/done | wc -l) && test 0 = $(grep -v "^#" < .git/.dotest-merge/todo | wc -l) * FAIL 8: abort git rebase --abort && test $(git rev-parse new-branch1) = $(git rev-parse HEAD) && ! test -d .git/.dotest-merge * FAIL 9: retain authorship echo A > file7 && git add file7 && test_tick && GIT_AUTHOR_NAME="Twerp Snog" git commit -m "different author" && git tag twerp && git rebase -i --onto master HEAD^ && git show HEAD | grep "^Author: Twerp Snog" * FAIL 10: squash git reset --hard twerp && echo B > file7 && test_tick && GIT_AUTHOR_NAME="Nitfol" git commit -m "nitfol" file7 && echo "******************************" && FAKE_LINES="1 squash 2" git rebase -i --onto master HEAD~2 && test B = $(cat file7) && test $(git rev-parse HEAD^) = $(git rev-parse master) * ok 11: retain authorship when squashing * FAIL 12: preserve merges with -p git checkout -b to-be-preserved master^ && : > unrelated-file && git add unrelated-file && test_tick && git commit -m "unrelated" && git checkout -b to-be-rebased master && echo B > file1 && test_tick && git commit -m J file1 && test_tick && git merge to-be-preserved && echo C > file1 && test_tick && git commit -m K file1 && test_tick && git rebase -i -p --onto branch1 master && test $(git rev-parse HEAD^^2) = $(git rev-parse to-be-preserved) && test $(git rev-parse HEAD~3) = $(git rev-parse branch1) && test $(git show HEAD:file1) = C && test $(git show HEAD~2:file1) = B * FAIL 13: --continue tries to commit test_tick && ! git rebase -i --onto new-branch1 HEAD^ && echo resolved > file1 && git add file1 && FAKE_COMMIT_MESSAGE="chouette!" git rebase --continue && test $(git rev-parse HEAD^) = $(git rev-parse new-branch1) && git show HEAD | grep chouette * FAIL 14: verbose flag is heeded, even after --continue git reset --hard HEAD@{1} && test_tick && ! git rebase -v -i --onto new-branch1 HEAD^ && echo resolved > file1 && git add file1 && git rebase --continue > output && grep "^ file1 | 2 +-$" output * FAIL 15: multi-squash only fires up editor once base=$(git rev-parse HEAD~4) && FAKE_COMMIT_AMEND="ONCE" FAKE_LINES="1 squash 2 squash 3 squash 4" \ git rebase -i $base && test $base = $(git rev-parse HEAD^) && test 1 = $(git show | grep ONCE | wc -l) * FAIL 16: squash works as expected for n in one two three four do echo $n >> file$n && git add file$n && git commit -m $n done && one=$(git rev-parse HEAD~3) && FAKE_LINES="1 squash 3 2" git rebase -i HEAD~3 && test $one = $(git rev-parse HEAD~2) * FAIL 17: interrupted squash works as expected for n in one two three four do echo $n >> conflict && git add conflict && git commit -m $n done && one=$(git rev-parse HEAD~3) && ! FAKE_LINES="1 squash 3 2" git rebase -i HEAD~3 && (echo one; echo two; echo four) > conflict && git add conflict && ! git rebase --continue && echo resolved > conflict && git add conflict && git rebase --continue && test $one = $(git rev-parse HEAD~2) * FAIL 18: ignore patch if in upstream HEAD=$(git rev-parse HEAD) && git checkout -b has-cherry-picked HEAD^ && echo unrelated > file7 && git add file7 && test_tick && git commit -m "unrelated change" && git cherry-pick $HEAD && EXPECT_COUNT=1 git rebase -i $HEAD && test $HEAD = $(git rev-parse HEAD^) * failed 16 among 18 test(s) *** t3405-rebase-malformed.sh *** * ok 1: setup * FAIL 2: rebase git rebase master side && git cat-file commit HEAD | sed -e "1,/^\$/d" >F1 && diff -u F0 F1 && diff -u F F0 * failed 1 among 2 test(s) *** t3500-cherry.sh *** * ok 1: prepare repository with topic branch, and check cherry finds the 2 patches from there * ok 2: check that cherry with limit returns only the top patch * ok 3: cherry-pick one of the 2 patches, and check cherry recognized one and only one as new * passed all 3 test(s) *** t3501-revert-cherry-pick.sh *** * ok 1: setup * ok 2: cherry-pick after renaming branch * ok 3: revert after renaming branch * passed all 3 test(s) *** t3600-rm.sh *** * ok 1: Initialize test directory * ok 2: Determine rm behavior * ok 3: Pre-check that foo exists and is in index before git rm foo * ok 4: Test that git rm foo succeeds * ok 5: Test that git rm --cached foo succeeds if the index matches the file * ok 6: Test that git rm --cached foo succeeds if the index matches the file * ok 7: Test that git rm --cached foo fails if the index matches neither the file nor HEAD * ok 8: Test that git rm --cached -f foo works in case where --cached only did not * ok 9: Post-check that foo exists but is not in index after git rm foo * ok 10: Pre-check that bar exists and is in index before "git rm bar" * ok 11: Test that "git rm bar" succeeds * ok 12: Post-check that bar does not exist and is not in index after "git rm -f bar" * ok 13: Test that "git rm -- -q" succeeds (remove a file that looks like an option) * ok 14: skipping removal failure (perhaps running as root?) * ok 15: When the rm in "git rm -f" fails, it should not remove the file from the index * ok 16: Remove nonexistent file with --ignore-unmatch * ok 17: "rm" command printed * ok 18: "rm" command suppressed with --quiet * ok 19: Re-add foo and baz * ok 20: Modify foo -- rm should refuse * ok 21: Modified foo -- rm -f should work * ok 22: Re-add foo and baz for HEAD tests * ok 23: foo is different in index from HEAD -- rm should refuse * ok 24: but with -f it should work. * ok 25: Recursive test setup * ok 26: Recursive without -r fails * ok 27: Recursive with -r but dirty * ok 28: Recursive with -r -f * ok 29: Remove nonexistent file returns nonzero exit status * passed all 29 test(s) *** t3700-add.sh *** * ok 1: Test of git add * ok 2: Post-check that foo is in the index * ok 3: Test that "git add -- -q" works * ok 4: git add: Test that executable bit is not used if core.filemode=0 * ok 5: git add: filemode=0 should not get confused by symlink * ok 6: git update-index --add: Test that executable bit is not used... * ok 7: git add: filemode=0 should not get confused by symlink * ok 8: git update-index --add: Test that executable bit is not used... * ok 9: .gitignore test setup * ok 10: .gitignore is honored * ok 11: error out when attempting to add ignored ones without -f * ok 12: error out when attempting to add ignored ones without -f * ok 13: add ignored ones with -f * ok 14: add ignored ones with -f * ok 15: check correct prefix detection * ok 16: git add with filemode=0, symlinks=0, and unmerged entries * ok 17: git add with filemode=0, symlinks=0 prefers stage 2 over stage 1 * passed all 17 test(s) *** t3800-mktag.sh *** Created initial commit 913621a: Initial commit 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 A * ok 1: Tag object length check * FAIL 2: "object" line label check git-mktag message || egrep -q -f expect.pat message * FAIL 3: "object" line SHA1 check git-mktag message || egrep -q -f expect.pat message * FAIL 4: "type" line label check git-mktag message || egrep -q -f expect.pat message * FAIL 5: "type" line eol check git-mktag message || egrep -q -f expect.pat message * FAIL 6: "tag" line label check #1 git-mktag message || egrep -q -f expect.pat message * FAIL 7: "tag" line label check #2 git-mktag message || egrep -q -f expect.pat message * FAIL 8: "type" line type-name length check git-mktag message || egrep -q -f expect.pat message * ok 9: verify object (SHA1/type) check * FAIL 10: verify tag-name check git-mktag message || egrep -q -f expect.pat message * FAIL 11: "tagger" line label check #1 git-mktag message || egrep -q -f expect.pat message * FAIL 12: "tagger" line label check #2 git-mktag message || egrep -q -f expect.pat message * ok 13: create valid tag * ok 14: check mytag * failed 10 among 14 test(s) *** t3900-i18n-commit.sh *** * ok 1: setup * ok 2: no encoding header for base case * ok 3: ISO-8859-1 setup * ok 4: EUCJP setup * ok 5: ISO-2022-JP setup * ok 6: check encoding header for ISO-8859-1 * ok 7: check encoding header for EUCJP * ok 8: check encoding header for ISO-2022-JP * ok 9: config to remove customization * FAIL 10: ISO-8859-1 should be shown in UTF-8 now compare_with ISO-8859-1 ../t3900/1-UTF-8.txt * FAIL 11: EUCJP should be shown in UTF-8 now compare_with EUCJP ../t3900/2-UTF-8.txt * FAIL 12: ISO-2022-JP should be shown in UTF-8 now compare_with ISO-2022-JP ../t3900/2-UTF-8.txt * ok 13: config to add customization * FAIL 14: ISO-8859-1 should be shown in itself now git config i18n.commitencoding ISO-8859-1 && compare_with ISO-8859-1 ../t3900/ISO-8859-1.txt * FAIL 15: EUCJP should be shown in itself now git config i18n.commitencoding EUCJP && compare_with EUCJP ../t3900/EUCJP.txt * FAIL 16: ISO-2022-JP should be shown in itself now git config i18n.commitencoding ISO-2022-JP && compare_with ISO-2022-JP ../t3900/ISO-2022-JP.txt * ok 17: config to tweak customization * FAIL 18: ISO-8859-1 should be shown in UTF-8 now compare_with ISO-8859-1 ../t3900/1-UTF-8.txt * FAIL 19: EUCJP should be shown in UTF-8 now compare_with EUCJP ../t3900/2-UTF-8.txt * FAIL 20: ISO-2022-JP should be shown in UTF-8 now compare_with ISO-2022-JP ../t3900/2-UTF-8.txt * FAIL 21: EUCJP should be shown in EUCJP now compare_with EUCJP ../t3900/EUCJP.txt * FAIL 22: ISO-2022-JP should be shown in EUCJP now compare_with ISO-2022-JP ../t3900/EUCJP.txt * FAIL 23: EUCJP should be shown in ISO-2022-JP now compare_with EUCJP ../t3900/ISO-2022-JP.txt * FAIL 24: ISO-2022-JP should be shown in ISO-2022-JP now compare_with ISO-2022-JP ../t3900/ISO-2022-JP.txt * FAIL 25: No conversion with ISO-8859-1 compare_with "--encoding=none ISO-8859-1" ../t3900/ISO-8859-1.txt * FAIL 26: No conversion with EUCJP compare_with "--encoding=none EUCJP" ../t3900/EUCJP.txt * FAIL 27: No conversion with ISO-2022-JP compare_with "--encoding=none ISO-2022-JP" ../t3900/ISO-2022-JP.txt * failed 16 among 27 test(s) *** t3901-i18n-patch.sh *** * ok 1: setup * ok 2: format-patch output (ISO-8859-1) * ok 3: format-patch output (UTF-8) * FAIL 4: rebase (U/U) # We want the result of rebase in UTF-8 git config i18n.commitencoding UTF-8 && # The test is about logoutputencoding not affecting the # final outcome -- it is used internally to generate the # patch and the log. git config i18n.logoutputencoding UTF-8 && # The result will be committed by GIT_COMMITTER_NAME -- # we want UTF-8 encoded name. . ../t3901-utf8.txt && git checkout -b test && git-rebase master && check_encoding 2 * FAIL 5: rebase (U/L) git config i18n.commitencoding UTF-8 && git config i18n.logoutputencoding ISO-8859-1 && . ../t3901-utf8.txt && git reset --hard side && git-rebase master && check_encoding 2 * FAIL 6: rebase (L/L) # In this test we want ISO-8859-1 encoded commits as the result git config i18n.commitencoding ISO-8859-1 && git config i18n.logoutputencoding ISO-8859-1 && . ../t3901-8859-1.txt && git reset --hard side && git-rebase master && check_encoding 2 8859 * FAIL 7: rebase (L/U) # This is pathological -- use UTF-8 as intermediate form # to get ISO-8859-1 results. git config i18n.commitencoding ISO-8859-1 && git config i18n.logoutputencoding UTF-8 && . ../t3901-8859-1.txt && git reset --hard side && git-rebase master && check_encoding 2 8859 * ok 8: cherry-pick(U/U) * ok 9: cherry-pick(L/L) * ok 10: cherry-pick(U/L) * ok 11: cherry-pick(L/U) * FAIL 12: rebase --merge (U/U) git config i18n.commitencoding UTF-8 && git config i18n.logoutputencoding UTF-8 && . ../t3901-utf8.txt && git reset --hard side && git-rebase --merge master && check_encoding 2 * FAIL 13: rebase --merge (U/L) git config i18n.commitencoding UTF-8 && git config i18n.logoutputencoding ISO-8859-1 && . ../t3901-utf8.txt && git reset --hard side && git-rebase --merge master && check_encoding 2 * FAIL 14: rebase --merge (L/L) # In this test we want ISO-8859-1 encoded commits as the result git config i18n.commitencoding ISO-8859-1 && git config i18n.logoutputencoding ISO-8859-1 && . ../t3901-8859-1.txt && git reset --hard side && git-rebase --merge master && check_encoding 2 8859 * FAIL 15: rebase --merge (L/U) # This is pathological -- use UTF-8 as intermediate form # to get ISO-8859-1 results. git config i18n.commitencoding ISO-8859-1 && git config i18n.logoutputencoding UTF-8 && . ../t3901-8859-1.txt && git reset --hard side && git-rebase --merge master && check_encoding 2 8859 * failed 8 among 15 test(s) *** t3902-quoted.sh *** * ok 1: setup * FAIL 2: check fully quoted output from ls-files git ls-files >current && diff -u expect.quoted current * FAIL 3: check fully quoted output from diff-files git diff --name-only >current && diff -u expect.quoted current * FAIL 4: check fully quoted output from diff-index git diff --name-only HEAD >current && diff -u expect.quoted current * FAIL 5: check fully quoted output from diff-tree git diff --name-only HEAD^ HEAD >current && diff -u expect.quoted current * ok 6: setting core.quotepath * FAIL 7: check fully quoted output from ls-files git ls-files >current && diff -u expect.raw current * FAIL 8: check fully quoted output from diff-files git diff --name-only >current && diff -u expect.raw current * FAIL 9: check fully quoted output from diff-index git diff --name-only HEAD >current && diff -u expect.raw current * FAIL 10: check fully quoted output from diff-tree git diff --name-only HEAD^ HEAD >current && diff -u expect.raw current * failed 8 among 10 test(s) *** t3903-stash.sh *** * ok 1: stash some dirty working directory * FAIL 2: parents of stash test $(git rev-parse stash^) = $(git rev-parse HEAD) && git diff stash^2..stash > output && diff -u output expect * ok 3: apply needs clean working directory * FAIL 4: apply stashed changes git add other-file && test_tick && git commit -m other-file && git stash apply && test 3 = $(cat file) && test 1 = $(git show :file) && test 1 = $(git show HEAD:file) * FAIL 5: apply stashed changes (including index) git reset --hard HEAD^ && echo 6 > other-file && git add other-file && test_tick && git commit -m other-file && git stash apply --index && test 3 = $(cat file) && test 2 = $(git show :file) && test 1 = $(git show HEAD:file) * ok 6: unstashing in a subdirectory * failed 3 among 6 test(s) *** t4000-diff-format.sh *** * ok 1: update-cache --add two files with and without +x. * ok 2: git diff-files -p after editing work tree. * filemode disabled on the filesystem * passed all 2 test(s) *** t4001-diff-rename.sh *** * ok 1: update-cache --add a file. * ok 2: write that tree. * ok 3: renamed and edited the file. * ok 4: git diff-index -p -M after rename and editing. * ok 5: validate the output. * ok 6: favour same basenames over different ones * ok 7: favour same basenames even with minor differences * passed all 7 test(s) *** t4002-diff-basic.sh *** * ok 1: adding test file NN and Z/NN * ok 2: adding test file ND and Z/ND * ok 3: adding test file NM and Z/NM * ok 4: adding test file DN and Z/DN * ok 5: adding test file DD and Z/DD * ok 6: adding test file DM and Z/DM * ok 7: adding test file MN and Z/MN * ok 8: adding test file MD and Z/MD * ok 9: adding test file MM and Z/MM * ok 10: adding test file SS * ok 11: adding test file TT * ok 12: prepare initial tree * ok 13: change in branch A (removal) * ok 14: change in branch A (modification) * ok 15: change in branch A (modification) * ok 16: change in branch A (modification) * ok 17: change in branch A (modification) * ok 18: change in branch A (modification) * ok 19: change in branch A (modification) * ok 20: change in branch A (addition) * ok 21: change in branch A (addition) * ok 22: change in branch A (addition) * ok 23: change in branch A (addition) * ok 24: change in branch A (addition) * ok 25: change in branch A (edit) * ok 26: change in branch A (change file to directory) * ok 27: recording branch A tree * ok 28: reading original tree and checking out * ok 29: change in branch B (removal) * ok 30: change in branch B (modification) * ok 31: change in branch B (modification) * ok 32: change in branch B (modification) * ok 33: change in branch B (modification) * ok 34: change in branch B (modification) * ok 35: change in branch B (modification) * ok 36: change in branch B (addition) * ok 37: change in branch B (addition) * ok 38: change in branch B (addition) * ok 39: change in branch B (addition) * ok 40: change in branch B (addition and modification) * ok 41: change in branch B (modification) * ok 42: change in branch B (addition of a file to conflict with directory) * ok 43: recording branch B tree * ok 44: keep contents of 3 trees for easy access * FAIL 45: diff-tree of known trees. git diff-tree $tree_O $tree_A >.test-a && cmp -s .test-a .test-plain-OA * FAIL 46: diff-tree of known trees. git diff-tree -r $tree_O $tree_A >.test-a && cmp -s .test-a .test-recursive-OA * FAIL 47: diff-tree of known trees. git diff-tree $tree_O $tree_B >.test-a && cmp -s .test-a .test-plain-OB * FAIL 48: diff-tree of known trees. git diff-tree -r $tree_O $tree_B >.test-a && cmp -s .test-a .test-recursive-OB * FAIL 49: diff-tree of known trees. git diff-tree $tree_A $tree_B >.test-a && cmp -s .test-a .test-plain-AB * FAIL 50: diff-tree of known trees. git diff-tree -r $tree_A $tree_B >.test-a && cmp -s .test-a .test-recursive-AB * FAIL 51: diff-cache O with A in cache git read-tree $tree_A && git diff-index --cached $tree_O >.test-a && cmp -s .test-a .test-recursive-OA * FAIL 52: diff-cache O with B in cache git read-tree $tree_B && git diff-index --cached $tree_O >.test-a && cmp -s .test-a .test-recursive-OB * FAIL 53: diff-cache A with B in cache git read-tree $tree_B && git diff-index --cached $tree_A >.test-a && cmp -s .test-a .test-recursive-AB * FAIL 54: diff-files with O in cache and A checked out rm -fr Z [A-Z][A-Z] && git read-tree $tree_A && git checkout-index -f -a && git read-tree --reset $tree_O || return 1 git update-index --refresh >/dev/null ;# this can exit non-zero git diff-files >.test-a && cmp_diff_files_output .test-a .test-recursive-OA * FAIL 55: diff-files with O in cache and B checked out rm -fr Z [A-Z][A-Z] && git read-tree $tree_B && git checkout-index -f -a && git read-tree --reset $tree_O || return 1 git update-index --refresh >/dev/null ;# this can exit non-zero git diff-files >.test-a && cmp_diff_files_output .test-a .test-recursive-OB * FAIL 56: diff-files with A in cache and B checked out rm -fr Z [A-Z][A-Z] && git read-tree $tree_B && git checkout-index -f -a && git read-tree --reset $tree_A || return 1 git update-index --refresh >/dev/null ;# this can exit non-zero git diff-files >.test-a && cmp_diff_files_output .test-a .test-recursive-AB * ok 57: diff-tree O A == diff-tree -R A O * ok 58: diff-tree -r O A == diff-tree -r -R A O * ok 59: diff-tree B A == diff-tree -R A B * ok 60: diff-tree -r B A == diff-tree -r -R A B * failed 12 among 60 test(s) *** t4003-diff-rename-1.sh *** * ok 1: prepare reference tree * ok 2: prepare work tree * FAIL 3: validate output from rename/copy detection (#1) compare_diff_patch current expected * ok 4: prepare work tree again * FAIL 5: validate output from rename/copy detection (#2) compare_diff_patch current expected * ok 6: prepare work tree once again * FAIL 7: validate output from rename/copy detection (#3) compare_diff_patch current expected * failed 3 among 7 test(s) *** t4004-diff-rename-symlink.sh *** * ok 1: prepare reference tree * ok 2: prepare work tree * ok 3: validate diff output * passed all 3 test(s) *** t4005-diff-rename-2.sh *** * ok 1: prepare reference tree * ok 2: prepare work tree * ok 3: validate output from rename/copy detection (#1) * ok 4: prepare work tree again * ok 5: validate output from rename/copy detection (#2) * ok 6: prepare work tree once again * ok 7: validate output from rename/copy detection (#3) * passed all 7 test(s) *** t4006-diff-mode.sh *** * ok 1: setup * filemode disabled on the filesystem, using update-index --chmod=+x * ok 2: git update-index --chmod=+x * ok 3: verify * passed all 3 test(s) *** t4007-rename-3.sh *** * ok 1: prepare reference tree * ok 2: prepare work tree * ok 3: validate the result (#1) * ok 4: validate the result (#2) * ok 5: tweak work tree * ok 6: validate the result (#3) * ok 7: validate the result (#4) * passed all 7 test(s) *** t4008-diff-break-rewrite.sh *** * ok 1: setup * ok 2: change file1 with copy-edit of file0 and remove file0 * ok 3: run diff with -B * ok 4: validate result of -B (#1) * ok 5: run diff with -B and -M * ok 6: validate result of -B -M (#2) * ok 7: swap file0 and file1 * ok 8: run diff with -B * ok 9: validate result of -B (#3) * ok 10: run diff with -B and -M * ok 11: validate result of -B -M (#4) * ok 12: make file0 into something completely different * ok 13: run diff with -B * ok 14: validate result of -B (#5) * ok 15: run diff with -B * ok 16: validate result of -B -M (#6) * ok 17: run diff with -M * ok 18: validate result of -M (#7) * ok 19: file1 edited to look like file0 and file0 rename-edited to file2 * ok 20: run diff with -B * ok 21: validate result of -B (#8) * ok 22: run diff with -B -M * ok 23: validate result of -B -M (#9) * passed all 23 test(s) *** t4009-diff-rename-4.sh *** * ok 1: prepare reference tree * ok 2: prepare work tree * ok 3: validate output from rename/copy detection (#1) * ok 4: prepare work tree again * ok 5: validate output from rename/copy detection (#2) * ok 6: prepare work tree once again * ok 7: validate output from rename/copy detection (#3) * passed all 7 test(s) *** t4010-diff-pathspec.sh *** * ok 1: setup * ok 2: limit to path should show nothing * ok 3: limit to path1 should show path1/file1 * ok 4: limit to path1/ should show path1/file1 * ok 5: limit to file0 should show file0 * ok 6: limit to file0/ should emit nothing. * passed all 6 test(s) *** t4011-diff-symlink.sh *** * ok 1: diff new symlink * ok 2: diff unchanged symlink * ok 3: diff removed symlink * ok 4: diff identical, but newly created symlink * ok 5: diff different symlink * passed all 5 test(s) *** t4012-diff-binary.sh *** * ok 1: prepare repository * FAIL 2: diff without --binary git diff | git apply --stat --summary >current && cmp current expected * FAIL 3: diff with --binary git diff --binary | git apply --stat --summary >current && cmp current expected * FAIL 4: apply detecting corrupt patch correctly git diff | sed -e s/-CIT/xCIT/ >broken && if git apply --stat --summary broken 2>detected then echo unhappy - should have detected an error (exit 1) else echo happy fi && detected=`cat detected` && detected=`expr "$detected" : "fatal.*at line \\([0-9]*\\)\$"` && detected=`sed -ne "${detected}p" broken` && test "$detected" = xCIT * FAIL 5: apply detecting corrupt patch correctly git diff --binary | sed -e s/-CIT/xCIT/ >broken && if git apply --stat --summary broken 2>detected then echo unhappy - should have detected an error (exit 1) else echo happy fi && detected=`cat detected` && detected=`expr "$detected" : "fatal.*at line \\([0-9]*\\)\$"` && detected=`sed -ne "${detected}p" broken` && test "$detected" = xCIT * ok 6: initial commit * FAIL 7: diff-index with --binary echo AIT >a && mv b e && echo CIT >c && cat e >d && git update-index --add --remove a b c d e && tree0=`git write-tree` && git diff --cached --binary >current && git apply --stat --summary current * ok 8: apply binary patch * failed 5 among 8 test(s) *** t4013-diff-various.sh *** * ok 1: setup * FAIL 2: git diff-tree initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 3: git diff-tree -r initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 4: git diff-tree -r --abbrev initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 5: git diff-tree -r --abbrev=4 initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 6: git diff-tree --root initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 7: git diff-tree --root --abbrev initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 8: git diff-tree --root -r initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 9: git diff-tree --root -r --abbrev initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 10: git diff-tree --root -r --abbrev=4 initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 11: git diff-tree -p initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 12: git diff-tree --root -p initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 13: git diff-tree --patch-with-stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 14: git diff-tree --root --patch-with-stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 15: git diff-tree --patch-with-raw initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 16: git diff-tree --root --patch-with-raw initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 17: git diff-tree --pretty initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 18: git diff-tree --pretty --root initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 19: git diff-tree --pretty -p initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 20: git diff-tree --pretty --stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 21: git diff-tree --pretty --summary initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 22: git diff-tree --pretty --stat --summary initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 23: git diff-tree --pretty --root -p initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 24: git diff-tree --pretty --root --stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 25: git diff-tree --pretty --root --summary initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 26: git diff-tree --pretty --root --summary -r initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 27: git diff-tree --pretty --root --stat --summary initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 28: git diff-tree --pretty --patch-with-stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 29: git diff-tree --pretty --root --patch-with-stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 30: git diff-tree --pretty --patch-with-raw initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 31: git diff-tree --pretty --root --patch-with-raw initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 32: git diff-tree --pretty=oneline initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 33: git diff-tree --pretty=oneline --root initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 34: git diff-tree --pretty=oneline -p initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 35: git diff-tree --pretty=oneline --root -p initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 36: git diff-tree --pretty=oneline --patch-with-stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 37: git diff-tree --pretty=oneline --root --patch-with-stat initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 38: git diff-tree --pretty=oneline --patch-with-raw initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 39: git diff-tree --pretty=oneline --root --patch-with-raw initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 40: git diff-tree --pretty side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 41: git diff-tree --pretty -p side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 42: git diff-tree --pretty --patch-with-stat side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 43: git diff-tree master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 44: git diff-tree -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 45: git diff-tree -p -m master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 46: git diff-tree -c master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 47: git diff-tree -c --abbrev master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 48: git diff-tree --cc master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 49: git diff-tree -c --stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 50: git diff-tree --cc --stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 51: git diff-tree -c --stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 52: git diff-tree --cc --stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 53: git diff-tree -c --stat --summary side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 54: git diff-tree --cc --stat --summary side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 55: git diff-tree --cc --patch-with-stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 56: git diff-tree --cc --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 57: git diff-tree --cc --patch-with-stat --summary side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 58: git log master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 59: git log -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 60: git log --root master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 61: git log --root -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 62: git log --patch-with-stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 63: git log --root --patch-with-stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 64: git log --root --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 65: git log --root -c --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 66: git log --root --cc --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 67: git log -SF master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 68: git log -SF -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 69: git whatchanged master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 70: git whatchanged -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 71: git whatchanged --root master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 72: git whatchanged --root -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 73: git whatchanged --patch-with-stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 74: git whatchanged --root --patch-with-stat master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 75: git whatchanged --root --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 76: git whatchanged --root -c --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 77: git whatchanged --root --cc --patch-with-stat --summary master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 78: git whatchanged -SF master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 79: git whatchanged -SF -p master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 80: git log --patch-with-stat master -- dir/ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 81: git whatchanged --patch-with-stat master -- dir/ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 82: git log --patch-with-stat --summary master -- dir/ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 83: git whatchanged --patch-with-stat --summary master -- dir/ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 84: git show initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 85: git show --root initial { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 86: git show side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 87: git show master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 88: git show --stat side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 89: git show --stat --summary side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 90: git show --patch-with-stat side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 91: git show --patch-with-raw side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 92: git show --patch-with-stat --summary side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 93: git format-patch --stdout initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 94: git format-patch --stdout initial..master^ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 95: git format-patch --stdout initial..master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 96: git format-patch --attach --stdout initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 97: git format-patch --attach --stdout initial..master^ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 98: git format-patch --attach --stdout initial..master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 99: git format-patch --inline --stdout initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 100: git format-patch --inline --stdout initial..master^ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 101: git format-patch --inline --stdout initial..master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 102: git format-patch --inline --stdout --subject-prefix=TESTCASE initial..master { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 103: git config format.subjectprefix DIFFERENT_PREFIX { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 104: git format-patch --inline --stdout initial..master^^ { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 105: git diff --abbrev initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 106: git diff -r initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 107: git diff --stat initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 108: git diff -r --stat initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 109: git diff initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 110: git diff --patch-with-stat initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 111: git diff --patch-with-raw initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 112: git diff --patch-with-stat -r initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 113: git diff --patch-with-raw -r initial..side { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 114: git diff --name-status dir2 dir { echo "\$ git $cmd" git $cmd | sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \ -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/" echo "\$" } >"$actual" && if test -f "$expect" then git diff "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * failed 113 among 114 test(s) *** t4014-format-patch.sh *** * ok 1: setup * ok 2: format-patch --ignore-if-in-upstream * ok 3: format-patch --ignore-if-in-upstream * FAIL 4: format-patch result applies git checkout -b rebuild-0 master && git am -3 patch0 && cnt=`git rev-list master.. | wc -l` && test $cnt = 2 * FAIL 5: format-patch --ignore-if-in-upstream result applies git checkout -b rebuild-1 master && git am -3 patch1 && cnt=`git rev-list master.. | wc -l` && test $cnt = 2 * ok 6: commit did not screw up the log message * ok 7: format-patch did not screw up the log message * FAIL 8: replay did not screw up the log message git cat-file commit rebuild-1 | grep "^Side .* with .* backslash-n" * failed 3 among 8 test(s) *** t4015-diff-whitespace.sh *** * FAIL 1: Ray's example without options git diff expect out * FAIL 2: Ray's example with -w git diff expect out * FAIL 3: Ray's example with -b git diff expect out * FAIL 4: another test, without options git diff expect out * FAIL 5: another test, with -w git diff expect out * FAIL 6: another test, with -b git diff expect out * failed 6 among 6 test(s) *** t4016-diff-quote.sh *** * passed all 0 test(s) *** t4017-diff-retval.sh *** * ok 1: setup * ok 2: git diff-tree HEAD^ HEAD * ok 3: git diff-tree HEAD^ HEAD -- a * ok 4: git diff-tree HEAD^ HEAD -- b * ok 5: echo HEAD | git diff-tree --stdin * ok 6: git diff-tree HEAD HEAD * ok 7: git diff-files * ok 8: git diff-index --cached HEAD * ok 9: git diff-index --cached HEAD^ * ok 10: git diff-index --cached HEAD^ * ok 11: git diff-tree -Stext HEAD^ HEAD -- b * ok 12: git diff-tree -Snot-found HEAD^ HEAD -- b * ok 13: git diff-files * ok 14: git diff-index --cached HEAD * passed all 14 test(s) *** t4017-quiet.sh *** * ok 1: setup * ok 2: git diff-tree HEAD^ HEAD * ok 3: git diff-tree HEAD^ HEAD -- a * ok 4: git diff-tree HEAD^ HEAD -- b * ok 5: echo HEAD | git diff-tree --stdin * ok 6: git diff-tree HEAD HEAD * ok 7: git diff-files * ok 8: git diff-index --cached HEAD * ok 9: git diff-index --cached HEAD^ * ok 10: git diff-index --cached HEAD^ * ok 11: git diff-tree -Stext HEAD^ HEAD -- b * ok 12: git diff-tree -Snot-found HEAD^ HEAD -- b * ok 13: git diff-files * ok 14: git diff-index --cached HEAD * passed all 14 test(s) *** t4018-diff-funcname.sh *** * FAIL 1: default behaviour git diff Beer.java Beer-correct.java | grep "^@@.*@@ public class Beer" * FAIL 2: preset java pattern echo "*.java diff=java" >.gitattributes && git diff Beer.java Beer-correct.java | grep "^@@.*@@ public static void main(" * FAIL 3: custom pattern git diff Beer.java Beer-correct.java | grep "^@@.*@@ int special;$" * ok 4: last regexp must not be negated * failed 3 among 4 test(s) *** t4020-diff-external.sh *** * ok 1: setup * ok 2: GIT_EXTERNAL_DIFF environment * ok 3: GIT_EXTERNAL_DIFF environment should apply only to diff * ok 4: diff attribute * ok 5: diff attribute should apply only to diff * ok 6: diff attribute * ok 7: diff attribute should apply only to diff * ok 8: no diff with -diff * ok 9: force diff with "diff" * passed all 9 test(s) *** t4100-apply-stat.sh *** * FAIL 1: rename git apply --stat --summary <../t4100/t-apply-1.patch >current && git diff ../t4100/t-apply-1.expect current * FAIL 2: copy git apply --stat --summary <../t4100/t-apply-2.patch >current && git diff ../t4100/t-apply-2.expect current * FAIL 3: rewrite git apply --stat --summary <../t4100/t-apply-3.patch >current && git diff ../t4100/t-apply-3.expect current * FAIL 4: mode git apply --stat --summary <../t4100/t-apply-4.patch >current && git diff ../t4100/t-apply-4.expect current * FAIL 5: non git git apply --stat --summary <../t4100/t-apply-5.patch >current && git diff ../t4100/t-apply-5.expect current * FAIL 6: non git git apply --stat --summary <../t4100/t-apply-6.patch >current && git diff ../t4100/t-apply-6.expect current * FAIL 7: non git git apply --stat --summary <../t4100/t-apply-7.patch >current && git diff ../t4100/t-apply-7.expect current * failed 7 among 7 test(s) *** t4101-apply-nonl.sh *** * FAIL 1: apply diff between 0 and 1 git apply <../t4101/diff.0-1 && diff frotz.1 frotz * FAIL 2: apply diff between 0 and 2 git apply <../t4101/diff.0-2 && diff frotz.2 frotz * FAIL 3: apply diff between 0 and 3 git apply <../t4101/diff.0-3 && diff frotz.3 frotz * FAIL 4: apply diff between 1 and 0 git apply <../t4101/diff.1-0 && diff frotz.0 frotz * FAIL 5: apply diff between 1 and 2 git apply <../t4101/diff.1-2 && diff frotz.2 frotz * FAIL 6: apply diff between 1 and 3 git apply <../t4101/diff.1-3 && diff frotz.3 frotz * FAIL 7: apply diff between 2 and 0 git apply <../t4101/diff.2-0 && diff frotz.0 frotz * FAIL 8: apply diff between 2 and 1 git apply <../t4101/diff.2-1 && diff frotz.1 frotz * FAIL 9: apply diff between 2 and 3 git apply <../t4101/diff.2-3 && diff frotz.3 frotz * FAIL 10: apply diff between 3 and 0 git apply <../t4101/diff.3-0 && diff frotz.0 frotz * FAIL 11: apply diff between 3 and 1 git apply <../t4101/diff.3-1 && diff frotz.1 frotz * FAIL 12: apply diff between 3 and 2 git apply <../t4101/diff.3-2 && diff frotz.2 frotz * failed 12 among 12 test(s) *** t4102-apply-rename.sh *** * ok 1: setup * FAIL 2: apply git apply --index --stat --summary --apply test-patch * filemode disabled on the filesystem * FAIL 3: apply reverse git apply -R --index --stat --summary --apply test-patch && test "$(cat foo)" = "This is foo" * FAIL 4: apply copy git apply --index --stat --summary --apply test-patch && test "$(cat bar)" = "This is bar" -a "$(cat foo)" = "This is foo" * failed 3 among 4 test(s) *** t4103-apply-binary.sh *** Created initial commit 6064ce6: Initial Version 3 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 file1 create mode 100644 file2 create mode 100644 file4 Created commit c6c5386: Second Version 4 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 file2 create mode 100644 file3 * FAIL 1: stat binary diff -- should not fail. git-checkout master git apply --stat --summary B.diff * FAIL 2: stat binary diff (copy) -- should not fail. git-checkout master git apply --stat --summary C.diff * ok 3: check binary diff -- should fail. * ok 4: check binary diff (copy) -- should fail. * ok 5: check incomplete binary diff with replacement -- should fail. * ok 6: check incomplete binary diff with replacement (copy) -- should fail. * FAIL 7: check binary diff with replacement. git-checkout master git apply --check --allow-binary-replacement BF.diff * FAIL 8: check binary diff with replacement (copy). git-checkout master git apply --check --allow-binary-replacement CF.diff * ok 9: apply binary diff -- should fail. * ok 10: apply binary diff -- should fail. * ok 11: apply binary diff (copy) -- should fail. * ok 12: apply binary diff (copy) -- should fail. * FAIL 13: apply binary diff without replacement. do_reset git apply BF.diff * FAIL 14: apply binary diff without replacement (copy). do_reset git apply CF.diff * FAIL 15: apply binary diff. do_reset git apply --allow-binary-replacement --index BF.diff && test -z "$(git diff --name-status binary)" * FAIL 16: apply binary diff (copy). do_reset git apply --allow-binary-replacement --index CF.diff && test -z "$(git diff --name-status binary)" * failed 8 among 16 test(s) *** t4104-apply-boundary.sh *** * ok 1: setup * FAIL 2: apply add-a-patch with context cat original >victim && git update-index victim && git apply --index add-a-patch.with || { cat add-a-patch.with (exit 1) } && git diff add-a-expect victim * FAIL 3: apply add-z-patch with context cat original >victim && git update-index victim && git apply --index add-z-patch.with || { cat add-z-patch.with (exit 1) } && git diff add-z-expect victim * FAIL 4: apply mod-a-patch with context cat original >victim && git update-index victim && git apply --index mod-a-patch.with || { cat mod-a-patch.with (exit 1) } && git diff mod-a-expect victim * FAIL 5: apply mod-z-patch with context cat original >victim && git update-index victim && git apply --index mod-z-patch.with || { cat mod-z-patch.with (exit 1) } && git diff mod-z-expect victim * FAIL 6: apply del-a-patch with context cat original >victim && git update-index victim && git apply --index del-a-patch.with || { cat del-a-patch.with (exit 1) } && git diff del-a-expect victim * FAIL 7: apply del-z-patch with context cat original >victim && git update-index victim && git apply --index del-z-patch.with || { cat del-z-patch.with (exit 1) } && git diff del-z-expect victim * FAIL 8: apply add-a-patch without context cat original >victim && git update-index victim && git apply --index --unidiff-zero add-a-patch.without || { cat add-a-patch.without (exit 1) } && git diff add-a-expect victim * FAIL 9: apply add-z-patch without context cat original >victim && git update-index victim && git apply --index --unidiff-zero add-z-patch.without || { cat add-z-patch.without (exit 1) } && git diff add-z-expect victim * FAIL 10: apply mod-a-patch without context cat original >victim && git update-index victim && git apply --index --unidiff-zero mod-a-patch.without || { cat mod-a-patch.without (exit 1) } && git diff mod-a-expect victim * FAIL 11: apply mod-z-patch without context cat original >victim && git update-index victim && git apply --index --unidiff-zero mod-z-patch.without || { cat mod-z-patch.without (exit 1) } && git diff mod-z-expect victim * FAIL 12: apply del-a-patch without context cat original >victim && git update-index victim && git apply --index --unidiff-zero del-a-patch.without || { cat del-a-patch.without (exit 1) } && git diff del-a-expect victim * FAIL 13: apply del-z-patch without context cat original >victim && git update-index victim && git apply --index --unidiff-zero del-z-patch.without || { cat del-z-patch.without (exit 1) } && git diff del-z-expect victim * ok 14: apply non-git add-a-patch without context * ok 15: apply non-git add-z-patch without context * ok 16: apply non-git mod-a-patch without context * ok 17: apply non-git mod-z-patch without context * ok 18: apply non-git del-a-patch without context * ok 19: apply non-git del-z-patch without context * failed 12 among 19 test(s) *** t4109-apply-multifrag.sh *** * ok 1: S = git apply (1) * FAIL 2: S = patch (1) cat patch1.patch patch2.patch | patch -p1 * FAIL 3: S = cmp (1) cmp main.c.git main.c * ok 4: S = git apply (2) * FAIL 5: S = patch (2) cat patch1.patch patch2.patch patch3.patch | patch -p1 * FAIL 6: S = cmp (2) cmp main.c.git main.c * ok 7: S = git apply (3) * FAIL 8: S = patch (3) cat patch1.patch patch4.patch | patch -p1 * FAIL 9: S = cmp (3) cmp main.c.git main.c * failed 6 among 9 test(s) *** t4110-apply-scan.sh *** * ok 1: S = git apply scan * FAIL 2: S = patch scan cat patch1.patch patch2.patch patch3.patch patch4.patch patch5.patch | patch * FAIL 3: S = cmp cmp apply.txt patch.txt * failed 2 among 3 test(s) *** t4112-apply-renames.sh *** * ok 1: check rename/copy patch * ok 2: apply rename/copy patch * passed all 2 test(s) *** t4113-apply-ending.sh *** * ok 1: setup * ok 2: apply at the end * ok 3: apply at the beginning * passed all 3 test(s) *** t4114-apply-typechange.sh *** * ok 1: setup repository and commits * ok 2: file renamed from foo to foo/baz * ok 3: file renamed from foo/baz to foo * ok 4: directory becomes file * ok 5: file becomes directory * ok 6: file becomes symlink * ok 7: symlink becomes file * ok 8: symlink becomes directory * ok 9: directory becomes symlink * passed all 9 test(s) *** t4115-apply-symlink.sh *** * ok 1: setup * FAIL 2: apply symlink patch git checkout side && git apply patch && git diff-files -p >patched && git diff patch patched * FAIL 3: apply --index symlink patch git checkout -f side && git apply --index patch && git diff-index --cached -p HEAD >patched && git diff patch patched * failed 2 among 3 test(s) *** t4116-apply-reverse.sh *** * ok 1: setup * FAIL 2: apply in forward T0=`git rev-parse "second^{tree}"` && git reset --hard initial && git apply --index --binary patch && T1=`git write-tree` && test "$T0" = "$T1" * FAIL 3: apply in reverse git reset --hard second && git apply --reverse --binary --index patch && git diff >diff && git diff /dev/null diff * ok 4: setup separate repository lacking postimage * FAIL 5: apply in forward without postimage T0=`git rev-parse "second^{tree}"` && ( cd initial && git apply --index --binary ../patch && T1=`git write-tree` && test "$T0" = "$T1" ) * FAIL 6: apply in reverse without postimage T0=`git rev-parse "initial^{tree}"` && ( cd second && git apply --index --binary --reverse ../patch && T1=`git write-tree` && test "$T0" = "$T1" ) * FAIL 7: reversing a whitespace introduction sed "s/a/a /" < file1 > file1.new && mv file1.new file1 && git diff | git apply --reverse --whitespace=error * failed 5 among 7 test(s) *** t4117-apply-reject.sh *** * ok 1: setup * ok 2: apply without --reject should fail * ok 3: apply without --reject should fail * FAIL 4: apply with --reject should fail but update the file cat saved.file1 >file1 && rm -f file1.rej file2.rej && if git apply --reject patch.1 then echo "succeeds with --reject?" exit 1 fi git diff file1 expected && cat file1.rej && if test -f file2.rej then echo "file2 should not have been touched" exit 1 fi * FAIL 5: apply with --reject should fail but update the file cat saved.file1 >file1 && rm -f file1.rej file2.rej file2 && if git apply --reject patch.2 >rejects then echo "succeeds with --reject?" exit 1 fi test -f file1 && { echo "file1 still exists?" exit 1 } git diff file2 expected && cat file2.rej && if test -f file1.rej then echo "file2 should not have been touched" exit 1 fi * FAIL 6: the same test with --verbose cat saved.file1 >file1 && rm -f file1.rej file2.rej file2 && if git apply --reject --verbose patch.2 >rejects then echo "succeeds with --reject?" exit 1 fi test -f file1 && { echo "file1 still exists?" exit 1 } git diff file2 expected && cat file2.rej && if test -f file1.rej then echo "file2 should not have been touched" exit 1 fi * FAIL 7: apply cleanly with --verbose git cat-file -p HEAD:file1 >file1 && rm -f file?.rej file2 && git apply --verbose patch.1 && git diff file1 clean * failed 4 among 7 test(s) *** t4118-apply-empty-context.sh *** * ok 1: setup * FAIL 2: apply --numstat git apply --numstat diff.output >actual && { echo "0 1 file1" && echo "0 1 file2" } >expect && git diff expect actual * FAIL 3: apply --apply cat file1.orig >file1 && cat file2.orig >file2 && git update-index file1 file2 && git apply --index diff.output && git diff file1.mods file1 && git diff file2.mods file2 * failed 2 among 3 test(s) *** t4119-apply-config.sh *** * ok 1: setup * FAIL 2: apply --whitespace=strip rm -f sub/file1 && cp saved sub/file1 && git update-index --refresh && git apply --whitespace=strip patch.file && check_result sub/file1 * FAIL 3: apply --whitespace=strip from config rm -f sub/file1 && cp saved sub/file1 && git update-index --refresh && git config apply.whitespace strip && git apply patch.file && check_result sub/file1 * FAIL 4: apply --whitespace=strip in subdir cd "$D" && git config --unset-all apply.whitespace rm -f sub/file1 && cp saved sub/file1 && git update-index --refresh && cd sub && git apply --whitespace=strip ../patch.file && check_result file1 * FAIL 5: apply --whitespace=strip from config in subdir cd "$D" && git config apply.whitespace strip && rm -f sub/file1 && cp saved sub/file1 && git update-index --refresh && cd sub && git apply ../patch.file && check_result file1 * FAIL 6: same in subdir but with traditional patch input cd "$D" && git config apply.whitespace strip && rm -f sub/file1 && cp saved sub/file1 && git update-index --refresh && cd sub && git apply ../gpatch.file && check_result file1 * ok 7: same but with traditional patch input of depth 1 * ok 8: same but with traditional patch input of depth 2 * ok 9: same but with traditional patch input of depth 1 * ok 10: same but with traditional patch input of depth 2 * failed 5 among 10 test(s) *** t4120-apply-popt.sh *** * ok 1: setup * FAIL 2: apply git diff with -p2 git apply -p2 patch.file * failed 1 among 2 test(s) *** t4121-apply-diffs.sh *** * ok 1: setup * FAIL 2: check if contextually independent diffs for the same file apply ( git diff test~2 test~1; git diff test~1 test~0 )| git apply * failed 1 among 2 test(s) *** t4122-apply-symlink-inside.sh *** * ok 1: setup * FAIL 2: apply git checkout test && git diff --exit-code test && git diff --exit-code --cached test && git apply --index test.patch * FAIL 3: check result git diff --exit-code master && git diff --exit-code --cached master && test_tick && git commit -m replay && T1=$(git rev-parse "master^{tree}") && T2=$(git rev-parse "HEAD^{tree}") && test "z$T1" = "z$T2" * failed 2 among 3 test(s) *** t4200-rerere.sh *** * ok 1: nothing recorded without rerere * ok 2: conflicting merge * ok 3: recorded preimage * ok 4: rerere.enabled works, too * ok 5: no postimage or thisimage yet * FAIL 6: preimage has right number of lines cnt=$(sed -ne "/^<<<<<<>>>>>>/p" $rr/preimage | wc -l) && test $cnt = 9 * FAIL 7: rerere diff git diff expect out * FAIL 8: rerere status git diff expect out * ok 9: commit succeeds * ok 10: recorded postimage * ok 11: another conflicting merge * FAIL 12: rerere kicked in ! grep ======= a1 * FAIL 13: rerere prefers first change git diff a1 expect * ok 14: rerere clear * ok 15: clear removed the directory * ok 16: garbage collection (part1) * ok 17: young records still live * ok 18: garbage collection (part2) * ok 19: old records rest in peace * ok 20: file2 added differently in two branches * FAIL 21: resolution was recorded properly git reset --hard HEAD~2 && git checkout -b fifth && echo Hallo > file3 && git add file3 && git commit -m version1 && git checkout third && echo Bello > file3 && git add file3 && git commit -m version2 && ! git merge fifth && git diff-files -q && test Cello = "$(cat file3)" * failed 6 among 21 test(s) *** t4201-shortlog.sh *** * ok 1: shortlog wrapping * passed all 1 test(s) *** t5000-tar-tree.sh *** * ok 1: populate workdir * ok 2: add files to repository * ok 3: git archive * ok 4: git tar-tree * ok 5: git archive vs. git tar-tree * FAIL 6: validate file modification time TZ=GMT $TAR tvf b.tar a/a | awk \{print\ \$4,\ \(length\(\$5\)\<7\)\ ?\ \$5\":00\"\ :\ \$5\} \ >b.mtime && echo "2005-05-27 22:00:00" >expected.mtime && diff expected.mtime b.mtime * ok 7: git get-tar-commit-id * FAIL 8: extract tar archive (cd b && $TAR xf -) b.lst && diff a.lst b.lst * FAIL 10: validate file contents diff -r a b/a * ok 11: git tar-tree with prefix * FAIL 12: extract tar archive with prefix (cd c && $TAR xf -) c.lst && diff a.lst c.lst * FAIL 14: validate file contents with prefix diff -r a c/prefix/a * ok 15: git archive --format=zip Skipping ZIP tests, because unzip was not found * failed 7 among 15 test(s) *** t5100-mailinfo.sh *** * FAIL 1: split sample box git mailsplit -o. ../t5100/sample.mbox >last && last=`cat last` && echo total is $last && test `cat last` = 8 * ok 2: mailinfo 0001 * ok 3: mailinfo 0002 * ok 4: mailinfo 0003 * ok 5: mailinfo 0004 * ok 6: mailinfo 0005 * ok 7: mailinfo 0006 * ok 8: mailinfo 0007 * ok 9: mailinfo 0008 * failed 1 among 9 test(s) *** t5300-pack-object.sh *** * ok 1: setup * ok 2: pack without delta * ok 3: unpack without delta * ok 4: check unpack without delta * ok 5: pack with REF_DELTA * ok 6: unpack with REF_DELTA * ok 7: check unpack with REF_DELTA * ok 8: pack with OFS_DELTA * ok 9: unpack with OFS_DELTA * ok 10: check unpack with OFS_DELTA * ok 11: compare delta flavors * ok 12: use packed objects * ok 13: use packed deltified (REF_DELTA) objects * ok 14: use packed deltified (OFS_DELTA) objects * ok 15: verify pack * ok 16: corrupt a pack and see if verify catches * ok 17: build pack index for an existing pack * ok 18: fake a SHA1 hash collision * ok 19: make sure index-pack detects the SHA1 collision * passed all 19 test(s) *** t5301-sliding-window.sh *** * ok 1: setup * ok 2: verify-pack -v, defaults * ok 3: verify-pack -v, packedGitWindowSize == 1 page * ok 4: verify-pack -v, packedGit{WindowSize,Limit} == 1 page * ok 5: repack -a -d, packedGit{WindowSize,Limit} == 1 page * ok 6: verify-pack -v, defaults * passed all 6 test(s) *** t5302-pack-index.sh *** * ok 1: setup * ok 2: pack-objects with index version 1 * ok 3: pack-objects with index version 2 * ok 4: both packs should be identical * ok 5: index v1 and index v2 should be different * ok 6: index-pack with index version 1 * ok 7: index-pack with index version 2 * ok 8: index-pack results should match pack-objects ones * ok 9: index v2: force some 64-bit offsets with pack-objects * ok 10: 64-bit offsets: should be different from previous index v2 results * ok 11: index v2: force some 64-bit offsets with index-pack * ok 12: 64-bit offsets: index-pack result should match pack-objects one * FAIL 13: [index v1] 1) stream pack to repository git-index-pack --index-version=1 --stdin < "test-1-${pack1}.pack" && git prune-packed && git count-objects | ( read nr rest && test "$nr" -eq 1 ) && cmp "test-1-${pack1}.pack" ".git/objects/pack/pack-${pack1}.pack" && cmp "test-1-${pack1}.idx" ".git/objects/pack/pack-${pack1}.idx" * FAIL 14: [index v1] 2) create a stealth corruption in a delta base reference # this test assumes a delta smaller than 16 bytes at the end of the pack git show-index <1.idx | sort -n | tail -n 1 | ( read delta_offs delta_sha1 && git cat-file blob "$delta_sha1" > blob_1 && chmod +w ".git/objects/pack/pack-${pack1}.pack" && dd of=".git/objects/pack/pack-${pack1}.pack" seek=$(($delta_offs + 1)) \ if=".git/objects/pack/pack-${pack1}.idx" skip=$((256 * 4 + 4)) \ bs=1 count=20 conv=notrunc && git cat-file blob "$delta_sha1" > blob_2 ) * ok 15: [index v1] 3) corrupted delta happily returned wrong data * FAIL 16: [index v1] 4) confirm that the pack is actually corrupted git fsck --full $commit * ok 17: [index v1] 5) pack-objects happily reuses corrupted data * FAIL 18: [index v1] 6) newly created pack is BAD ! git verify-pack -v "test-4-${pack1}.pack" * FAIL 19: [index v2] 1) stream pack to repository rm -f .git/objects/pack/* && git-index-pack --index-version=2,0x40000 --stdin < "test-1-${pack1}.pack" && git prune-packed && git count-objects | ( read nr rest && test "$nr" -eq 1 ) && cmp "test-1-${pack1}.pack" ".git/objects/pack/pack-${pack1}.pack" && cmp "test-3-${pack1}.idx" ".git/objects/pack/pack-${pack1}.idx" * FAIL 20: [index v2] 2) create a stealth corruption in a delta base reference # this test assumes a delta smaller than 16 bytes at the end of the pack git show-index <1.idx | sort -n | tail -n 1 | ( read delta_offs delta_sha1 delta_crc && git cat-file blob "$delta_sha1" > blob_3 && chmod +w ".git/objects/pack/pack-${pack1}.pack" && dd of=".git/objects/pack/pack-${pack1}.pack" seek=$(($delta_offs + 1)) \ if=".git/objects/pack/pack-${pack1}.idx" skip=$((8 + 256 * 4)) \ bs=1 count=20 conv=notrunc && git cat-file blob "$delta_sha1" > blob_4 ) * ok 21: [index v2] 3) corrupted delta happily returned wrong data * FAIL 22: [index v2] 4) confirm that the pack is actually corrupted git fsck --full $commit * FAIL 23: [index v2] 5) pack-objects refuses to reuse corrupted data git pack-objects test-5 actual && git diff - actual /dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 3: br-config-explicit config-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 4: br-config-explicit-merge { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 5: br-config-explicit-merge config-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 6: br-config-explicit-octopus { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 7: br-config-explicit-octopus config-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 8: br-config-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 9: br-config-glob config-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 10: br-config-glob-merge { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 11: br-config-glob-merge config-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 12: br-config-glob-octopus { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 13: br-config-glob-octopus config-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 14: br-remote-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 15: br-remote-explicit remote-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 16: br-remote-explicit-merge { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 17: br-remote-explicit-merge remote-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 18: br-remote-explicit-octopus { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 19: br-remote-explicit-octopus remote-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 20: br-remote-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 21: br-remote-glob remote-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 22: br-remote-glob-merge { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 23: br-remote-glob-merge remote-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 24: br-remote-glob-octopus { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 25: br-remote-glob-octopus remote-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 26: br-branches-default { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 27: br-branches-default branches-default { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 28: br-branches-default-merge { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 29: br-branches-default-merge branches-default { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 30: br-branches-default-octopus { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 31: br-branches-default-octopus branches-default { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 32: br-branches-one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 33: br-branches-one branches-one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 34: br-branches-one-merge { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 35: br-branches-one-merge branches-one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 36: br-branches-one-octopus { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 37: br-branches-one-octopus branches-one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 38: master { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 39: master config-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 40: master config-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 41: master remote-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 42: master remote-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 43: master branches-default { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 44: master branches-one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 45: br-unconfig { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 46: br-unconfig config-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 47: br-unconfig config-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 48: br-unconfig remote-explicit { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 49: br-unconfig remote-glob { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 50: br-unconfig branches-default { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 51: br-unconfig branches-one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 52: master ../.git { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 53: master ../.git one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 54: master ../.git one two { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 55: master --tags ../.git { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 56: master ../.git tag tag-one tag tag-three { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 57: master ../.git tag tag-one-tree tag tag-three-file { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 58: master ../.git one tag tag-one tag tag-three-file { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 59: br-unconfig ../.git { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 60: br-unconfig ../.git one { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 61: br-unconfig ../.git one two { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 62: br-unconfig --tags ../.git { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 63: br-unconfig ../.git tag tag-one tag tag-three { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 64: br-unconfig ../.git tag tag-one-tree tag tag-three-file { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * FAIL 65: br-unconfig ../.git one tag tag-one tag tag-three-file { echo "# $cmd" set x $cmd; shift git symbolic-ref HEAD refs/heads/$1 ; shift rm -f .git/FETCH_HEAD rm -f .git/refs/heads/* rm -f .git/refs/remotes/rem/* rm -f .git/refs/tags/* git fetch "$@" >/dev/null cat .git/FETCH_HEAD } >"$actual" && if test -f "$expect" then git diff -u "$expect" "$actual" && rm -f "$actual" else # this is to help developing new tests. cp "$actual" "$expect" false fi * failed 64 among 65 test(s) *** t5516-fetch-push.sh *** * ok 1: setup * ok 2: fetch without wildcard * ok 3: fetch with wildcard * ok 4: push without wildcard * ok 5: push with wildcard * ok 6: push with matching heads * ok 7: push with no ambiguity (1) * ok 8: push with no ambiguity (2) * ok 9: push with weak ambiguity (1) * ok 10: push with weak ambiguity (2) * ok 11: push with ambiguity (1) * ok 12: push with ambiguity (2) * ok 13: push with colon-less refspec (1) * ok 14: push with colon-less refspec (2) * ok 15: push with colon-less refspec (3) * ok 16: push with colon-less refspec (4) * passed all 16 test(s) *** t5520-pull.sh *** * ok 1: setup * ok 2: pulling into void * ok 3: checking the results * FAIL 4: test . as a remote git branch copy master && git config branch.copy.remote . && git config branch.copy.merge refs/heads/master && echo updated >file && git commit -a -m updated && git checkout copy && test `cat file` = file && git pull && test `cat file` = updated * FAIL 5: the default remote . should not break explicit pull git checkout -b second master^ && echo modified >file && git commit -a -m modified && git checkout copy && git reset --hard HEAD^ && test `cat file` = file && git pull . second && test `cat file` = modified * failed 2 among 5 test(s) *** t5600-clone-fail-cleanup.sh *** * ok 1: clone of non-existent source should fail * ok 2: failed clone should not leave a directory * ok 3: clone of non-existent (relative to $PWD) source should fail * ok 4: clone should work now that source exists * ok 5: successful clone must leave the directory * passed all 5 test(s) *** t5700-clone-reference.sh *** * ok 1: preparing first repository * ok 2: preparing second repository * ok 3: cloning with reference (-l -s) * ok 4: existence of info/alternates * ok 5: pulling from reference * FAIL 6: that reference gets used cd C && echo "0 objects, 0 kilobytes" > expected && git count-objects > current && diff expected current * ok 7: cloning with reference (no -l -s) * ok 8: existence of info/alternates * ok 9: pulling from reference * FAIL 10: that reference gets used cd D && echo "0 objects, 0 kilobytes" > expected && git count-objects > current && diff expected current * ok 11: updating origin * ok 12: pulling changes from origin * FAIL 13: that alternate to origin gets used cd C && echo "2 objects" > expected && git count-objects | cut -d, -f1 > current && diff expected current * ok 14: pulling changes from origin * FAIL 15: check objects expected to exist locally cd D && echo "5 objects" > expected && git count-objects | cut -d, -f1 > current && diff expected current * failed 4 among 15 test(s) *** t5701-clone-local.sh *** * ok 1: preparing origin repository * ok 2: local clone without .git suffix * ok 3: local clone with .git suffix * ok 4: local clone from x * ok 5: local clone from x.git that does not exist * passed all 5 test(s) *** t5710-info-alternate.sh *** * ok 1: preparing first repository * FAIL 2: preparing second repository git clone -l -s A B && cd B && echo "foo bar" > file2 && git add file2 && git commit -m "next commit" file2 && git repack -a -d -l && git prune * FAIL 3: preparing third repository git clone -l -s B C && cd C && echo "Goodbye, cruel world" > file3 && git add file3 && git commit -m "one more" file3 && git repack -a -d -l && git prune * ok 4: creating too deep nesting * FAIL 5: validity of third repository cd C && test_valid_repo * FAIL 6: validity of fourth repository cd D && test_valid_repo * FAIL 7: breaking of loops echo '/git-textmode/t/trash/B/.git/objects' >> '/git-textmode/t/trash'/A/.git/objects/info/alternates&& cd C && test_valid_repo * ok 8: that info/alternates is necessary * FAIL 9: that relative alternate is possible for current dir cd C && echo "../../../B/.git/objects" > .git/objects/info/alternates && test_valid_repo * ok 10: that relative alternate is only possible for current dir * failed 6 among 10 test(s) *** t6001-rev-list-graft.sh *** * ok 1: setup * ok 2: without grafts * FAIL 3: with grafts echo '7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e' >.git/info/grafts check basic c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 -- c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 45d79466f25b3474e8bb6cb6eb589ced6bc568f5 7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e b0bb49af332fc43271ec941a0aa9e41b5c2f9a40 22c44125f5e7a8a4d68e903d7c89f25d2cddb56b * ok 4: without grafts, with pathlimit * FAIL 5: with grafts, with pathlimit echo '7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e' >.git/info/grafts check basic c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 subdir -- c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e 22c44125f5e7a8a4d68e903d7c89f25d2cddb56b * ok 6: without grafts * FAIL 7: with grafts echo '7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e' >.git/info/grafts check parents c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 -- c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 45d79466f25b3474e8bb6cb6eb589ced6bc568f5 7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e b0bb49af332fc43271ec941a0aa9e41b5c2f9a40 22c44125f5e7a8a4d68e903d7c89f25d2cddb56b * ok 8: without grafts, with pathlimit * FAIL 9: with grafts, with pathlimit echo '7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e' >.git/info/grafts check parents c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 subdir -- c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e 22c44125f5e7a8a4d68e903d7c89f25d2cddb56b * ok 10: without grafts * FAIL 11: with grafts echo '7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e' >.git/info/grafts check parents-raw c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 -- c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 45d79466f25b3474e8bb6cb6eb589ced6bc568f5 7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e b0bb49af332fc43271ec941a0aa9e41b5c2f9a40 22c44125f5e7a8a4d68e903d7c89f25d2cddb56b * ok 12: without grafts, with pathlimit * FAIL 13: with grafts, with pathlimit echo '7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e' >.git/info/grafts check parents-raw c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 subdir -- c9c3c6cc7a5ca2439ca5a872c7921e62469617a4 7619c76a61e28785320608e8a870a4ab1f027b81 f9440895c86a69554ef10c68a6976dae86ea571e 22c44125f5e7a8a4d68e903d7c89f25d2cddb56b * failed 6 among 13 test(s) *** t6002-rev-list-bisect.sh *** * ok 1: bisection diff --bisect l0 ^root <= 0 * ok 2: bisection diff --bisect l1 ^root <= 0 * ok 3: bisection diff --bisect l2 ^root <= 0 * ok 4: bisection diff --bisect a0 ^root <= 0 * ok 5: bisection diff --bisect a1 ^root <= 0 * ok 6: bisection diff --bisect a2 ^root <= 0 * ok 7: bisection diff --bisect a3 ^root <= 0 * ok 8: bisection diff --bisect b1 ^root <= 0 * ok 9: bisection diff --bisect b2 ^root <= 0 * ok 10: bisection diff --bisect b3 ^root <= 0 * ok 11: bisection diff --bisect c1 ^root <= 0 * ok 12: bisection diff --bisect c2 ^root <= 0 * ok 13: bisection diff --bisect c3 ^root <= 0 * ok 14: bisection diff --bisect E ^F <= 0 * ok 15: bisection diff --bisect e1 ^F <= 0 * ok 16: bisection diff --bisect e2 ^F <= 0 * ok 17: bisection diff --bisect e3 ^F <= 0 * ok 18: bisection diff --bisect e4 ^F <= 0 * ok 19: bisection diff --bisect e5 ^F <= 0 * ok 20: bisection diff --bisect e6 ^F <= 0 * ok 21: bisection diff --bisect e7 ^F <= 0 * ok 22: bisection diff --bisect f1 ^F <= 0 * ok 23: bisection diff --bisect f2 ^F <= 0 * ok 24: bisection diff --bisect f3 ^F <= 0 * ok 25: bisection diff --bisect f4 ^F <= 0 * ok 26: bisection diff --bisect E ^F <= 0 * ok 27: bisection diff --bisect V ^U <= 1 * ok 28: bisection diff --bisect V ^U ^u1 ^u2 ^u3 <= 0 * ok 29: bisection diff --bisect u1 ^U <= 0 * ok 30: bisection diff --bisect u2 ^U <= 0 * ok 31: bisection diff --bisect u3 ^U <= 0 * ok 32: bisection diff --bisect u4 ^U <= 0 * ok 33: bisection diff --bisect u5 ^U <= 0 * FAIL 34: --bisect l5 ^root check_output bisect-l5-root "git rev-list $_bisect_option l5 ^root" * FAIL 35: --bisect l5 ^root ^c3 check_output bisect-l5-root-c3 "git rev-list $_bisect_option l5 ^root ^c3" * FAIL 36: --bisect l5 ^root ^c3 ^b4 check_output bisect-l5-root-c3-b4 "git rev-list $_bisect_option l5 ^c3 ^b4" * FAIL 37: --bisect l3 ^root ^c3 ^b4 check_output bisect-l3-root-c3-b4 "git rev-list $_bisect_option l3 ^root ^c3 ^b4" * FAIL 38: --bisect l5 ^b3 ^a3 ^b4 ^a4 check_output bisect-l5-b3-a3-b4-a4 "git rev-list $_bisect_option l3 ^b3 ^a3 ^a4" * FAIL 39: --bisect l4 ^a2 ^a3 ^b ^a4 check_output bisect-l4-a2-a3-b-a4 "git rev-list $_bisect_option l4 ^a2 ^a3 ^a4" * FAIL 40: --bisect l3 ^a2 ^a3 ^b ^a4 check_output bisect-l3-a2-a3-b-a4 "git rev-list $_bisect_option l3 ^a2 ^a3 ^a4" * FAIL 41: --bisect a4 ^a2 ^a3 ^b4 check_output bisect-a4-a2-a3-b4 "git rev-list $_bisect_option a4 ^a2 ^a3 ^b4" * FAIL 42: --bisect a4 ^a2 ^a3 ^b4 ^c2 check_output bisect-a4-a2-a3-b4-c2 "git rev-list $_bisect_option a4 ^a2 ^a3 ^b4 ^c2" * FAIL 43: --bisect a4 ^a2 ^a3 ^b4 ^c2 ^c3 check_output bisect-a4-a2-a3-b4-c2-c3 "git rev-list $_bisect_option a4 ^a2 ^a3 ^b4 ^c2 ^c3" * FAIL 44: --bisect a4 ^a2 ^a3 ^b4 check_output bisect-a4-a2-a3-b4 "git rev-list $_bisect_option a4 ^a2 ^a3 ^b4" * FAIL 45: --bisect c3 ^a2 ^a3 ^b4 ^c2 check_output bisect-c3-a2-a3-b4-c2 "git rev-list $_bisect_option c3 ^a2 ^a3 ^b4 ^c2" * failed 12 among 45 test(s) *** t6003-rev-list-topo-order.sh *** * FAIL 1: rev-list has correct number of entries check_output rev-list-has-correct-number-of-entries "git rev-list HEAD | wc -l | tr -d \" \"" * FAIL 2: simple topo order check_output simple-topo-order "git rev-list --topo-order HEAD" * FAIL 3: two diamonds topo order (g6) check_output two-diamonds-topo-order-g6 "git rev-list --topo-order g4" * FAIL 4: multiple heads check_output multiple-heads "git rev-list --topo-order a3 b3 c3" * FAIL 5: multiple heads, prune at a1 check_output multiple-heads-prune-at-a1 "git rev-list --topo-order a3 b3 c3 ^a1" * FAIL 6: multiple heads, prune at l1 check_output multiple-heads-prune-at-l1 "git rev-list --topo-order a3 b3 c3 ^l1" * FAIL 7: cross-epoch, head at l5, prune at l1 check_output cross-epoch-head-at-l5-prune-at-l1 "git rev-list --topo-order l5 ^l1" * FAIL 8: duplicated head arguments check_output duplicated-head-arguments "git rev-list --topo-order l5 l5 ^l1" * FAIL 9: prune near topo check_output prune-near-topo "git rev-list --topo-order a4 ^c3" * FAIL 10: head has no parent check_output head-has-no-parent "git rev-list --topo-order root" * FAIL 11: two nodes - one head, one base check_output two-nodes-one-head-one-base "git rev-list --topo-order l0" * FAIL 12: three nodes one head, one internal, one base check_output three-nodes-one-head-one-internal-one-base "git rev-list --topo-order l1" * FAIL 13: linear prune l2 ^root check_output linear-prune-l2-root "git rev-list --topo-order l2 ^root" * FAIL 14: linear prune l2 ^l0 check_output linear-prune-l2-l0 "git rev-list --topo-order l2 ^l0" * FAIL 15: linear prune l2 ^l1 check_output linear-prune-l2-l1 "git rev-list --topo-order l2 ^l1" * FAIL 16: linear prune l5 ^a4 check_output linear-prune-l5-a4 "git rev-list --topo-order l5 ^a4" * FAIL 17: linear prune l5 ^l3 check_output linear-prune-l5-l3 "git rev-list --topo-order l5 ^l3" * FAIL 18: linear prune l5 ^l4 check_output linear-prune-l5-l4 "git rev-list --topo-order l5 ^l4" * FAIL 19: max-count 10 - topo order check_output max-count-10-topo-order "git rev-list --topo-order --max-count=10 l5" * FAIL 20: max-count 10 - non topo order check_output max-count-10-non-topo-order "git rev-list --max-count=10 l5" * FAIL 21: --max-age=c3, no --topo-order check_output max-age-c3-no-topo-order "git rev-list --max-age= l5" * ok 22: one specified head reachable from another a4, c3, --topo-order * ok 23: one specified head reachable from another c3, a4, --topo-order * ok 24: one specified head reachable from another a4, c3, no --topo-order * ok 25: one specified head reachable from another c3, a4, no --topo-order * ok 26: graph with c3 and a4 parents of head * ok 27: graph with a4 and c3 parents of head * FAIL 28: head ^head --topo-order git rev-list --topo-order a3 ^a3 * FAIL 29: head ^head no --topo-order git rev-list a3 ^a3 * FAIL 30: simple topo order (l5r1) check_output simple-topo-order-l5r1 "git rev-list --topo-order l5r1" * FAIL 31: simple topo order (r1l5) check_output simple-topo-order-r1l5 "git rev-list --topo-order r1l5" * FAIL 32: don't print things unreachable from one branch check_output don-t-print-things-unreachable-from-one-branch "git rev-list a3 ^b3 --topo-order" * FAIL 33: --topo-order a4 l3 check_output topo-order-a4-l3 "git rev-list --topo-order a4 l3" * failed 27 among 33 test(s) *** t6004-rev-list-path-optim.sh *** * ok 1: setup * ok 2: path-optimization * ok 3: further setup * ok 4: path optimization 2 * passed all 4 test(s) *** t6005-rev-list-count.sh *** * ok 1: setup * ok 2: no options * ok 3: --max-count * ok 4: --max-count all forms * ok 5: --skip * ok 6: --skip --max-count * passed all 6 test(s) *** t6006-rev-list-format.sh *** * ok 1: setup * FAIL 2: format hash git rev-list --pretty=format:%H%n%h master >output.hash && git diff expect.hash output.hash * FAIL 3: format tree git rev-list --pretty=format:%T%n%t master >output.tree && git diff expect.tree output.tree * FAIL 4: format parents git rev-list --pretty=format:%P%n%p master >output.parents && git diff expect.parents output.parents * FAIL 5: format author git rev-list --pretty=format:%an%n%ae%n%ad%n%aD%n%at master >output.author && git diff expect.author output.author * FAIL 6: format committer git rev-list --pretty=format:%cn%n%ce%n%cd%n%cD%n%ct master >output.committer && git diff expect.committer output.committer * FAIL 7: format encoding git rev-list --pretty=format:%e master >output.encoding && git diff expect.encoding output.encoding * FAIL 8: format subject git rev-list --pretty=format:%s master >output.subject && git diff expect.subject output.subject * FAIL 9: format body git rev-list --pretty=format:%b master >output.body && git diff expect.body output.body * FAIL 10: format colors git rev-list --pretty=format:%Credfoo%Cgreenbar%Cbluebaz%Cresetxyzzy master >output.colors && git diff expect.colors output.colors * ok 11: setup complex body * FAIL 12: format complex-encoding git rev-list --pretty=format:%e master >output.complex-encoding && git diff expect.complex-encoding output.complex-encoding * FAIL 13: format complex-subject git rev-list --pretty=format:%s master >output.complex-subject && git diff expect.complex-subject output.complex-subject * FAIL 14: format complex-body git rev-list --pretty=format:%b master >output.complex-body && git diff expect.complex-body output.complex-body * failed 12 among 14 test(s) *** t6007-rev-list-cherry-pick-file.sh *** * ok 1: setup * ok 2: --cherry-pick foo comes up empty * ok 3: --cherry-pick bar does not come up empty * passed all 3 test(s) *** t6010-merge-base.sh *** * ok 1: compute merge-base (single) * ok 2: compute merge-base (all) * ok 3: compute merge-base with show-branch * ok 4: compute merge-base (single) * ok 5: compute merge-base (all) * passed all 5 test(s) *** t6020-merge-df.sh *** * ok 1: prepare repository * ok 2: Merge with d/f conflicts * passed all 2 test(s) *** t6021-merge-criss-cross.sh *** * ok 1: prepare repository * ok 2: Criss-cross merge * FAIL 3: Criss-cross merge result cmp file file-expect * failed 1 among 3 test(s) *** t6022-merge-rename.sh *** * ok 1: setup * ok 2: pull renaming branch into unrenaming one * ok 3: pull renaming branch into another renaming one * ok 4: pull unrenaming branch into renaming one * ok 5: pull conflicting renames * ok 6: interference with untracked working tree file * ok 7: interference with untracked working tree file * ok 8: interference with untracked working tree file * ok 9: updated working tree file should prevent the merge * ok 10: updated working tree file should prevent the merge * ok 11: interference with untracked working tree file * ok 12: merge of identical changes in a renamed file * passed all 12 test(s) *** t6023-merge-file.sh *** * ok 1: merge without conflict * ok 2: merge without conflict (missing LF at EOF) * ok 3: merge result added missing LF * ok 4: merge with conflicts * ok 5: expected conflict markers * ok 6: merge with conflicts, using -L * ok 7: expected conflict markers, with -L * ok 8: conflict in removed tail * FAIL 9: expected conflict markers git diff expect out * ok 10: binary files cannot be merged * failed 1 among 10 test(s) *** t6023-merge-rename-nocruft.sh *** * ok 1: setup * ok 2: merge white into red (A->B,M->N) * FAIL 3: merge blue into white (A->B, mod A, A untracked) git checkout -b white-blue white && echo dirty >A && git merge blue && git write-tree >/dev/null || { echo "BAD: merge did not complete" return 1 } test -f A || { echo "BAD: A does not exist in working directory" return 1 } test `cat A` = dirty || { echo "BAD: A content is wrong" return 1 } test -f B || { echo "BAD: B does not exist in working directory" return 1 } test -f N || { echo "BAD: N does not exist in working directory" return 1 } test -f M && { echo "BAD: M still exists in working directory" return 1 } return 0 * failed 1 among 3 test(s) *** t6024-recursive-merge.sh *** * ok 1: setup tests * ok 2: combined merge conflicts * FAIL 3: result contains a conflict git diff expect a1 * FAIL 4: virtual trees were processed git diff expect out HEAD is now at 6bebb3d... F * ok 5: refuse to merge binary files * failed 2 among 5 test(s) *** t6025-merge-symlinks.sh *** * ok 1: setup * ok 2: merge master into b-symlink, which has a different symbolic link * ok 3: the merge result must be a file * ok 4: merge master into b-file, which has a file instead of a symbolic link * ok 5: the merge result must be a file * ok 6: merge b-file, which has a file instead of a symbolic link, into master * ok 7: the merge result must be a file * passed all 7 test(s) *** t6026-merge-attr.sh *** * ok 1: setup * ok 2: merge * ok 3: check merge result in index * ok 4: check merge result in working tree * ok 5: custom merge backend * ok 6: custom merge backend * passed all 6 test(s) *** t6030-bisect-porcelain.sh *** * ok 1: set up basic repo with 1 file (hello) and 4 commits * ok 2: bisect starts with only one bad * FAIL 3: bisect does not start with only one good git bisect reset && git bisect start && git bisect good $HASH1 || return 1 if git bisect next then echo Oops, should have failed. false else : fi * FAIL 4: bisect start with one bad and good git bisect reset && git bisect start && git bisect good $HASH1 && git bisect bad $HASH4 && git bisect next * FAIL 5: "git bisect run" simple case echo "#"\!"/bin/sh" > test_script.sh && echo "grep Another hello > /dev/null" >> test_script.sh && echo "test \$? -ne 0" >> test_script.sh && chmod +x test_script.sh && git bisect start && git bisect good $HASH1 && git bisect bad $HASH4 && git bisect run ./test_script.sh > my_bisect_log.txt && grep "$HASH3 is first bad commit" my_bisect_log.txt && git bisect reset * FAIL 6: "git bisect run" with more complex "git bisect start" echo "#"\!"/bin/sh" > test_script.sh && echo "grep Ciao hello > /dev/null" >> test_script.sh && echo "test \$? -ne 0" >> test_script.sh && chmod +x test_script.sh && git bisect start $HASH4 $HASH1 && git bisect run ./test_script.sh > my_bisect_log.txt && grep "$HASH4 is first bad commit" my_bisect_log.txt && git bisect reset * failed 4 among 6 test(s) *** t6101-rev-parse-parents.sh *** * FAIL 1: start is valid git rev-parse start | grep "^[0-9a-f]\{40\}$" * FAIL 2: start^0 test = start^0 * ok 3: start^1 not valid * FAIL 4: second^1 = second^ test second^1 = second^ * FAIL 5: final^1^1^1 test start = final^1^1^1 * FAIL 6: final^1^1^1 = final^^^ test final^1^1^1 = final^^^ * FAIL 7: final^1^2 test start2 = final^1^2 * ok 8: final^1^2 != final^1^1 * ok 9: final^1^3 not valid * ok 10: --verify start2^1 * FAIL 11: --verify start2^0 git rev-parse --verify start2^0 * ok 12: repack for next test * FAIL 13: short SHA-1 works start=`git rev-parse --verify start` && echo $start && abbrv=`echo $start | sed s/.\$//` && echo $abbrv && abbrv=`git rev-parse --verify $abbrv` && echo $abbrv && test $start = $abbrv * failed 8 among 13 test(s) *** t6120-describe.sh *** * ok 1: setup * ok 2: describe HEAD * ok 3: describe HEAD^ * ok 4: describe HEAD^^ * ok 5: describe HEAD^^2 * ok 6: describe HEAD^^2^ * ok 7: describe --tags HEAD * ok 8: describe --tags HEAD^ * ok 9: describe --tags HEAD^^ * ok 10: describe --tags HEAD^^2 * ok 11: describe --tags HEAD^^2^ * passed all 11 test(s) *** t6200-fmt-merge-msg.sh *** * ok 1: setup * FAIL 2: merge-msg test #1 git checkout master && git fetch . left && git fmt-merge-msg <.git/FETCH_HEAD >actual && git diff actual expected * FAIL 3: merge-msg test #2 git checkout master && git fetch ../trash left && git fmt-merge-msg <.git/FETCH_HEAD >actual && git diff actual expected * FAIL 4: merge-msg test #3 git config merge.summary true && git checkout master && setdate && git fetch . left && git fmt-merge-msg <.git/FETCH_HEAD >actual && git diff actual expected * FAIL 5: merge-msg test #4 git config merge.summary true && git checkout master && setdate && git fetch . left right && git fmt-merge-msg <.git/FETCH_HEAD >actual && git diff actual expected * FAIL 6: merge-msg test #5 git config merge.summary yes && git checkout master && setdate && git fetch . left right && git fmt-merge-msg <.git/FETCH_HEAD >actual && git diff actual expected * failed 5 among 6 test(s) *** t7001-mv.sh *** * ok 1: prepare reference tree * ok 2: moving the file out of subdirectory * ok 3: commiting the change * ok 4: checking the commit * ok 5: moving the file back into subdirectory * ok 6: commiting the change * ok 7: checking the commit * ok 8: adding another file * ok 9: moving whole subdirectory * ok 10: commiting the change * ok 11: checking the commit * ok 12: succeed when source is a prefix of destination * ok 13: moving whole subdirectory into subdirectory * ok 14: commiting the change * ok 15: checking the commit * ok 16: do not move directory over existing directory * ok 17: move into "." * ok 18: Michael Cassar's test case * ok 19: Sergey Vlasov's test case * passed all 19 test(s) *** t7002-grep.sh *** * ok 1: setup * FAIL 2: grep -w HEAD { echo ${HC}file:1:foo mmap bar echo ${HC}file:3:foo_mmap bar mmap echo ${HC}file:4:foo mmap bar_mmap echo ${HC}file:5:foo_mmap bar mmap baz } >expected && git grep -n -w -e mmap $H >actual && diff expected actual * FAIL 3: grep -w HEAD (x) { echo ${HC}x:1:x x xx x } >expected && git grep -n -w -e "x xx* x" $H >actual && diff expected actual * FAIL 4: grep -w HEAD (y-1) { echo ${HC}y:1:y yy } >expected && git grep -n -w -e "^y" $H >actual && diff expected actual * ok 5: grep -w HEAD (y-2) * ok 6: grep -w HEAD (z) * FAIL 7: grep HEAD (t-1) echo "${HC}t/t:1:test" >expected && git grep -n -e test $H >actual && diff expected actual * FAIL 8: grep HEAD (t-2) echo "${HC}t:1:test" >expected && ( cd t && git grep -n -e test $H ) >actual && diff expected actual * FAIL 9: grep HEAD (t-3) echo "${HC}t/t:1:test" >expected && ( cd t && git grep --full-name -n -e test $H ) >actual && diff expected actual * FAIL 10: grep -w in working tree { echo ${HC}file:1:foo mmap bar echo ${HC}file:3:foo_mmap bar mmap echo ${HC}file:4:foo mmap bar_mmap echo ${HC}file:5:foo_mmap bar mmap baz } >expected && git grep -n -w -e mmap $H >actual && diff expected actual * FAIL 11: grep -w in working tree (x) { echo ${HC}x:1:x x xx x } >expected && git grep -n -w -e "x xx* x" $H >actual && diff expected actual * FAIL 12: grep -w in working tree (y-1) { echo ${HC}y:1:y yy } >expected && git grep -n -w -e "^y" $H >actual && diff expected actual * ok 13: grep -w in working tree (y-2) * ok 14: grep -w in working tree (z) * FAIL 15: grep in working tree (t-1) echo "${HC}t/t:1:test" >expected && git grep -n -e test $H >actual && diff expected actual * FAIL 16: grep in working tree (t-2) echo "${HC}t:1:test" >expected && ( cd t && git grep -n -e test $H ) >actual && diff expected actual * FAIL 17: grep in working tree (t-3) echo "${HC}t/t:1:test" >expected && ( cd t && git grep --full-name -n -e test $H ) >actual && diff expected actual * failed 12 among 17 test(s) *** t7003-filter-branch.sh *** * ok 1: setup * ok 2: rewrite identically * FAIL 3: result is really identical test $H = $(git rev-parse HEAD) * FAIL 4: rewrite, renaming a specific file git-filter-branch -f --tree-filter "mv d doh || :" HEAD * FAIL 5: test that the file was renamed test d = $(git show HEAD:doh) * FAIL 6: rewrite one branch, keeping a side branch git branch modD oldD && git-filter-branch -f --tree-filter "mv b boh || :" D..modD * FAIL 7: common ancestor is still common (unchanged) test "$(git merge-base modD D)" = "$(git rev-parse B)" * ok 8: filter subdirectory only * FAIL 9: subdirectory filter result looks okay test 2 = $(git rev-list sub | wc -l) && git show sub:new && ! git show sub:subdir * ok 10: setup and filter history that requires --full-history * FAIL 11: subdirectory filter result looks okay test 3 = $(git rev-list -1 --parents sub-master | wc -w) && git show sub-master^:new && git show sub-master^2:new && ! git show sub:subdir * ok 12: use index-filter to move into a subdirectory * ok 13: stops when msg filter fails * FAIL 14: author information is preserved : > i && git add i && test_tick && GIT_AUTHOR_NAME="B V Uips" git commit -m bvuips && git branch preserved-author && git-filter-branch -f --msg-filter "cat; \ test \$GIT_COMMIT != $(git rev-parse master) || \ echo Hallo" \ preserved-author && test 1 = $(git rev-list --author="B V Uips" preserved-author | wc -l) * FAIL 15: remove a certain author's commits echo i > i && test_tick && git commit -m i i && git branch removed-author && git-filter-branch -f --commit-filter "\ if [ \"\$GIT_AUTHOR_NAME\" = \"B V Uips\" ];\ then\ shift;\ while [ -n \"\$1\" ];\ do\ shift;\ echo \"\$1\";\ shift;\ done;\ else\ git commit-tree \"\$@\";\ fi" removed-author && cnt1=$(git rev-list master | wc -l) && cnt2=$(git rev-list removed-author | wc -l) && test $cnt1 -eq $(($cnt2 + 1)) && test 0 = $(git rev-list --author="B V Uips" removed-author | wc -l) * ok 16: barf on invalid name * failed 9 among 16 test(s) *** t7004-tag.sh *** * ok 1: listing all tags in an empty tree should succeed * ok 2: listing all tags in an empty tree should output nothing * ok 3: looking for a tag in an empty tree should fail * ok 4: creating a tag in an empty tree should fail * ok 5: creating a tag for HEAD in an empty tree should fail * ok 6: creating a tag for an unknown revision should fail * ok 7: creating a tag using default HEAD should succeed * ok 8: listing all tags if one exists should succeed * ok 9: listing all tags if one exists should output that tag * ok 10: listing a tag using a matching pattern should succeed * ok 11: listing a tag using a matching pattern should output that tag * ok 12: listing tags using a non-matching pattern should suceed * ok 13: listing tags using a non-matching pattern should output nothing * ok 14: trying to create a tag with the name of one existing should fail * ok 15: trying to create a tag with a non-valid name should fail * ok 16: creating a tag using HEAD directly should succeed * ok 17: trying to delete an unknown tag should fail * FAIL 18: trying to delete tags without params should succeed and do nothing git tag -l > actual && git diff expect actual && git-tag -d && git tag -l > actual && git diff expect actual * ok 19: deleting two existing tags in one command should succeed * ok 20: creating a tag with the name of another deleted one should succeed * ok 21: trying to delete two tags, existing and not, should fail in the 2nd * ok 22: trying to delete an already deleted tag should fail * FAIL 23: listing all tags should print them ordered git tag v1.0.1 && git tag t211 && git tag aa1 && git tag v0.2.1 && git tag v1.1.3 && git tag cba && git tag a1 && git tag v1.0 && git tag t210 && git tag -l > actual && git diff expect actual * FAIL 24: listing tags with substring as pattern must print those matching git-tag -l a > actual && git diff expect actual * FAIL 25: listing tags with substring as pattern must print those matching git-tag -l .1 > actual && git diff expect actual * FAIL 26: listing tags with substring as pattern must print those matching git-tag -l t21 > actual && git diff expect actual * FAIL 27: listing tags using a name as pattern must print those matching git-tag -l a1 > actual && git diff expect actual * FAIL 28: listing tags using a name as pattern must print those matching git-tag -l v1.0 > actual && git diff expect actual * FAIL 29: listing tags with ? in the pattern should print those matching git-tag -l "1.1?" > actual && git diff expect actual * ok 30: listing tags using v.* should print nothing because none have v. * FAIL 31: listing tags using v* should print only those having v git-tag -l "v*" > actual && git diff expect actual * ok 32: a non-annotated tag created without parameters should point to HEAD * ok 33: trying to verify an unknown tag should fail * ok 34: trying to verify a non-annotated and non-signed tag should fail * FAIL 35: creating an annotated tag with -m message should succeed git-tag -m "A message" annotated-tag && get_tag_msg annotated-tag >actual && git diff expect actual * FAIL 36: creating an annotated tag with -F messagefile should succeed git-tag -F msgfile file-annotated-tag && get_tag_msg file-annotated-tag >actual && git diff expect actual * FAIL 37: creating a tag with an empty -m message should succeed git-tag -m "" empty-annotated-tag && get_tag_msg empty-annotated-tag >actual && git diff expect actual * FAIL 38: creating a tag with an empty -F messagefile should succeed git-tag -F emptyfile emptyfile-annotated-tag && get_tag_msg emptyfile-annotated-tag >actual && git diff expect actual * FAIL 39: extra blanks in the message for an annotated tag should be removed git-tag -F blanksfile blanks-annotated-tag && get_tag_msg blanks-annotated-tag >actual && git diff expect actual * FAIL 40: creating a tag with blank -m message with spaces should succeed git-tag -m " " blank-annotated-tag && get_tag_msg blank-annotated-tag >actual && git diff expect actual * FAIL 41: creating a tag with blank -F messagefile with spaces should succeed git-tag -F blankfile blankfile-annotated-tag && get_tag_msg blankfile-annotated-tag >actual && git diff expect actual * FAIL 42: creating a tag with -F file of spaces and no newline should succeed git-tag -F blanknonlfile blanknonlfile-annotated-tag && get_tag_msg blanknonlfile-annotated-tag >actual && git diff expect actual * FAIL 43: creating a tag using a -F messagefile with #comments should succeed git-tag -F commentsfile comments-annotated-tag && get_tag_msg comments-annotated-tag >actual && git diff expect actual * FAIL 44: creating a tag with a #comment in the -m message should succeed git-tag -m "#comment" comment-annotated-tag && get_tag_msg comment-annotated-tag >actual && git diff expect actual * FAIL 45: creating a tag with #comments in the -F messagefile should succeed git-tag -F commentfile commentfile-annotated-tag && get_tag_msg commentfile-annotated-tag >actual && git diff expect actual * FAIL 46: creating a tag with a file of #comment and no newline should succeed git-tag -F commentnonlfile commentnonlfile-annotated-tag && get_tag_msg commentnonlfile-annotated-tag >actual && git diff expect actual * ok 47: listing the one-line message of a non-signed tag should succeed * ok 48: listing the zero-lines message of a non-signed tag should succeed * ok 49: listing many message lines of a non-signed tag should succeed * ok 50: trying to verify an annotated non-signed tag should fail * ok 51: trying to verify a file-annotated non-signed tag should fail Skipping signed tags tests, because gpg was not found * failed 21 among 51 test(s) *** t7005-editor.sh *** * ok 1: setup * ok 2: dumb should error out when falling back on vi * ok 3: Using vi * ok 4: Using EDITOR * ok 5: Using VISUAL * ok 6: Using core_editor * ok 7: Using GIT_EDITOR * ok 8: Using vi (override) * ok 9: Using EDITOR (override) * ok 10: Using VISUAL (override) * ok 11: Using core_editor (override) * ok 12: Using GIT_EDITOR (override) * passed all 12 test(s) *** t7101-reset.sh *** * ok 1: creating initial files * ok 2: creating second files * ok 3: resetting tree HEAD^ * ok 4: checking initial files exist after rewind * ok 5: checking lack of path1/path2/COPYING * ok 6: checking lack of path1/COPYING * ok 7: checking lack of COPYING * ok 8: checking checking lack of path1/COPYING-TOO * ok 9: checking lack of path1/path2 * ok 10: checking lack of path1 * passed all 10 test(s) *** t7201-co.sh *** * ok 1: setup * ok 2: checkout from non-existing branch * ok 3: checkout with dirty tree without -m * ok 4: checkout -m with dirty tree * ok 5: checkout -m with dirty tree, renamed * ok 6: checkout -m with merge conflict * ok 7: checkout to detach HEAD * ok 8: checkout to detach HEAD with branchname^ * ok 9: checkout to detach HEAD with HEAD^0 * ok 10: checkout with ambiguous tag/branch names * ok 11: checkout with ambiguous tag/branch names * passed all 11 test(s) *** t7300-clean.sh *** * ok 1: setup * ok 2: git-clean * ok 3: git-clean -n * ok 4: git-clean -d * ok 5: git-clean -x * ok 6: git-clean -d -x * ok 7: git-clean -X * ok 8: git-clean -d -X * ok 9: clean.requireForce * ok 10: clean.requireForce and -n * ok 11: clean.requireForce and -f * passed all 11 test(s) *** t7400-submodule-basic.sh *** * ok 1: Prepare submodule testing * ok 2: status should fail for unmapped paths * ok 3: status should only print one line * ok 4: status should initially be "missing" * ok 5: init should register submodule url in .git/config * FAIL 6: update should fail when path is used by a file echo "hello" >lib && if git-submodule update then echo "[OOPS] update should have failed" false elif test "$(cat lib)" != "hello" then echo "[OOPS] update failed but lib file was molested" false else rm lib fi * FAIL 7: update should fail when path is used by a nonempty directory mkdir lib && echo "hello" >lib/a && if git-submodule update then echo "[OOPS] update should have failed" false elif test "$(cat lib/a)" != "hello" then echo "[OOPS] update failed but lib/a was molested" false else rm lib/a fi * ok 8: update should work when path is an empty dir * ok 9: status should be "up-to-date" after update * ok 10: status should be "modified" after submodule commit * ok 11: the --cached sha1 should be rev1 * ok 12: update should checkout rev1 * ok 13: status should be "up-to-date" after update * ok 14: checkout superproject with subproject already present * failed 2 among 14 test(s) *** t7500-commit.sh *** * ok 1: a basic commit in an empty tree should succeed * ok 2: nonexistent template file should return error * ok 3: nonexistent template file in config should return error * ok 4: unedited template should not commit * ok 5: unedited template with comments should not commit * ok 6: a Signed-off-by line by itself should not commit * ok 7: adding comments to a template should not commit * ok 8: adding real content to a template should commit * ok 9: -t option should be short for --template * ok 10: config-specified template should commit * ok 11: explicit commit message should override template * ok 12: commit message from file should override template * passed all 12 test(s) *** t7501-commit.sh *** * ok 1: initial status * ok 2: fail initial amend * ok 3: initial commit * ok 4: invalid options 1 * ok 5: invalid options 2 * ok 6: using invalid commit with -C * ok 7: testing nothing to commit * ok 8: next commit * ok 9: commit message from non-existing file * ok 10: empty commit message * ok 11: commit message from file * ok 12: amend commit * ok 13: passing -m and -F * ok 14: using message from other commit * ok 15: editing message from other commit * ok 16: message from stdin * ok 17: overriding author from command line * ok 18: interactive add * ok 19: showing committed revisions * FAIL 20: validate git-rev-list output. diff current expected * failed 1 among 20 test(s) *** t8001-annotate.sh *** * ok 1: prepare reference tree * ok 2: check all lines blamed on A * ok 3: Setup new lines blamed on B * ok 4: Two lines blamed on A, two on B * ok 5: merge-setup part 1 * ok 6: Two lines blamed on A, two on B, two on B1 * ok 7: merge-setup part 2 * ok 8: Two lines blamed on A, one on B, one on B2 * ok 9: merge-setup part 3 * ok 10: Two lines blamed on A, one on B, two on B1, one on B2 * ok 11: Annotating an old revision works * ok 12: Annotating an old revision works * ok 13: merge-setup part 4 * ok 14: Two lines blamed on A, one on B, two on B1, one on B2, one on A U Thor * ok 15: an incomplete line added * ok 16: With incomplete lines. * ok 17: some edit * ok 18: some edit * ok 19: Annotating an old revision works * passed all 19 test(s) *** t8002-blame.sh *** * ok 1: prepare reference tree * ok 2: check all lines blamed on A * ok 3: Setup new lines blamed on B * ok 4: Two lines blamed on A, two on B * ok 5: merge-setup part 1 * ok 6: Two lines blamed on A, two on B, two on B1 * ok 7: merge-setup part 2 * ok 8: Two lines blamed on A, one on B, one on B2 * ok 9: merge-setup part 3 * ok 10: Two lines blamed on A, one on B, two on B1, one on B2 * ok 11: Annotating an old revision works * ok 12: Annotating an old revision works * ok 13: merge-setup part 4 * ok 14: Two lines blamed on A, one on B, two on B1, one on B2, one on A U Thor * ok 15: an incomplete line added * ok 16: With incomplete lines. * ok 17: some edit * ok 18: some edit * passed all 18 test(s) *** t8003-blame.sh *** * ok 1: setup * ok 2: straight copy without -C * ok 3: straight move without -C * ok 4: straight copy with -C * ok 5: straight move with -C * ok 6: straight copy with -C -C * ok 7: straight move with -C -C * ok 8: append without -C * ok 9: append with -C * ok 10: append with -C -C * ok 11: append with -C -C -C * ok 12: blame wholesale copy * ok 13: blame wholesale copy and more * passed all 13 test(s) *** t9001-send-email.sh *** * ok 1: prepare reference tree * ok 2: Setup helper tool * ok 3: Extract patches * ok 4: Send patches * ok 5: Verify commandline * passed all 5 test(s) *** t9100-git-svn-basic.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9101-git-svn-props.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9102-git-svn-deep-rmdir.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9104-git-svn-follow-parent.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9105-git-svn-commit-diff.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9106-git-svn-commit-diff-clobber.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9107-git-svn-migrate.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9108-git-svn-glob.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9110-git-svn-use-svm-props.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9111-git-svn-use-svnsync-props.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9112-git-svn-md5less-file.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9113-git-svn-dcommit-new-file.sh *** *** t9114-git-svn-dcommit-merge.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9115-git-svn-dcommit-funky-renames.sh *** * ok 1: skipping git-svn tests, svn not found * passed all 1 test(s) *** t9200-git-cvsexportcommit.sh *** * ok 1: New file * ok 2: Remove two files, add two and update two * ok 3: Fail to change binary more than one generation old * ok 4: Remove only binary files * ok 5: Remove only a text file * ok 6: New file with spaces in file name * ok 7: Update file with spaces in file name * ok 8: File with non-ascii file name * ok 9: Mismatching patch should fail * passed all 9 test(s) *** t9300-fast-import.sh *** * ok 1: A: create pack from stdin * ok 2: A: verify pack * FAIL 3: A: verify commit git cat-file commit master | sed 1d >actual && git diff expect actual * FAIL 4: A: verify tree git cat-file -p master^{tree} | sed "s/ [0-9a-f]* / /" >actual && git diff expect actual * ok 5: A: verify file2 * ok 6: A: verify file3 * ok 7: A: verify file4 * ok 8: A: verify marks output * ok 9: A: verify marks import * ok 10: A: verify marks import does not crash * ok 11: A: verify pack * ok 12: A: verify diff * ok 13: B: fail on invalid blob sha1 * ok 14: C: incremental import create pack from stdin * ok 15: C: verify pack * ok 16: C: validate reuse existing blob * FAIL 17: C: verify commit git cat-file commit branch | sed 1d >actual && git diff expect actual * ok 18: C: validate rename result * ok 19: D: inline data in commit * ok 20: D: verify pack * ok 21: D: validate new files added * ok 22: D: verify file5 * ok 23: D: verify file6 * ok 24: E: rfc2822 date, --date-format=raw * ok 25: E: rfc2822 date, --date-format=rfc2822 * ok 26: E: verify pack * FAIL 27: E: verify commit git cat-file commit branch | sed 1,2d >actual && git diff expect actual * FAIL 28: F: non-fast-forward update skips if git-fast-import actual && git diff expect actual * ok 31: G: non-fast-forward update forced * ok 32: G: verify pack * ok 33: G: branch changed, but logged * ok 34: H: deletall, add 1 * ok 35: H: verify pack * ok 36: H: validate old files removed, new files added * ok 37: H: verify file * ok 38: I: export-pack-edges * FAIL 39: I: verify edge list sed -e s/pack-.*pack/pack-.pack/ edges.list >actual && git diff expect actual * ok 40: J: reset existing branch creates empty commit * ok 41: J: branch has 1 commit, empty tree * ok 42: K: reinit branch with from * ok 43: K: verify K^1 = branch^1 * FAIL 44: L: verify internal tree sorting git-fast-import output && git diff expect output * ok 45: M: rename file in same subdirectory * ok 46: M: rename file to new subdirectory * ok 47: M: rename subdirectory to new subdirectory * ok 48: N: copy file in same subdirectory * ok 49: N: copy then modify subdirectory * ok 50: N: copy dirty subdirectory * failed 8 among 50 test(s) *** t9400-git-cvsserver-server.sh *** * ok 1: skipping git-cvsserver tests, Perl SQLite interface unavailable * passed all 1 test(s) *** t9500-gitweb-standalone-no-errors.sh *** * ok 1: no commits: projects_list (implicit) * ok 2: no commits: projects_index * ok 3: no commits: .git summary (implicit) * ok 4: no commits: .git commit (implicit HEAD) * ok 5: no commits: .git commitdiff (implicit HEAD) * ok 6: no commits: .git tree (implicit HEAD) * ok 7: no commits: .git heads * ok 8: no commits: .git tags * ok 9: Make initial commit * ok 10: projects_list (implicit) * ok 11: projects_index * ok 12: .git summary (implicit) * ok 13: .git commit (implicit HEAD) * ok 14: .git commitdiff (implicit HEAD, root commit) * ok 15: .git commitdiff_plain (implicit HEAD, root commit) * ok 16: .git commit (HEAD) * ok 17: .git tree (implicit HEAD) * ok 18: .git blob (file) * ok 19: .git blob_plain (file) * ok 20: .git commit (non-existent) * ok 21: .git commitdiff (non-existent) * ok 22: .git commitdiff (non-existent vs HEAD) * ok 23: .git tree (0000000000000000000000000000000000000000) * ok 24: .git tag (0000000000000000000000000000000000000000) * ok 25: .git blob (non-existent) * ok 26: .git blob_plain (non-existent) * ok 27: commitdiff(0): root * ok 28: commitdiff(0): file added * FAIL 29: commitdiff(0): mode change chmod a+x new_file && git commit -a -m "Mode changed." && gitweb_run "p=.git;a=commitdiff" * ok 30: commitdiff(0): file renamed * ok 31: commitdiff(0): file to symlink * ok 32: commitdiff(0): file deleted * ok 33: commitdiff(0): file copied / new file * ok 34: commitdiff(0): mode change and modified * ok 35: commitdiff(0): renamed and modified * ok 36: commitdiff(0): renamed, mode change and modified * ok 37: setup typechange commits * ok 38: commitdiff(2): file renamed from foo to foo/baz * ok 39: commitdiff(2): file renamed from foo/baz to foo * ok 40: commitdiff(2): directory becomes file * ok 41: commitdiff(2): file becomes directory * ok 42: commitdiff(2): file becomes symlink * ok 43: commitdiff(2): symlink becomes file * ok 44: commitdiff(2): symlink becomes directory * ok 45: commitdiff(2): directory becomes symlink * ok 46: Create a merge * ok 47: commit(0): merge commit * ok 48: commitdiff(0): merge commit * ok 49: Prepare large commit * ok 50: commit(1): large commit * ok 51: commitdiff(1): large commit * ok 52: tags: list of different types of tags * ok 53: tag: Tag to commit object * ok 54: tag: on lightweight tag (invalid) * ok 55: logs: log (implicit HEAD) * ok 56: logs: shortlog (implicit HEAD) * ok 57: logs: history (implicit HEAD, file) * ok 58: feeds: OPML * ok 59: feed: RSS * ok 60: feed: Atom * ok 61: encode(commit): utf8 * ok 62: encode(commit): iso-8859-1 * ok 63: encode(log): utf-8 and iso-8859-1 * ok 64: opt: log --no-merges * ok 65: opt: atom --no-merges * ok 66: opt: "file" history --no-merges * ok 67: opt: log --no-such-option (invalid option) * ok 68: opt: tree --no-merges (invalid option for action) * failed 1 among 68 test(s) rm -f -r trash