[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matching variable output with AT_CHECK
From: |
Eric Blake |
Subject: |
Re: Matching variable output with AT_CHECK |
Date: |
Sun, 21 Oct 2007 08:58:18 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 10/21/2007 2:32 AM:
>> The problem is that the shell variable isn't expanded in the expected
>> output, so the check always fails.
>
> Yes, the STDOUT and STDERR arguments to AT_CHECK are expected to be
> literal, no shell expansion is done on them.
Or use AT_CHECK_NOESCAPE, which runs shell expansions on the stdout and
stderr arguments. (Hmm, that isn't documented in the manual yet - it's
been there for some time, though).
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHG2kK84KuGfSFAYARAhFTAKCy1cglihsaOvf7ITNldBYglgWLqwCfSMoH
RLmge965IkCr3g3dLD350a4=
=fw7x
-----END PGP SIGNATURE-----