From: peter r. <pet...@us...> - 2003-03-18 15:23:41
|
Update of /cvsroot/ant-contrib/ant-contrib/test/src/net/sf/antcontrib/platform In directory sc8-pr-cvs1:/tmp/cvs-serv19539/test/src/net/sf/antcontrib/platform Modified Files: ShellScriptTest.java Log Message: modify shellscript tests to reflect changes in shellscript task Index: ShellScriptTest.java =================================================================== RCS file: /cvsroot/ant-contrib/ant-contrib/test/src/net/sf/antcontrib/platform/ShellScriptTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ShellScriptTest.java 13 Mar 2003 10:56:09 -0000 1.1 --- ShellScriptTest.java 18 Mar 2003 15:23:32 -0000 1.2 *************** *** 74,81 **** } ! public void testShText() { if (! hasSh) return; ! executeTarget("sh.text"); assertTrue(getLog().indexOf("hello world") > -1); } --- 74,88 ---- } ! public void testBashHello() { ! if (! hasBash) ! return; ! executeTarget("bash.hello"); ! assertTrue(getLog().indexOf("hello world") > -1); ! } ! ! public void testShInputString() { if (! hasSh) return; ! executeTarget("sh.inputstring"); assertTrue(getLog().indexOf("hello world") > -1); } |