tests: fix spurious failure of 'get-sysconf.test'
commitf1df5481b9a51023b46390d7730c3a401a00e9fd
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Jan 2012 18:06:00 +0000 (1 19:06 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 12 Jan 2012 17:18:39 +0000 (12 18:18 +0100)
treecc451eaa32ae333f8a877b4e2dca2758fdb944d8
parente064ff7997a1425942fe32c0c0488f922fe1ea9a
tests: fix spurious failure of 'get-sysconf.test'

* tests/get-sysconf.test: Do not assume that a ChangeLog file exists
in $(srcdir): now that the ChangeLog is autogenerated and not under
version control anymore, this is not necessary true.  Instead, if we
are running from a git checkout, use "git log" to get information on
the version of the automake snapshot being tested (and fall back on
extracting the first ChangeLog entry otherwise).

Reported by Jim Meyering in automake bug#10418.

Cherry picked from commit v1.11-1675-g104f302.
tests/get-sysconf.test