From 7b4ff744970b3c9cbb162417f60f3085cae75343 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 1 May 2011 14:57:47 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ tests/self-check-cleanup.test | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 67b8b8def..6b43628db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-01 Stefano Lattarini + + 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 testsuite: display reasons for skips to the console diff --git a/tests/self-check-cleanup.test b/tests/self-check-cleanup.test index 390d9b520..efd18ee82 100755 --- a/tests/self-check-cleanup.test +++ b/tests/self-check-cleanup.test @@ -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 -- 2.47.2