The user space snapshot tests invoke a common script that runs the
actual tests. In doing so, the parent script's tap generator isn't
involved in the production of the tests' tap output and outputs an error
message as diagnostic.
ok 134 - Wait after kill session daemon
# Looks like your test died before it could output anything.
`exec`-ing the common script sidesteps the problem by replacing the
shell entirely.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I53783fa783eb5581bf41fc1a5504dbd4e14fa595
BAIL_OUT "No UST test found: $TEST_BIN"
fi
-./$CURDIR/$TEST_BIN $NR_SNAPSHOT
+exec $CURDIR/$TEST_BIN $NR_SNAPSHOT
BAIL_OUT "No UST test found: $TEST_BIN"
fi
-./$CURDIR/$TEST_BIN $NR_SNAPSHOT
+exec $CURDIR/$TEST_BIN $NR_SNAPSHOT