Only test resolve('.') == process.cwd() on the relevant OS