author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Wed, 7 Mar 2012 10:54:16 +0000 (17:54 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 7 Mar 2012 17:07:37 +0000 (09:07 -0800) | ||
commit | d41489a6424308dc9a0409bc2f6845aa08bd4f7d | |
tree | 601d9bcb5057d304b4ab50f5eddd730a4c44424a | tree | snapshot |
parent | 47a02ff2ca821c52268197dd5fa46cd60a2e94bc | commit | diff |
Add more large blob test cases
New test cases list commands that should work when memory is
limited. All memory allocation functions (*) learn to reject any
allocation larger than $GIT_ALLOC_LIMIT if set.
(*) Not exactly all. Some places do not use x* functions, but
malloc/calloc directly, notably diff-delta. These code path should
never be run on large blobs.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
New test cases list commands that should work when memory is
limited. All memory allocation functions (*) learn to reject any
allocation larger than $GIT_ALLOC_LIMIT if set.
(*) Not exactly all. Some places do not use x* functions, but
malloc/calloc directly, notably diff-delta. These code path should
never be run on large blobs.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1050-large.sh | diff | blob | history | |
wrapper.c | diff | blob | history |