Re: Code and comments in runtest.exp that do not match

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <20181121065553.GA3543@bapbop>
On Tue, Nov 20, 2018 at 06:07:12PM -0600, Jacob Bachmeyer wrote:

> Tue Mar 21 09:18:15 1995  Doug Evans  <[email protected]>
> 
> 	* runtest.exp: Treat $DEJAGNU as a global config file (which it is).
> 	Don't exit if there isn't a global config file, just warn the user.
> 	Error if $DEJAGNU is defined but file doesn't exist.

> Which behavior is correct?  The behavior described in the comments?
> What the current code actually does?

It's obviosuly contradictory and the documentation doesn't say,
either, so we get to pick. :-) I think we should do what the ChangeLog
says: error if $DEJAGNU is defined but the file doesn't exist.

Cheers, Ben

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlv1AXgACgkQZ9rcPj90
NklNLQ//VLRMDi1qB7VEE2pfzuoHXeQ7KilbziOJpmbqTvYNnSfsaq9Lccaor9oR
RfzF/IuUuunjV2UWZpvna/HXe+GHHs1nN1KhBRRiMZ4uQUdDJuxe0XPwaqhsFHTV
gCy8hcf/X/5Gs7QoeXQgnNx/MM0k91Qr73UuscO3cahKom2d2SdNclvgfIKy4trp
RHEL7iuirnwH7sftZFFerThoY49+URb2qanOrkxfFSVL8Qgc6wl0OAQhtIlsoX3x
plwyAMY0bo+App/KTlOdovlfWTUoZKaFixQpZiuCZ1gK9POubfqjmcpEX4LkPTHE
H743q63ze+T/NayQJV/qQ/yRFvVPSwCpEEFYoup+T00DL75Lq2M4+DvTuXy7QSUD
HCVWhYpKS5RjSYunns1na9hNrZW0s6ilhXaUUXA1enEqQB32Dx0H+fipRP5ERJZy
Zmp+6hmFlQjivYeCUxTdDQrE3S66YMbhTPqO7zwU0getdVIn/Go1Cnmz1RFAaoIc
Dokhu8B5qrg7Xthej8y0K7s3yIZgnSfXro5BKX47HK8Orw3bO07U3qOkfe7MCZh2
8xjIt6A3mz7BelSFWZT55k1ZzabxjPCupjMmlr1sBZ+eMivNWBWGSnrHNWf1cnHv
C+w5deKwbBiFmq5KpEKQnWUQqVJNRMIOOA53IzfXD3KIL8ierjM=
=Gje1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.