tests: fix spurious failure due to autom4te caching
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 22 Jan 2012 16:18:59 +0000 (17:18 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 22 Jan 2012 16:18:59 +0000 (17:18 +0100)
* tests/lzma.test: Remove stale autom4te.cache directories, to
prevent racy, spurious failures (using 'aclocal --force' was
not enough, since the cache was still picked up by the following
automake call).

tests/lzma.test

index 7ee59f7..bf65aea 100755 (executable)
@@ -40,7 +40,8 @@ test: distcheck
        test -f $(DIST_ARCHIVES)
 END
 
-$ACLOCAL --force
+rm -rf autom4te*.cache
+$ACLOCAL
 AUTOMAKE_fails
 grep "^configure\\.in:2:.*$errmsg" stderr