This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] GNAT.Expect fixes
- From: ja2morri at csclub dot uwaterloo dot ca (James A. Morrison)
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org,Jérôme Lambourg <lambourg at adacore dot com>
- Date: Tue, 06 Sep 2005 20:13:47 -0400
- Subject: Re: [Ada] GNAT.Expect fixes
- References: <20050905083125.GT90695@adacore.com>
Arnaud Charlet <charlet@adacore.com> writes:
> Tested on i686-linux, committed on HEAD
>
> Upon close of a GNAT.Expect file descriptor, all filters shall be deleted
> in case the descriptor is reused.
>
> Test case: test_expect.adb test_expect_functions.adb
> test_expect_functions.ads does twice the same operations on a single
> expect file descriptor (open, define filters, perform some operations,
> close). The number of calls to the filters shall be the same for both
> operations: output text is "OK, output trace filter has correctly been
> deleted on Gnat.Expect.Close call".
>
Where is the code for these test case files?
--
Thanks,
Jim
http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim