[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testsuite coverage for AC_COPYRIGHT and AT_COPYRIGHT.
From: |
Eric Blake |
Subject: |
Re: Testsuite coverage for AC_COPYRIGHT and AT_COPYRIGHT. |
Date: |
Mon, 07 Jun 2010 19:25:25 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 06/06/2010 05:49 AM, Ralf Wildenhues wrote:
> The sed script in the second test was nontrivial to get right,
No kidding.
> but other
> than that: OK now or after 2.66?
Now is fine.
> +AT_CHECK_AUTOCONF
> +AT_CHECK_CONFIGURE([--version], [], [stdout])
> +AT_CHECK([grep 'Copyright.*Free Software Foundation' stdout], [], [ignore])
> +AT_CHECK([grep 'This is just a test notice' stdout], [], [ignore])
> +AT_CHECK([sed -ne 50q -e '/Copyright/{' -e N -e N -e N -e N -e 's/#//g' ]dnl
> + [ -e 's/\n//g' -e p -e '}' configure ]dnl
> + [ | grep 'Copyright.*Free Software Foundation'],
> + [], [ignore])
If I'm reading it right, this is just a form of line unwrapping?
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature