From 45dbd7b6cb772f5c598e830e6c3ed7124a7b41e4 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 4 Mar 2016 01:55:46 +0000 Subject: tests: add create_strace_wrapper Very handy for early-boot debugging See https://github.com/systemd/systemd/pull/2781#discussion_r54782628 --- test/test-functions | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/test-functions') 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 <