From: Evgeny Vereshchagin Date: Fri, 4 Mar 2016 01:55:46 +0000 (+0000) Subject: tests: add create_strace_wrapper X-Git-Tag: v230~263^2~1 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=45dbd7b6cb772f5c598e830e6c3ed7124a7b41e4;p=systemd%2F.git tests: add create_strace_wrapper Very handy for early-boot debugging See https://github.com/systemd/systemd/pull/2781#discussion_r54782628 --- diff --git a/test/test-functions b/test/test-functions index 6667e0524f..b3ca4c3171 100644 --- a/test/test-functions +++ b/test/test-functions @@ -194,6 +194,17 @@ EOF chmod 0755 $_valgrind_wrapper } +create_strace_wrapper() { + local _strace_wrapper=$initdir/$ROOTLIBDIR/systemd-under-strace + ddebug "Create $_strace_wrapper" + cat >$_strace_wrapper <