From: Nick Bowler Date: Tue, 28 Jan 2014 01:10:30 +0000 (-0500) Subject: tests: Enable shell traces early in all scripts. X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/4e1f80572a3fa2687d9350a7c211507ed382c9fb?ds=sidebyside tests: Enable shell traces early in all scripts. The result_ function we snarfed from Automake turns on set -x in our test suite, but since we do not enable it from the beginning the test logs have traces starting from the first test result and not before. The result is very strange; enable traces early so we see everything. --- diff --git a/tests/util/test-init.sh b/tests/util/test-init.sh index 1754f6a..e88538d 100644 --- a/tests/util/test-init.sh +++ b/tests/util/test-init.sh @@ -175,3 +175,5 @@ dx_check_pam_md5() { dx_test_wrapper="$builddir/libtool --mode=execute${TESTWRAPPER:+ }$TESTWRAPPER" LBXTOOL="$dx_test_wrapper $LBXTOOL" LBXIMG="$dx_test_wrapper $LBXIMG" + +set -x