in cmd/ip-masq-agent-v2/testing/fakefs/fakefs.go [102:109]
func (NotExistFS) ReadFile(name string) ([]byte, error) {
return []byte{},
&os.PathError{
Op: "open",
Path: name,
Err: errors.New("errno 2"), // errno 2 is ENOENT, since the file shouldn't exist
}
}