From 9bcef20646b6313e42f8ccd1b1b554553bb364c9 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Tue, 17 Jan 2017 01:37:05 +0000 Subject: [PATCH] tests: check that we can write to /run/systemd/nspawn/notify See https://github.com/systemd/systemd/issues/4944 --- test/TEST-13-NSPAWN-SMOKE/test.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/TEST-13-NSPAWN-SMOKE/test.sh b/test/TEST-13-NSPAWN-SMOKE/test.sh index b8b8ec34bd8..75b99236a3d 100755 --- a/test/TEST-13-NSPAWN-SMOKE/test.sh +++ b/test/TEST-13-NSPAWN-SMOKE/test.sh @@ -43,6 +43,9 @@ test_setup() { cp create-busybox-container $initdir/ + ./create-busybox-container $initdir/nc-container + initdir="$initdir/nc-container" dracut_install nc + # setup the testsuite service cat >$initdir/etc/systemd/system/testsuite.service <&2 @@ -123,6 +133,8 @@ function run { check_bind_tmp_path +check_notification_socket + for api_vfs_writable in yes no network; do run no no $api_vfs_writable run yes no $api_vfs_writable -- 2.39.2