Thread (1 message) 1 message, 1 author, 2020-03-09

Re: [PATCH] t1091: don't grep for `strerror()` string

From: Junio C Hamano <hidden>
Date: 2020-03-09 15:04:29

Martin Ågren [off-list ref] writes:
We grep for "File exists" in stderr of the failing `git sparse-checkout`
to make sure that it failed for the right reason. We expect the string
to show up there since we call `strerror(errno)` in
`unable_to_lock_message()` in lockfile.c.

On the NonStop platform, this fails because the error string is "File
already exists", which doesn't match our grepping.
Thanks for a quick fix.  I agree that looking for our own string
makes a lot more sense here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help