From 2cb7e0aaedad73b076ea18c6900b0e86c5760d79 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 15:00:47 +0200 Subject: Adding upstream version 247.3. Signed-off-by: Daniel Baumann --- test/TEST-13-NSPAWN-SMOKE/test.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 test/TEST-13-NSPAWN-SMOKE/test.sh (limited to 'test/TEST-13-NSPAWN-SMOKE/test.sh') diff --git a/test/TEST-13-NSPAWN-SMOKE/test.sh b/test/TEST-13-NSPAWN-SMOKE/test.sh new file mode 100755 index 0000000..236378a --- /dev/null +++ b/test/TEST-13-NSPAWN-SMOKE/test.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set -e +TEST_DESCRIPTION="systemd-nspawn smoke test" +IMAGE_NAME="nspawn" +TEST_NO_NSPAWN=1 + +. $TEST_BASE_DIR/test-functions + +test_create_image() { + create_empty_image_rootdir + + # Create what will eventually be our root filesystem onto an overlay + ( + LOG_LEVEL=5 + setup_basic_environment + mask_supporting_services + + ../create-busybox-container $initdir/testsuite-13.nc-container + initdir="$initdir/testsuite-13.nc-container" dracut_install nc ip md5sum + ) +} + +do_test "$@" 13 -- cgit v1.2.3