From 91c9771fc3c97b0ff1169cf81f29918d3e3a501d Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Thu, 11 Apr 2013 16:22:35 +0200 Subject: [PATCH] test: Re-instate exec in lvm-wrapper, catching crashes inside not. --- test/lib/lvm-wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/lvm-wrapper.sh b/test/lib/lvm-wrapper.sh index d3a2a36bf..c69e29afa 100644 --- a/test/lib/lvm-wrapper.sh +++ b/test/lib/lvm-wrapper.sh @@ -28,5 +28,5 @@ if test -n "$LVM_VALGRIND"; then esac fi -$RUN_VALGRIND "$abs_top_builddir/tools/lvm" $CMD "$@" && \ - rm -f debug.log # Remove log for successful command +# the exec is important, because otherwise fatal signals inside "not" go unnoticed +exec $RUN_VALGRIND "$abs_top_builddir/tools/lvm" $CMD "$@"