Re: PATCH: use Expect subprocess for internal unit tests

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <20181215083004.GA8258@bapbop>
Hi Jacob

On Fri, Dec 14, 2018 at 11:05:27PM -0600, Jacob Bachmeyer wrote:

> Similarly, slave interpreters do not have the "Expect" commands, so
> new stubs for "send_error" and "send_user" were added alongside
> "send_log" in default_procs.tcl.  A "TODO" note is added to
> clone_output.test, suggesting future work to produce useful mocks
> for those procedures that can verify what clone_output actually
> outputs.

Can the slave interpreters run 'package require Expect' to avoid that?

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/2KWERKFZ9rcPj90NkkFAlwUu4oACgkQZ9rcPj90
NkmMpA//Ud9V0uyyc0M4WlA9psIZ1tUVXvtdHfPruKNr3Pdx6jlVxxVCCUSDZzb3
BMu+4aZcMWTZPGVqJ1UeNpdLdyIzUbfaJs0tt3SFvjycDN/9wiDp0CuRdsIuHk1o
I+dUjTBJ0exBLIE13gBsoDJIGk/S/usjvSR5wLlUxC9NrOSdxPifQVYmT7PvL1uv
wKvsqBRfftUFJCEIOalGPVxyQQnUfLpQb+cyDidk1wb6iYjCuVcWxC/e+0SL6d2D
LhGWUtZX8ubkG+uA+umBizeyb8ZZketEH8e6FcaeCxT7GePjajKZluc+/Ir5j+2+
kCIrN27j0O+R80Ny1XTwRVj+T0cSUOOR95/sXbvRSnDfCay9Xs9KNvtPqR+aTop1
WyXS1a2qPJKjCNqOiJmBEk0SMnCh/teSmzOliqjp+32rr0zrF+0eCVbgCuujyDVz
zYlNUqH+HNdz7mhNi0MaGN1LPAEJKJsomDCJte39qxilMDCMi7MPvMA7cPSTv+/P
BY1WawI7qZh5s+BfJk89ygtpshegpGLK57kHCZCcidYFM12LQpl01VHHG62fubHK
JBwpA4Qxnxx7akJoEvLSeTEnOWs1ePXFGQTJyL8NY1AWwi84VgZflPwlMT1wpYlr
L7jnlbyS4G5qsa63pzXMKUYhm3dzBOBAHqcTGodeCzX6LHVo63A=
=P2K4
-----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.