[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: exits in the test suite
From: |
Pavel Roskin |
Subject: |
Re: FYI: exits in the test suite |
Date: |
Sat, 28 Oct 2000 12:40:33 -0400 (EDT) |
Hello, Akim!
> - exit m4_default([$2], 1); }])
> + (exit m4_default([$2], 1))
> + exit m4_default([$2], 1); }])
After some consideration I tend to think that the second "exit" should be
just "exit" without arguments, just like autoconf and other scripts use.
It's better to use the same construct everywhere. Also I'm planning to add
a test for AC_MSG_ERROR that ensures that the exit code doesn't get lost.
By the way, problems with FreeBSD are not related to the way how "exit" is
called. I was wrong in assuming that zsh models the FreeBSD problem.
Anyway, it's great that we addressed the zsh problem.
I'll post separate patches that make FreeBSD happy.
Regards,
Pavel Roskin