I have a NaCl program that uses nacl_io. I'm looking for a way to run automated tests on it without relying on a browser. As long as I'm not using sockets, using set_ldr to run the executable seems to do the job. I can use mkdir() and create files, for example. However, calling socket() in my program fails with "Permission denied".
Does the fact that I'm using sockets means that I must run my tests in a browser?
If so, what is the best way to automate this kind of tests?