@Test
@Ignore
public void testgetCommandExitValue()
{

    List<String> cmdWithArgs = new ArrayList<String>();
    if ( SystemUtils.IS_OS_LINUX )
    {
        cmdWithArgs.add( 0, "ls" );
    }
    else if ( SystemUtils.IS_OS_WINDOWS )
    {
        cmdWithArgs.add( 0, "dir" );
    }
    cmdWithArgs.add( 1, userHome );
    int exitValue = ProcessUtil.getCommandExitValue( cmdWithArgs );
    assertTrue( exitValue != -1 );
    assertTrue( exitValue == 0 );
    cmdWithArgs.remove( 1 );
    cmdWithArgs.add( 1, userHome + File.separator + timeInMillis + File.separator + timeInMillis );
    exitValue = ProcessUtil.getCommandExitValue( cmdWithArgs );
    assertTrue( exitValue != -1 );
    assertTrue( exitValue == 1 );
}