summaryrefslogtreecommitdiff
path: root/git-gui/.gitignore
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2020-07-18 11:48:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-18 13:47:05 -0700
commitd223e85407f75ffb562b6f7b5f33b6135607977a (patch)
tree6dd258a9c65dbe6f76d0cf54ad4a0b065f2ba356 /git-gui/.gitignore
parentbranch: don't mix --edit-description (diff)
downloadtgif-d223e85407f75ffb562b6f7b5f33b6135607977a.tar.xz
t3200: don't grep for `strerror()` string
In 6b7093064a ("t3200: test for specific errors", 2020-06-15), we learned to grep stderr to ensure that the failing `git branch` invocations fail for the right reason. In two of these tests, we grep for "File exists", expecting the string to show up there since config.c calls `error_errno()`, which ends up including `strerror(errno)` in the error message. But as we saw in 4605a73073 ("t1091: don't grep for `strerror()` string", 2020-03-08), there exists at least one implementation where `strerror()` yields a slightly different string than the one we're grepping for. In particular, these tests fail on the NonStop platform. Similar to 4605a73073, grep for the beginning of the string instead to avoid relying on `strerror()` behavior. Reported-by: Randall S. Becker <rsbecker@nexbridge.com> Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/.gitignore')
0 files changed, 0 insertions, 0 deletions