This does appear to be an error reporting failure. However, we are using the OS functions provided (hopefully implemented correctly by gccgo).
We are doing an _, err = os.Open(path), and then expecting it to be os.IsNotFoundError(err) to be True.
Now on *my* machine errcode 0x6 is ENXIO which doesn't look like ENOENT to me.
Getting ENXIO sounds *really* strange (the device is not connected)? Is it possible that this is a failure because of how your VM is being set up?
Either that or GCCGO is mapping error codes incorrectly somehow.
This does appear to be an error reporting failure. However, we are using the OS functions provided (hopefully implemented correctly by gccgo). ror(err) to be True.
We are doing an _, err = os.Open(path), and then expecting it to be os.IsNotFoundEr
Now on *my* machine errcode 0x6 is ENXIO which doesn't look like ENOENT to me.
Given the description here: http:// www.baanboard. com/programmers _manual_ baanerp_ help_errors_ 6_ENXIO
Getting ENXIO sounds *really* strange (the device is not connected)? Is it possible that this is a failure because of how your VM is being set up?
Either that or GCCGO is mapping error codes incorrectly somehow.