| 1 | | |
| | 1 | Seems the previous patches have been added into git, so we just make and make install using nearly the same commands as in previous versions, just needed to add -liconv and change the directories to /boot/common.[[BR]] |
| | 2 | |
| | 3 | Here's the output of make test: |
| | 4 | {{{ |
| | 5 | * ok 1: .git/objects should be empty after git init in an empty repo. |
| | 6 | * ok 2: .git/objects should have 3 subdirectories. |
| | 7 | * ok 3: success is reported like this |
| | 8 | * still broken 4: pretend we have a known breakage |
| | 9 | * FIXED 5: pretend we have fixed a known breakage |
| | 10 | * ok 6: git update-index without --add should fail adding. |
| | 11 | * ok 7: git update-index with --add should succeed. |
| | 12 | * ok 8: writing tree out with git write-tree |
| | 13 | * ok 9: validate object ID of a known tree. |
| | 14 | * ok 10: git update-index without --remove should fail removing. |
| | 15 | * ok 11: git update-index with --remove should be able to remove. |
| | 16 | * ok 12: git write-tree should be able to write an empty tree. |
| | 17 | * ok 13: validate object ID of a known tree. |
| | 18 | * ok 14: adding various types of objects with git update-index --add. |
| | 19 | * ok 15: showing stage with git ls-files --stage |
| | 20 | * ok 16: validate git ls-files output for a known tree. |
| | 21 | * ok 17: writing tree out with git write-tree. |
| | 22 | * ok 18: validate object ID for a known tree. |
| | 23 | * ok 19: showing tree with git ls-tree |
| | 24 | * ok 20: git ls-tree output for a known tree. |
| | 25 | * ok 21: showing tree with git ls-tree -r |
| | 26 | * ok 22: git ls-tree -r output for a known tree. |
| | 27 | * ok 23: showing tree with git ls-tree -r -t |
| | 28 | * ok 24: git ls-tree -r output for a known tree. |
| | 29 | * ok 25: writing partial tree out with git write-tree --prefix. |
| | 30 | * ok 26: validate object ID for a known tree. |
| | 31 | * ok 27: writing partial tree out with git write-tree --prefix. |
| | 32 | * ok 28: validate object ID for a known tree. |
| | 33 | * ok 29: put invalid objects into the index. |
| | 34 | * ok 30: writing this tree without --missing-ok. |
| | 35 | * ok 31: writing this tree with --missing-ok. |
| | 36 | * ok 32: git read-tree followed by write-tree should be idempotent. |
| | 37 | * ok 33: validate git diff-files output for a know cache/work tree state. |
| | 38 | * ok 34: git update-index --refresh should succeed. |
| | 39 | * ok 35: no diff after checkout and git update-index --refresh. |
| | 40 | * ok 36: git commit-tree records the correct tree in a commit. |
| | 41 | * ok 37: git commit-tree records the correct parent in a commit. |
| | 42 | * ok 38: git commit-tree omits duplicated parent in a commit. |
| | 43 | * ok 39: update-index D/F conflict |
| | 44 | * ok 40: absolute path works as expected |
| | 45 | * ok 41: very long name in the index handled sanely |
| | 46 | * fixed 1 known breakage(s) |
| | 47 | * still have 1 known breakage(s) |
| | 48 | * passed all remaining 40 test(s) |
| | 49 | *** t0001-init.sh *** |
| | 50 | * ok 1: plain |
| | 51 | * ok 2: plain with GIT_WORK_TREE |
| | 52 | * ok 3: plain bare |
| | 53 | * ok 4: plain bare with GIT_WORK_TREE |
| | 54 | * ok 5: GIT_DIR bare |
| | 55 | * ok 6: init --bare |
| | 56 | * ok 7: GIT_DIR non-bare |
| | 57 | * ok 8: GIT_DIR & GIT_WORK_TREE (1) |
| | 58 | * ok 9: GIT_DIR & GIT_WORK_TREE (2) |
| | 59 | * ok 10: reinit |
| | 60 | * ok 11: init with --template |
| | 61 | * ok 12: init with --template (blank) |
| | 62 | * ok 13: init --bare/--shared overrides system/global config |
| | 63 | * ok 14: init honors global core.sharedRepository |
| | 64 | * passed all 14 test(s) |
| | 65 | *** t0002-gitfile.sh *** |
| | 66 | * ok 1: initial setup |
| | 67 | * ok 2: bad setup: invalid .git file format |
| | 68 | * ok 3: bad setup: invalid .git file path |
| | 69 | * ok 4: final setup + check rev-parse --git-dir |
| | 70 | * ok 5: check hash-object |
| | 71 | * ok 6: check cat-file |
| | 72 | * ok 7: check update-index |
| | 73 | * ok 8: check write-tree |
| | 74 | * ok 9: check commit-tree |
| | 75 | * ok 10: check rev-list |
| | 76 | * passed all 10 test(s) |
| | 77 | *** t0003-attributes.sh *** |
| | 78 | * ok 1: setup |
| | 79 | * ok 2: attribute test |
| | 80 | * ok 3: attribute test: read paths from stdin |
| | 81 | * ok 4: root subdir attribute test |
| | 82 | * ok 5: setup bare |
| | 83 | * ok 6: bare repository: check that .gitattribute is ignored |
| | 84 | * ok 7: bare repository: test info/attributes |
| | 85 | * passed all 7 test(s) |
| | 86 | *** t0004-unwritable.sh *** |
| | 87 | * ok 1: setup |
| | 88 | * FAIL 2: write-tree should notice unwritable repository |
| | 89 | |
| | 90 | |
| | 91 | ( |
| | 92 | chmod a-w .git/objects .git/objects/?? && |
| | 93 | test_must_fail git write-tree |
| | 94 | ) |
| | 95 | status=$? |
| | 96 | chmod 775 .git/objects .git/objects/?? |
| | 97 | (exit $status) |
| | 98 | |
| | 99 | |
| | 100 | * FAIL 3: commit should notice unwritable repository |
| | 101 | |
| | 102 | |
| | 103 | ( |
| | 104 | chmod a-w .git/objects .git/objects/?? && |
| | 105 | test_must_fail git commit -m second |
| | 106 | ) |
| | 107 | status=$? |
| | 108 | chmod 775 .git/objects .git/objects/?? |
| | 109 | (exit $status) |
| | 110 | |
| | 111 | |
| | 112 | * FAIL 4: update-index should notice unwritable repository |
| | 113 | |
| | 114 | |
| | 115 | ( |
| | 116 | echo 6O >file && |
| | 117 | chmod a-w .git/objects .git/objects/?? && |
| | 118 | test_must_fail git update-index file |
| | 119 | ) |
| | 120 | status=$? |
| | 121 | chmod 775 .git/objects .git/objects/?? |
| | 122 | (exit $status) |
| | 123 | |
| | 124 | |
| | 125 | * FAIL 5: add should notice unwritable repository |
| | 126 | |
| | 127 | |
| | 128 | ( |
| | 129 | echo b >file && |
| | 130 | chmod a-w .git/objects .git/objects/?? && |
| | 131 | test_must_fail git add file |
| | 132 | ) |
| | 133 | status=$? |
| | 134 | chmod 775 .git/objects .git/objects/?? |
| | 135 | (exit $status) |
| | 136 | |
| | 137 | |
| | 138 | * failed 4 among 5 test(s) |
| | 139 | make[2]: *** [t0004-unwritable.sh] Error 1 |
| | 140 | make[2]: Leaving directory `/boot/home/git-1.6.1.1/t' |
| | 141 | make[1]: *** [all] Error 2 |
| | 142 | make[1]: Leaving directory `/boot/home/git-1.6.1.1/t' |
| | 143 | make: *** [test] Error 2 |
| | 144 | ~/git-1.6.1.1> |
| | 145 | }}} |