]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-06-SELINUX/test.sh
test: rework how images are created
[thirdparty/systemd.git] / test / TEST-06-SELINUX / test.sh
index f17242c6e1aad6e84126cadf4742fe65f1828940..7a836bbc0340aca01840b08af7a5fd053014c4c0 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/env bash
 set -e
 TEST_DESCRIPTION="SELinux tests"
+IMAGE_NAME="selinux"
 TEST_NO_NSPAWN=1
 
 # Requirements:
@@ -15,7 +16,7 @@ test -f /usr/share/selinux/devel/include/system/systemd.if || exit 0
 SETUP_SELINUX=yes
 KERNEL_APPEND="$KERNEL_APPEND selinux=1 security=selinux"
 
-test_setup() {
+test_create_image() {
     create_empty_image_rootdir
 
     # Create what will eventually be our root filesystem onto an overlay