[Prolint-cvs] SF.net SVN: prolint: [266] trunk/prolint/regrtest
Brought to you by:
johnallengreen,
jurjen
From: <ju...@us...> - 2006-03-15 22:37:13
|
Revision: 266 Author: jurjen Date: 2006-03-15 14:37:01 -0800 (Wed, 15 Mar 2006) ViewCVS: http://svn.sourceforge.net/prolint/?rev=266&view=rev Log Message: ----------- hardened regression test for rule "runnotfound": files to search for have random names and are very unlikely to be found Modified Paths: -------------- trunk/prolint/regrtest/expect.log trunk/prolint/regrtest/runargs.i trunk/prolint/regrtest/runname.i Modified: trunk/prolint/regrtest/expect.log =================================================================== --- trunk/prolint/regrtest/expect.log 2006-03-15 22:14:45 UTC (rev 265) +++ trunk/prolint/regrtest/expect.log 2006-03-15 22:37:01 UTC (rev 266) @@ -50,13 +50,13 @@ rule=allfinds; source=prolint/regrtest/wholeindex.i; line= 16; descr=FIND NEXT buf_customer statement included. rule=allfinds; source=prolint/regrtest/wholeindex.i; line= 19; descr=FIND NEXT tt_wholeindex statement included. rule=allfinds; source=prolint/regrtest/wholeindex.i; line= 22; descr=FIND NEXT buf_wholeindex statement included. -rule=backslash; source=prolint/regrtest/runname.i; line= 13; descr=backslash in filename 'subdir\test.p' (not Unix-compatible) -rule=backslash; source=prolint/regrtest/runname.i; line= 14; descr=backslash in filename 'SubDir\Test.p' (not Unix-compatible) -rule=backslash; source=prolint/regrtest/runname.i; line= 36; descr=backslash in filename 'SubDir\Test.p' (not Unix-compatible) -rule=backslash; source=prolint/regrtest/runname.i; line= 37; descr=backslash in filename 'SubDir\Test.p' (not Unix-compatible) -rule=backslash; source=prolint/regrtest/runname.i; line= 45; descr=backslash in filename 'SubDir\Test.p' (not Unix-compatible) -rule=backslash; source=prolint/regrtest/runname.i; line= 46; descr=backslash in filename 'Another\Test.p' (not Unix-compatible) -rule=backslash; source=prolint/regrtest/runname.i; line= 63; descr=backslash in string 'test\test.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 13; descr=backslash in filename 'subdir\ghhtf.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 14; descr=backslash in filename 'SubDir\Ghhtf.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 36; descr=backslash in filename 'SubDir\Shgchcg.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 37; descr=backslash in filename 'SubDir\Shgchcg.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 45; descr=backslash in filename 'SubDir\Shgchcg.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 46; descr=backslash in filename 'Another\Shgchcg.p' (not Unix-compatible) +rule=backslash; source=prolint/regrtest/runname.i; line= 63; descr=backslash in string 'test\jhdgjah.p' (not Unix-compatible) rule=blocklabel; source=prolint/regrtest/blocklabel.i; line= 6; descr=LEAVE should specify a blocklabel rule=blocklabel; source=prolint/regrtest/blocklabel.i; line= 18; descr=NEXT should specify a blocklabel rule=colon-t; source=prolint/regrtest/colon-t.i; line= 5; descr=attrib :T will trim "this is a " @@ -485,7 +485,7 @@ rule=runargs; source=prolint/regrtest/runargs.i; line= 12; descr=run-time arguments in RUN statement rule=runargs; source=prolint/regrtest/runargs.i; line= 15; descr=run-time arguments in RUN statement rule=runargs; source=prolint/regrtest/runargs.i; line= 18; descr=run-time arguments in RUN statement -rule=runasnotfound; source=prolint/regrtest/runname.i; line= 51; descr=proc 'Async.p' not found on hRunnameServer +rule=runasnotfound; source=prolint/regrtest/runname.i; line= 51; descr=proc 'Ahjsgf.p' not found on hRunnameServer rule=runasnotfound; source=prolint/regrtest/varusage.i; line= 42; descr=proc 'myproc.p' not found on v_varusage_8 rule=runname; source=prolint/regrtest/runname.i; line= 12; descr=progname in RUN-statement is not Unix-compatible rule=runname; source=prolint/regrtest/runname.i; line= 13; descr=progname in RUN-statement is not Unix-compatible @@ -502,20 +502,25 @@ rule=runname; source=prolint/regrtest/runname.i; line= 63; descr=progname in RUN-statement is not Unix-compatible rule=runname; source=prolint/regrtest/runname.i; line= 64; descr=progname in RUN-statement is not Unix-compatible rule=runname; source=prolint/regrtest/runname.i; line= 65; descr=progname in RUN-statement is not Unix-compatible -rule=runnotfound; source=prolint/regrtest/runargs.i; line= 18; descr=proc 'something.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 11; descr=proc 'subdir/test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 12; descr=proc 'SubDir/Test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 13; descr=proc 'subdir\test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 14; descr=proc 'SubDir\Test.p' not found +rule=runnotfound; source=prolint/regrtest/runargs.i; line= 18; descr=proc 'jhsgfjhg.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 10; descr=proc 'gjhgjhg.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 11; descr=proc 'subdir/ghhtf.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 12; descr=proc 'SubDir/Ghhtf.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 13; descr=proc 'subdir\ghhtf.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 14; descr=proc 'SubDir\Ghhtf.p' not found rule=runnotfound; source=prolint/regrtest/runname.i; line= 20; descr=proc 'Without_dotp' not found rule=runnotfound; source=prolint/regrtest/runname.i; line= 21; descr=proc 'without_dotp' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 36; descr=proc 'SubDir\Test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 37; descr=proc 'SubDir\Test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 45; descr=proc 'SubDir\Test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 46; descr=proc 'Another\Test.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 48; descr=proc 'LastTest.p' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 58; descr=proc 'sys\vorder.w' not found -rule=runnotfound; source=prolint/regrtest/runname.i; line= 59; descr=proc 'sys\vorder.r' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 22; descr=proc 'jkhhgf.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 23; descr=proc 'Jkhhgf.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 32; descr=proc 'kjckjshcr.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 36; descr=proc 'SubDir\Shgchcg.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 37; descr=proc 'SubDir\Shgchcg.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 45; descr=proc 'SubDir\Shgchcg.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 46; descr=proc 'Another\Shgchcg.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 48; descr=proc 'Rjhsghj.p' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 58; descr=proc 'gsd\hwhdhe.w' not found +rule=runnotfound; source=prolint/regrtest/runname.i; line= 59; descr=proc 'gsd\hwhdhe.r' not found +rule=runnotfound; source=prolint/regrtest/test3.p; line= 18; descr=proc 'test2.p' not found rule=runnotfound; source=prolint/regrtest/varusage.i; line= 75; descr=proc 'myproc.p' not found rule=runnotfound; source=prolint/regrtest/varusage.i; line= 82; descr=proc 'myproc.p' not found rule=runnotfound; source=prolint/regrtest/varusage.i; line= 91; descr=proc 'myproc.p' not found @@ -556,9 +561,9 @@ rule=strattrib; source=prolint/regrtest/runname.i; line= 32; descr=no string attributes on 'parameter2' rule=strattrib; source=prolint/regrtest/runname.i; line= 41; descr=no string attributes on "Part1" rule=strattrib; source=prolint/regrtest/runname.i; line= 51; descr=no string attributes on "event_ip" -rule=strattrib; source=prolint/regrtest/runname.i; line= 63; descr=no string attributes on "test\test.p" -rule=strattrib; source=prolint/regrtest/runname.i; line= 64; descr=no string attributes on "test~\test.p" -rule=strattrib; source=prolint/regrtest/runname.i; line= 65; descr=no string attributes on "test\\test.p" +rule=strattrib; source=prolint/regrtest/runname.i; line= 63; descr=no string attributes on "test\jhdgjah.p" +rule=strattrib; source=prolint/regrtest/runname.i; line= 64; descr=no string attributes on "test~\jhdgjah.p" +rule=strattrib; source=prolint/regrtest/runname.i; line= 65; descr=no string attributes on "test\\jhdgjah.p" rule=strattrib; source=prolint/regrtest/sharelock.i; line= 16; descr=no string attributes on "x" rule=strattrib; source=prolint/regrtest/strattrib.i; line= 5; descr=no string attributes on "hello" rule=strattrib; source=prolint/regrtest/strattrib.i; line= 10; descr=no string attributes on 'Hello prolint user' Modified: trunk/prolint/regrtest/runargs.i =================================================================== --- trunk/prolint/regrtest/runargs.i 2006-03-15 22:14:45 UTC (rev 265) +++ trunk/prolint/regrtest/runargs.i 2006-03-15 22:37:01 UTC (rev 266) @@ -15,7 +15,7 @@ run something .p ("a":U). /* forgot the dot at the end of the line: next line is runtime argument! */ -run something.p ("") +run jhsgfjhg.p ("") runargs_1 = runargs_2 + runargs_3. Modified: trunk/prolint/regrtest/runname.i =================================================================== --- trunk/prolint/regrtest/runname.i 2006-03-15 22:14:45 UTC (rev 265) +++ trunk/prolint/regrtest/runname.i 2006-03-15 22:37:01 UTC (rev 266) @@ -7,11 +7,11 @@ DEFINE VARIABLE hRunnameServer AS HANDLE NO-UNDO. /* test for uppercase filespecs and backslashes */ -RUN test.p. -RUN subdir/test.p. -RUN SubDir/Test.p. -RUN subdir\test.p. -RUN SubDir\Test.p. +RUN gjhgjhg.p. +RUN subdir/ghhtf.p. +RUN SubDir/Ghhtf.p. +RUN subdir\ghhtf.p. +RUN SubDir\Ghhtf.p. /* this is an internal procedure because it has no dot in its name */ RUN Without_dot. @@ -19,8 +19,8 @@ /* same name, but now it's external because it runs persistent */ RUN Without_dotp PERSISTENT SET hRunname. RUN without_dotp PERSISTENT SET hRunname. -RUN test.p PERSISTENT SET hRunname. -RUN Test.p PERSISTENT SET hRunname. +RUN jkhhgf.p PERSISTENT SET hRunname. +RUN Jkhhgf.p PERSISTENT SET hRunname. /* look at the string literals in the VALUE expression */ RUN VALUE( "part1":U + vRunname + ".p":T2) PERSISTENT SET hRunname. @@ -29,12 +29,12 @@ /* this is internal, because of the IN keyword, even if there's a dot in the name */ RUN soMethIng.p IN hRunname. -RUN test2.p ('parameter1', 'parameter2', OUTPUT vRunname). +RUN kjckjshcr.p ('parameter1', 'parameter2', OUTPUT vRunname). /* the next are not Unix-compatible, but warning is suppressed for the first one */ /* 35 */ {&_PROPARSE_ prolint-nowarn(runname)} -/* 36 */ RUN SubDir\Test.p. -/* 37 */ RUN SubDir\Test.p. +/* 36 */ RUN SubDir\Shgchcg.p. +/* 37 */ RUN SubDir\Shgchcg.p. /* 38 */ /* 39 */ {&_PROPARSE_ prolint-nowarn(strattrib,runname)} /* 40 */ RUN VALUE( "Part1" + vRunname + ".p":T2) PERSISTENT SET hRunname. @@ -42,27 +42,27 @@ /* 42 */ /* 43 */ {&_PROPARSE_ prolint-nowarn(runname)} /* 44 */ DO: -/* 45 */ RUN SubDir\Test.p. -/* 46 */ RUN Another\Test.p. +/* 45 */ RUN SubDir\Shgchcg.p. +/* 46 */ RUN Another\Shgchcg.p. /* 47 */ END. -/* 48 */ RUN LastTest.p. +/* 48 */ RUN Rjhsghj.p. /* statement containing both ON and IN : */ -RUN Async.p ON SERVER hRunnameServer ASYNCHRONOUS EVENT-PROCEDURE "event_ip" IN hRunname. +RUN Ahjsgf.p ON SERVER hRunnameServer ASYNCHRONOUS EVENT-PROCEDURE "event_ip" IN hRunname. PROCEDURE RTB_xref_generator : /* RUN statements are insterted by Roundtable when you add a smartobject to a smartcontainer: */ - RUN "sys\vorder.w *RTB-SmObj* ". - RUN sys\vorder.r. + RUN "gsd\hwhdhe.w *RTB-SmObj* ". + RUN gsd\hwhdhe.r. END PROCEDURE. -RUN VALUE("test\test.p"). -RUN VALUE("test~\test.p"). -RUN VALUE("test\\test.p"). +RUN VALUE("test\jhdgjah.p"). +RUN VALUE("test~\jhdgjah.p"). +RUN VALUE("test\\jhdgjah.p"). PROCEDURE CtrlFrame.TreeView.NodeClicked : /* progname contains dots, so prolint might think it is an external procedure? */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |