From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: sid@sources.redhat.com Subject: Testsuite patch Date: Wed, 18 Jul 2001 18:55:00 -0000 Message-id: <20010719015505.B6B2E11197@scooby.brisbane.redhat.com> X-SW-Source: 2001-q3/msg00023.html I am about to commit the following patch. I would like to point out that sid_stop has never have succeeded in closing the files associated with spawned sid processes. The Expect documentation states that "close -slave" only closes the slave end of a pty allocated by "spawn -pty" (which is not applicable here). I have been able to reduced file descriptor resource limits on Linux with success. Solaris tests now work much better with their default resource limits. Ben 2001-07-19 Ben Elliston * config/default.exp (sid_stop): Don't close with -slave. *** default.exp 2001/07/13 15:19:13 1.2 --- default.exp 2001/07/19 01:50:35 *************** *** 107,113 **** proc sid_stop {} { global spawn_id verbose "closing down sid" 2 ! catch {close -slave} catch {exec "kill" [exp_pid]} wait return 1 --- 107,113 ---- proc sid_stop {} { global spawn_id verbose "closing down sid" 2 ! catch {close} catch {exec "kill" [exp_pid]} wait return 1