Re: [Patch] Fix output pattern checking issue

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
On Fri, Mar 04, 2016 at 10:20:57PM +0100, Yvan Roux wrote:

> there is an issue when remote testing testcases which check an
> output pattern with an explicit '\n' at the end.  rsh_exec
> explicitly removes it to behave as 'exec', I don't know if something
> changed in 'exec' behavior since these lines were checked in in 2001
> or if it still removes a '\n' in some configs,

Tcl's exec has always stripped the trailing newline. This is why the
-keepnewline option exists.

Ben

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

iQIVAwUBVtoNsHY2KIi1WYjUAQj7TRAAqzfJvMOtTHLNeJ8Jg6EhTUVYC/GsaU+d
2BSglFJn45kwl+xEbRgRIsZSG2ZYRWxxTMlb0t5V2EmAWfSQ9NEwZs+YjTX1cGXW
mT25G3/Z+1cZspj3ElyQYs/JMD7m7+dPpcZIy1Nr29Q0zeP3jlG76bI2nYuDI1PI
DdGgf7ef3hoabneheEdfSs32NP8JlOpuhHrUFfxFvtbUFo6Ji63xGrA8vvVHiWoz
52HlLNYcvjyR90U2WalGU4SeXNIitr8gE8BpppubBtzgqBKwfi+8H8RY0ojP2TV/
q8/vpYHn+u6UQHHp56zjR/ZvaFeXwP+wwBkErPm6i01D/pXlCDe5vvIDTLHFpLPk
7X8UxysBonNEBw7IiySgXyUJH0uflH/Sj1lSSjmTTjM3iqtyWmyyTcHoM0OZ9nKs
PNTJXDX95WWxh5VNCc/lumN0ImG/bsA3ZxPgQjZP4kKNTMCClWuDzlNNaLVSGjX7
B4pJ9LSY0uXNDOiFx/j/iG1Nvh7iz7rOh5bv5vK37Ne5eTB8fBCxIQcfesiqmuEi
+ZYuBVmtpnB6y+uVOxPbsqTJj2eSiRes8IEhPUKQSkInskJZS72Je8HzdVUjqFGw
pC3xLJn1WjWyUdoXT0W3KarDc7SxJUodxfzirFFix7B1RkUDXA+02YdD7vZtOqRK
ECD0Ns8YUb0=
=Cqn7
-----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.