Skip to content

berrno_test.cc: accept both 271E and 273E#1409

Merged
arogge merged 2 commits intobareos:bareos-21from
arogge:dev/pstorz/bareos-21/accept-multiple-windows-errnos
Mar 15, 2023
Merged

berrno_test.cc: accept both 271E and 273E#1409
arogge merged 2 commits intobareos:bareos-21from
arogge:dev/pstorz/bareos-21/accept-multiple-windows-errnos

Conversation

@arogge
Copy link
Member

@arogge arogge commented Mar 15, 2023

The error string for bind_error_message can be both "No such file or directory (errno=2 | win_error=0x0000271E)" and
"No such file or directory (errno=2 | win_error=0x0000273F)" depending on the windows cross chain.

We now allow both.

(cherry picked from commit 5394724)

Thank you for contributing to the Bareos Project!

Backport of PR #1407 to bareos-21 (remove this line, if it no backport)

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

The error string for bind_error_message can be both
"No such file or directory (errno=2 | win_error=0x0000271E)"
and
"No such file or directory (errno=2 | win_error=0x0000273F)"
depending on the windows cross chain.

We now allow both.

(cherry picked from commit 5394724)
@arogge arogge merged commit 40b42cc into bareos:bareos-21 Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants