From 5076f0ccfd36b67512d44fe355b80305ced7dcba Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Jun 2012 13:44:39 +0200 Subject: nspawn: introduce new --capabilities= flag and make use of it in the nspawn test case --- test/TEST-01-BASIC/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 06b80c2a15..8979872ef2 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -37,7 +37,7 @@ run_qemu() { run_nspawn() { - systemd-nspawn -b -D $TESTDIR/nspawn-root /usr/lib/systemd/systemd + systemd-nspawn -b -D $TESTDIR/nspawn-root --capability=CAP_AUDIT_CONTROL,CAP_AUDIT_WRITE /usr/lib/systemd/systemd ret=1 [[ -e $TESTDIR/nspawn-root/testok ]] && ret=0 cp -a $TESTDIR/nspawn-root/var/log/journal $TESTDIR -- cgit v1.2.3-54-g00ecf