Hi!

----

More or less as follow-up to
http://lists.research.att.com/pipermail/ast-developers/2013q2/002653.html
("$ while ! wait ; do true ; done # doesn't wait for all child
processes...") ...
... attached (as "shrttest3_20130624.sh.gz") is a testcase which shows
that ast-ksh.2013-06-13 may still report running jobs after a $ while
! wait ; do true ; done #-loop.

The output on SuSE 12.3/AMD64/64bit looks like this:
-- snip --
$ ~/bin/ksh shrttest3.sh
jobs -l reported running processes:
[30] + 6963      Running                 <command unknown>
[28] - 6961      Running                 <command unknown>
[26]   6959      Running                 <command unknown>
[24]   6957      Running                 <command unknown>
[23]   6956      Running                 <command unknown>
[22]   6955      Running                 <command unknown>
[21]   6954      Running                 <command unknown>
[20]   6953      Running                 <command unknown>
[19]   6952      Running                 <command unknown>
[18]   6951      Running                 <command unknown>
[17]   6950      Running                 <command unknown>
[16]   6949      Running                 <command unknown>
[15]   6948      Running                 <command unknown>
[13]   6946      Running                 <command unknown>
[4]   6937       Running                 <command unknown>
[2]   6935       Running                 <command unknown>
#DONE (failed).
-- snip --

A side-issue is that the script registers a CHLD trap which should
print 'DONEX\n' for each returning child... but it doesn't seem to be
called at all in this script...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

Attachment: shrttest3_20130624.sh.gz
Description: GNU Zip compressed data

_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to