]> git.draconx.ca Git - liblbx.git/commitdiff
tests: Enable shell traces early in all scripts.
authorNick Bowler <nbowler@draconx.ca>
Tue, 28 Jan 2014 01:10:30 +0000 (20:10 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 28 Jan 2014 01:37:33 +0000 (20:37 -0500)
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.

tests/util/test-init.sh

index 1754f6a3b4a77ba7d0a6a9d0cd567f7a7ab48633..e88538d4439692d31bb3f858f790b6a7bcfdfa00 100644 (file)
@@ -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