[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Updating the test suite (Was: commit: ldap/tests run.in)

Walter Franzini writes:
>Hallvard B Furuseth wrote:
>> Pierangelo Masarati writes:
>> I suppose ./run could run the scripts by sourcing them instead:
>>   test -x "$SCRIPT" && (. "$SCRIPT")
> Then the clean operations at the end of ./run will never be executed.

No, the () puts the script in a subprocess.
Just like "(exit 3)" does not exit, it just sets $? to 3.

> Aegis is a SCM system (http://aegis.sourceforge.net/) and it mainly run
> on Unix like systems.

Thanks.  I'll have a look.