1MIME-Version: 1.0 2Content-Transfer-Encoding: binary 3Content-Type: multipart/alternative; boundary="alian-mime-lite-html" 4 5Subject: Mail in HTML with images 6To: MIME-Lite@alianwebserver.com 7From: MIME-Lite@alianwebserver.com 8X-Mailer: MIME::Lite::HTML 1.24 9 10This is a multi-part message in MIME format. 11 12--alian-mime-lite-html 13MIME-Version: 1.0 14Content-Transfer-Encoding: 7bit 15Content-Type: text/plain; charset=iso-8859-1 16 17 18 19 20 Automated Testing of Perl5 Interpreter for NetWare. 21 22 23 24A set of Standard Unit Test Scripts to test all the functionalities of 25Perl5 Interpreter are available along with the CPAN download. They are 26all located under 't' folder. These include sub-folders under 't' such 27as: 'base', 'cmd', 'comp', 'io', lib', 'op', 'pod', 'pragma' and 'run'. 28Each of these sub-folders contain few test scripts ('.t' files) under 29them. 30 31Executing these test scripts on NetWare can be automated as per the 32following: 33 341. Generate automated scripts like 'base.pl', 'cmd.pl', 'comp.pl', 'io.pl', 35'lib.pl', 'op.pl', 'pod.pl', 'pragma.pl', 'run.pl' that execute all the 36test scripts ('.t' files) under the corresponding folder. 37 38For example, 'base.pl' to test all the scripts 39 under 'sys:\perl\scripts\t\base' folder, 40 'comp.pl' to test all the scripts 41 under 'sys:\perl\scripts\t\comp' folder and so on. 42 432. Generate an automated script, 'nwauto.pl' that executes all the above 44mentioned '.pl' automated scripts, thus in turn executing all the '.t' 45scripts. 46 47The script, 'NWScripts.pl' available under the 'NetWare\t' folder of the 48CPAN download, is written to generate these automated scripts when 49executed on a NetWare server. It generates 'base.pl', 'cmd.pl', 'comp.pl', 50'io.pl', 'lib.pl', 'op.pl', 'pod.pl', 'pragma.pl', 'run.pl' and also 51'nwauto.pl' by including all the corresponding '.t' scripts in them in 52backtick operators. 53 54For example, all the scripts that are under 't\base' folder will be 55entered in 'base.pl' and so on. 'nwauto.pl' includes all these '.pl' 56scripts like 'base.pl', 'comp.pl' etc. 57 58 59Perform the following steps to execute the automated scripts: 60 611. Map your NetWare server to "i:" 62 632. After complete build (building both interpreter and all extensions) 64of Perl for NetWare, execute "nmake nwinstall" in the 'NetWare' folder 65of the CPAN download. This installs all the library files, perl modules, 66the '.pl' files under 'NetWare\t' folder and all the '.t' scripts 67under 't' folder, all in appropriate folders onto your server. 68 693. Execute the command "perl t\NWModify.pl" on the console command 70prompt of your server. This script replaces 71 72 "@INC = " with "unshift @INC, " and 73 "push @INC, " with "unshift @INC, " 74 75from all the scripts under 'sys:\perl\scripts\t' folder. 76 77This is done to include the correct path for libraries into the scripts 78when executed on NetWare. If this is not done, some of the scripts will 79not get executed since they cannot locate the corresponding libraries. 80 814. Execute the command "perl t\NWScripts.pl" on the console command 82prompt to generate the automated scripts mentioned above 83under the 'sys:\perl\scripts\t' folder. 84 855. Execute the command "perl t\nwauto.pl" on the server console command 86prompt. This runs all the standard test scripts. If you desire to 87redirect or save the results into a file, say 'nwauto.txt', then the 88console command to execute is: "perl t\nwauto.pl > nwauto.txt". 89 906. If you wish to execute only a certain set of scripts, then run the 91corresponding '.pl' file. For example, if you wish to execute only the 92'lib' scripts, then execute 'lib.pl' through the server console command, 93"perl t\lib.pl'. To redirect the results into a file, the console command 94 is, "perl t\lib.pl > lib.txt". 95 96 97 98Known Issues: 99 100The following scripts are commented out in the corresponding autoscript: 101 1021. 'openpid.t' in 'sys:\perl\scripts\t\io.pl' script 103 Reason: 104 This either hangs or abends the server when executing through auto 105 scripts. When run individually, the script execution goes through 106 fine. 107 1082. 'argv.t' in 'sys:\perl\scripts\t\io.pl' script 109 Reason: 110 This either hangs or abends the server when executing through auto 111 scripts. When run individually, the script execution goes through 112 fine. 113 1143. 'filehandle.t' in 'sys:\perl\scripts\t\lib.pl' script 115 Reason: 116 This hangs in the last test case where it uses FileHandle::Pipe 117 whether run individually or through an auto script. 118 119 120--alian-mime-lite-html 121MIME-Version: 1.0 122Content-Transfer-Encoding: quoted-printable 123Content-Type: text/html; charset=iso-8859-1 124 125 126<html> 127<head> 128<title></title> 129<style type=3D"text/css"> 130<!-- 131body {=0D 132 margin: 2em 1em 2em 70px;=0D 133 font-family: sans-serif;=0D 134 color: black;=0D 135 background: white;=0D 136 background-position: top left;=0D 137 background-attachment: fixed;=0D 138 background-repeat: no-repeat;=0D 139}=0D 140=0D 141th, td { /* ns 4 */=0D 142 font-family: sans-serif;=0D 143}=0D 144=0D 145h1, h2, h3, h4, h5, h6 { text-align: left }=0D 146h1, h2, h3 { color: #005A9C }=0D 147h1 { font: 150% sans-serif }=0D 148h2 { font: 130% sans-serif }=0D 149h3 { font: 110% sans-serif }=0D 150h4 { font: bold 100% sans-serif }=0D 151h5 { font: italic 100% sans-serif }=0D 152 153--> 154</style> 155 156<link REV=3D"made" href=3D"mailto:alian@alianwebserver.com"> 157<body> 158<h1>Alianet Network</h1> 159 160<h2>Intranet</h2> 161<ol> 162 <li> <a href =3D "http://alianwebserver.alianet">Alianwebserver</a> </= 163li> 164 <li> <a href =3D"http://1001cartes.alianet">1001 Cartes</a></li> 165 <li> <a href=3D "http://mp3.alianet">Mp3</a> </li> 166 <li> <a href=3D "http://docs.alianet">Documentation</a></li> 167 <li> <a href =3D"http://validator.alianet">Validator HTML</a></li> 168 <li> <a href=3D"file:///ldap">Annuaire LDAP</a></li> 169 <li> <a href=3D"file:///phpMyAdmin">Administration Mysql</a></li> 170 <li> <a href=3D"http://saturne.alianet/mod-perl/circa/admin.cgi">Adminis= 171tration Circa</a></li> 172 <li> <a href=3D"file:///mod-perl/cvsweb.cgi/">Developpement / cvsweb.cgi= 173</a></li> 174 <li> <a href=3D"http://saturne.alianet/cgi-bin/parserSyslog.cgi">Syslog<= 175/a></li> 176</ol> 177 178<h2>Internet</h2> 179<ol> 180 <li> <a href=3D"http://www.alianwebserver.com">Alianwebserver</a></li> 181 <li> <a href=3D"http://www.1001cartes.com">1001 Cartes</a></li> 182 <li> <a href=3D"http://www.comclick.com">Publicité Alianwebserver= 183</a></li>=20 184 <li> <a href=3D"http://www.alianwebserver.com/stats/">Stats Alianwebserv= 185er</a></li> 186 <li> <a href=3D"http://www.yahoo.fr">Yahoo</a></li> 187 <li> <a href=3D"http://www.jeuxvideo.com">JeuxVideo.com</a></li> 188 <li> <a href=3D"http://www.google.com">Google</a></li> 189 <li> <a href=3D"http://www.lejour.com">Le jour</a></li> 190</ol> 191 192</ol> 193</body> 194</html> 195 196--alian-mime-lite-html-- 197 198