public void TestStartOnUnixWithBadFormat()
{
string path = GetTestFilePath();
File.Create(path).Dispose();
Assert.Equal(0, chmod(path, 744)); // execute permissions
using (Process p = Process.Start(path))
{
p.WaitForExit();
Assert.NotEqual(0, p.ExitCode);
}
}