Vladimir Kotal wrote:
> Hi all,

Hello, are you also getting used to replying to yourself ? ;)

> I am struggling hard to find a solution for the following problem(s):
> 
>    - where should be the files installed (in proto area)

It seems the way to go is to install the files into proto area directly 
(according to the other CTI-TET based test suite in src/suites/net/, 
currently closed source).

>    - what is expected value of TET_SUITE_ROOT and SUITEDIR variables

It seems that TET_SUITE_ROOT should be absolute path to the test suite 
category directory (src/suites/net/ in nc-tet case when running tests 
from a workspace).

Also, to make package build successfull, I had to work around bug 
6687873 (Makefile.suite does not honor PKGDEFDIR,PROTODIR,PKGSPOOLDIR) 
and override 'package' target from Makefile.suite.

The resulting package is available here (in cpio format):
   http://cr.opensolaris.org/~vkotal/SUNWstc-nc.pkg
   (it was built on x86 machine but should be usable on sparc as well)

The test run with the default scenario should complete with 46 
successful test purposes.

Aside from Makefile/TET_SUITE_ROOT related stuff there were other minor 
changes:
   - listen_wrapper() in common_funcs and test cases are no longer using 
/etc/passwd. listen_wrapper() now creates its own input file to ensure 
more that 1024 bytes are used (and also avoid tinkering with system 
files) in case no input file is specified
   - portranges test purpose #2 now uses -d (related to the above change)
   - fix src/lib/ksh/Makefile to install common_funcs to the right place

new webrev reflecting the above changes is at:
   http://cr.opensolaris.org/~vkotal/nc-tet.onnv-stc2/

Comments and feedback are welcome,


v.

Reply via email to