diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-16 06:13:29 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-16 06:13:29 +0100 |
commit | fdbf7b554ed89d8a76214cbb4b919c2292e7168b (patch) | |
tree | b89ca9e22680c4d7a39129ee147bdfd58553cf77 /test | |
parent | Merge pull request #2842 from petrosagg/nspawn-doc-fix (diff) | |
parent | selinux: use *_raw API from libselinux (diff) | |
download | systemd-fdbf7b554ed89d8a76214cbb4b919c2292e7168b.tar.xz systemd-fdbf7b554ed89d8a76214cbb4b919c2292e7168b.zip |
Merge pull request #2797 from evverx/selinux-use-raw
selinux: use *_raw API from libselinux
Diffstat (limited to 'test')
-rw-r--r-- | test/test-functions | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions index 92e1ae9f8d..29f647ece4 100644 --- a/test/test-functions +++ b/test/test-functions @@ -199,6 +199,17 @@ EOF chmod 0755 $_valgrind_wrapper } +create_strace_wrapper() { + local _strace_wrapper=$initdir/$ROOTLIBDIR/systemd-under-strace + ddebug "Create $_strace_wrapper" + cat >$_strace_wrapper <<EOF +#!/bin/bash + +exec strace -D -o /strace.out $ROOTLIBDIR/systemd "\$@" +EOF + chmod 0755 $_strace_wrapper +} + install_fsck() { dracut_install /sbin/fsck* dracut_install -o /bin/fsck* |