Hi all, Due to ksh93 behavior when running background processes in CTI-TET environment, nc test suite fails on OpenSolaris (this is not happening with ksh88), the problem is tracked via CR 6893872 (See the archives of shell-discuss for more details about the problem). Until ksh93 is fixed, a workaround should be implemented in the test suite so it can be run on OpenSolaris in PIT.
The gist of the workaround is a semi-nasty hack for getting a process number of the nc process from the pid of the ksh helper process which is its parent. Basically, start_nc() goes through all eligible processes and tries to find the one which is named 'nc' and has the helper process as a parent. This is very sub-optimal (so to say) but I don't know of any other way. This is only done for ksh93. With this change, not very nice messages will be printed out during the execution (e.g. 'tc_sflag[45]: .[714]: sflag_fail[41]: listen_wrapper[712]: start_nc[550]: eval: line 1: 14257: Terminated') but they are harmless; I was not able to find anything to suppress them. Besides this change, there are 2 other small fixes. webrev is here: http://cr.opensolaris.org/~vkotal/nc_tet_versus_ksh93-6890086.stcnv/ v.
