t1404: do not rely on the exact phrasing of strerror()
commitc777cd81ef3b9eeb3d067efe9f3bee1949328803
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Feb 2019 20:16:20 +0000 (14 12:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Feb 2019 20:17:38 +0000 (14 12:17 -0800)
tree3d7edde4db5f75a5cc846ce622676dbff7eb54c2
parentcb5918aa0d50f50e83787f65c2ddc3dcb10159fe
t1404: do not rely on the exact phrasing of strerror()

Not even in C locale, it is wrong to expect that the exact phrasing
"File exists" is used to show EEXIST.

Reported-by: Randall S. Becker <rsbecker@nexbridge.com>
Helped-by: Duy Nguyen <pclouds@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1404-update-ref-errors.sh