-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All functions in golang.org/x/sys/unix always return raw errno values, which can be compared directly. There are about 100-130 errors, and about 350 functions in unix package. Listing them separately is hardly an option, so let's ignore all unix.E* errors that come from all functions in unix package. This functionality is made possible thanks to commit cd16050. Add a small test case (we can't really add the whole x/sys/unix under testdata, so use a stub implementation). Fixes: #10 Co-Authored-by: polyfloyd <[email protected]> Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters