]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: add sanity check to 'self-check-cleanup.test'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 May 2011 12:57:47 +0000 (14:57 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 May 2011 12:57:47 +0000 (14:57 +0200)
* tests/self-check-cleanup.test: Check that the "hacked" file
`defs-static' used by the test differs from the "vanilla" one
in builddir.  This also offers a little more debugging output.

ChangeLog
tests/self-check-cleanup.test

index 67b8b8defd867ed36e0cf59ada8160863cc2a785..6b43628db90187624c9c39d50f37bb1a95222802 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: add sanity check to 'self-check-cleanup.test'
+       * tests/self-check-cleanup.test: Check that the "hacked" file
+       `defs-static' used by the test differs from the "vanilla" one
+       in builddir.  This also offers a little more debugging output.
+
 2011-05-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        testsuite: display reasons for skips to the console
index 390d9b520000a0e3276c8185c981339d61b7dc21..efd18ee82a90499880f398868f9523d5a7e9d751 100755 (executable)
@@ -27,6 +27,7 @@ fi
 # We still need a little hack to make ./defs work outside automake's
 # tree `tests' subdirectory.  Not a big deal.
 sed "s|^testbuilddir=.*|testbuilddir='`pwd`'|" ../defs-static >defs-static
+diff ../defs-static defs-static && Exit 99
 cp ../defs .
 
 have_symlinks=false