| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Use something that will wait (eg `cat`) instead of something that
completes basically immediately (eg `echo`) so that we have a chance to
actually kill the process.
|
| |
|
|
|
|
| |
We can't reliably detect SIGPIPE on close because of platform
differences. Track `pid` and send `SIGTERM` to a function and ensure
that we can detect it.
|
| | |
|
| |
|
|
|
|
|
|
| |
Add functions to use convert a string with length, instead of assuming
NUL termination.
In addition, move the utf8 to 16 conversion routines into the `git_utf8`
namespace instead of using namespaceless `git__` prefixed names.
|
| |
|
|
|
|
|
| |
The `git_fs_path_owner_is_current_user` expects the root dir on unix
(`/`) to be owned by a non-current user. This makes sense unless root
(or euid == 0) is running the tests, which often happens during distro
build / packaging scripts. Allow them to run the tests.
|
| |
|
|
|
|
| |
Enforce the RFC for other protocols; Google's questionable choices about
malformed SSH protocols shouldn't impact our ability to properly parse
HTTPS.
|
| |
|
|
|
| |
Provide our own url parser, so that we can handle Google Code's "fun"
URLs that have a userinfo with an `@` in it. :cry:
|
| | |
|
| |
|
|
|
|
| |
The url::scp::invalid_addresses test attempts to test an invalid IPv6
address. It does not, it calls the regular URL parsing function which
treats it like a possibly invalid scheme.
|
| | |
|
| |
|
|
|
|
| |
Provide individual file ownership checks for both the current user and
the system user, as well as a combined current user and system user
check.
|
| |
|
|
|
| |
The 32-bit ARM QEMU builds are flaky when running `lstat`. Disable those
testing `lstat`'s `st_size` temporarily.
|
| |
|
|
|
| |
When GIT_SHA1_WIN32 or GIT_SHA256_WIN32 is used, ensure that we test
both CryptoNG ("cng") and CryptoAPI.
|
| |
|
|
|
| |
Add support for a SHA256 hash algorithm, and add the "builtin" SHA256
hash engine (from RFC 6234).
|
| |
|
|
|
|
| |
Now that we safely assert and return, we may need to be in a place where
we need to unlock mutexes or cleanup resources. Provide
`ASSERT_WITH_CLEANUP` that permits for this behavior by taking a block.
|
| | |
|
| |
|