@Test
public void testGetCommandLineArgsUnix() throws CruiseControlException {

    String testExecCmd = "/bin/sh";
    String testExecArg1 = "rm";
    String testExecArg2 = "rm -rf *";
    String testExecArgs = testExecArg1 + space + quote + testExecArg2 + quote;
    testExecCmd = testExecCmd.replace('/', File.separatorChar); // os-specific
    String[] testExecArr = { testExecCmd, testExecArg1, testExecArg2 };
    ExecScript script = createExecScript(testExecCmd, testExecArgs);
    TestUtil.assertArray("detailedCmd", testExecArr, script.buildCommandline().getCommandline());
}