From b41ff2e4c16f429d619dcf390c9650c4f7fb0ad1 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Oct 14 2018 19:52:42 +0000 Subject: Fix path meta data Commit 769880f7 added path meta data into .fmf files. As path's didn't have / at the beginning test were not created correctly. Fixes: fatal: [fedora29]: FAILED! => { "msg": [ "Tests failed: True", "Tests msg: FAIL selinuxselinux-policy/policy-rpm-macros", "FAIL selinuxcheckpolicy/checkpolicy", "FAIL selinuxlibsepol/sepol_check_context", "FAIL selinuxlibsemanage/verify-options-in-semanage-conf", ... $ cat artifacts/FAIL_selinuxcheckpolicy-checkpolicy.log FAIL test selinuxcheckpolicy/checkpolicy does not appear to be a file or directory --- diff --git a/checkpolicy/checkmodule/main.fmf b/checkpolicy/checkmodule/main.fmf index 76283e3..6173448 100644 --- a/checkpolicy/checkmodule/main.fmf +++ b/checkpolicy/checkmodule/main.fmf @@ -1 +1 @@ -path: checkpolicy/checkmodule +path: /checkpolicy/checkmodule diff --git a/checkpolicy/checkpolicy-docs/main.fmf b/checkpolicy/checkpolicy-docs/main.fmf index 0b8f194..f303b47 100644 --- a/checkpolicy/checkpolicy-docs/main.fmf +++ b/checkpolicy/checkpolicy-docs/main.fmf @@ -1 +1 @@ -path: checkpolicy/checkpolicy-docs +path: /checkpolicy/checkpolicy-docs diff --git a/checkpolicy/checkpolicy/main.fmf b/checkpolicy/checkpolicy/main.fmf index cb8ef85..0436b60 100644 --- a/checkpolicy/checkpolicy/main.fmf +++ b/checkpolicy/checkpolicy/main.fmf @@ -1,2 +1,2 @@ -path: checkpolicy/checkpolicy +path: /checkpolicy/checkpolicy tier: 1 diff --git a/checkpolicy/sedismod/main.fmf b/checkpolicy/sedismod/main.fmf index ef20f3d..05e7b34 100644 --- a/checkpolicy/sedismod/main.fmf +++ b/checkpolicy/sedismod/main.fmf @@ -1 +1 @@ -path: checkpolicy/sedismod +path: /checkpolicy/sedismod diff --git a/checkpolicy/sedispol/main.fmf b/checkpolicy/sedispol/main.fmf index 11f57bd..840a2e0 100644 --- a/checkpolicy/sedispol/main.fmf +++ b/checkpolicy/sedispol/main.fmf @@ -1 +1 @@ -path: checkpolicy/sedispol +path: /checkpolicy/sedispol diff --git a/libselinux/getsebool/main.fmf b/libselinux/getsebool/main.fmf index 21347a9..9227c9b 100644 --- a/libselinux/getsebool/main.fmf +++ b/libselinux/getsebool/main.fmf @@ -1,2 +1,2 @@ -path: libselinux/getsebool +path: /libselinux/getsebool tier: 1 diff --git a/libselinux/realpath_not_final-function/main.fmf b/libselinux/realpath_not_final-function/main.fmf index 5934ded..52d16d0 100644 --- a/libselinux/realpath_not_final-function/main.fmf +++ b/libselinux/realpath_not_final-function/main.fmf @@ -1 +1 @@ -path: libselinux/realpath_not_final-function +path: /libselinux/realpath_not_final-function diff --git a/libselinux/selabel-functions/main.fmf b/libselinux/selabel-functions/main.fmf index d77cbbc..222b1c8 100644 --- a/libselinux/selabel-functions/main.fmf +++ b/libselinux/selabel-functions/main.fmf @@ -1 +1 @@ -path: libselinux/selabel-functions +path: /libselinux/selabel-functions diff --git a/libselinux/selinux_boolean_sub-function/main.fmf b/libselinux/selinux_boolean_sub-function/main.fmf index 7978c03..efc0f9f 100644 --- a/libselinux/selinux_boolean_sub-function/main.fmf +++ b/libselinux/selinux_boolean_sub-function/main.fmf @@ -1 +1 @@ -path: libselinux/selinux_boolean_sub-function +path: /libselinux/selinux_boolean_sub-function diff --git a/libselinux/selinux_restorecon-functions/main.fmf b/libselinux/selinux_restorecon-functions/main.fmf index 1ff4890..29aaadf 100644 --- a/libselinux/selinux_restorecon-functions/main.fmf +++ b/libselinux/selinux_restorecon-functions/main.fmf @@ -1 +1 @@ -path: libselinux/selinux_restorecon-functions +path: /libselinux/selinux_restorecon-functions diff --git a/libselinux/selinux_restorecon/main.fmf b/libselinux/selinux_restorecon/main.fmf index 180e98c..bce2b00 100644 --- a/libselinux/selinux_restorecon/main.fmf +++ b/libselinux/selinux_restorecon/main.fmf @@ -1 +1 @@ -path: libselinux/selinux_restorecon +path: /libselinux/selinux_restorecon diff --git a/libselinux/selinux_sestatus-functions/main.fmf b/libselinux/selinux_sestatus-functions/main.fmf index e0c2397..53e4ba1 100644 --- a/libselinux/selinux_sestatus-functions/main.fmf +++ b/libselinux/selinux_sestatus-functions/main.fmf @@ -1 +1 @@ -path: libselinux/selinux_sestatus-functions +path: /libselinux/selinux_sestatus-functions diff --git a/libselinux/selinux_set_callback/main.fmf b/libselinux/selinux_set_callback/main.fmf index 2348fdf..3d61e91 100644 --- a/libselinux/selinux_set_callback/main.fmf +++ b/libselinux/selinux_set_callback/main.fmf @@ -1 +1 @@ -path: libselinux/selinux_set_callback +path: /libselinux/selinux_set_callback diff --git a/libselinux/setenforce/main.fmf b/libselinux/setenforce/main.fmf index 56bb2b1..11ebcd7 100644 --- a/libselinux/setenforce/main.fmf +++ b/libselinux/setenforce/main.fmf @@ -1 +1 @@ -path: libselinux/setenforce +path: /libselinux/setenforce diff --git a/libsemanage/sanity-tests/main.fmf b/libsemanage/sanity-tests/main.fmf index 23f27aa..9c7a7e1 100644 --- a/libsemanage/sanity-tests/main.fmf +++ b/libsemanage/sanity-tests/main.fmf @@ -1 +1 @@ -path: libsemanage/sanity-tests +path: /libsemanage/sanity-tests diff --git a/libsemanage/verify-options-in-semanage-conf/main.fmf b/libsemanage/verify-options-in-semanage-conf/main.fmf index 145a742..ac156f4 100644 --- a/libsemanage/verify-options-in-semanage-conf/main.fmf +++ b/libsemanage/verify-options-in-semanage-conf/main.fmf @@ -1,4 +1,4 @@ -path: libsemanage/verify-options-in-semanage-conf +path: /libsemanage/verify-options-in-semanage-conf summary: Are the verify options in semanage.conf honored? description: | Are the verify options in semanage.conf honored? diff --git a/libsepol/sepol_check_context/main.fmf b/libsepol/sepol_check_context/main.fmf index 77fa35e..3410cea 100644 --- a/libsepol/sepol_check_context/main.fmf +++ b/libsepol/sepol_check_context/main.fmf @@ -1,2 +1,2 @@ -path: libsepol/sepol_check_context +path: /libsepol/sepol_check_context tier: 1 diff --git a/other/mounting/main.fmf b/other/mounting/main.fmf index b888c55..a695b6f 100644 --- a/other/mounting/main.fmf +++ b/other/mounting/main.fmf @@ -1,4 +1,4 @@ -path: other/mounting +path: /other/mounting summary: Mount various filesystems, test context options description: | Test the context and defcontext options of the mount command. Test diff --git a/policycoreutils/CIL-modules-without-compilation/main.fmf b/policycoreutils/CIL-modules-without-compilation/main.fmf index 3cf065f..02538f7 100644 --- a/policycoreutils/CIL-modules-without-compilation/main.fmf +++ b/policycoreutils/CIL-modules-without-compilation/main.fmf @@ -1 +1 @@ -path: policycoreutils/CIL-modules-without-compilation +path: /policycoreutils/CIL-modules-without-compilation diff --git a/policycoreutils/booleans/main.fmf b/policycoreutils/booleans/main.fmf index e068d31..642a947 100644 --- a/policycoreutils/booleans/main.fmf +++ b/policycoreutils/booleans/main.fmf @@ -1,4 +1,4 @@ -path: policycoreutils/booleans +path: /policycoreutils/booleans summary: Test basic operations with booleans description: | The test defines its own booleans and tests setting it on and off diff --git a/policycoreutils/file-contexts/main.fmf b/policycoreutils/file-contexts/main.fmf index b01ed2d..ea7225a 100644 --- a/policycoreutils/file-contexts/main.fmf +++ b/policycoreutils/file-contexts/main.fmf @@ -1,4 +1,4 @@ -path: policycoreutils/file-contexts +path: /policycoreutils/file-contexts summary: Test semanage fcontext, restorecon, fixfiles, chcon description: | The test adds custom file contexts, runs restorecon and checks file diff --git a/policycoreutils/linux-system-roles.selinux-tests/main.fmf b/policycoreutils/linux-system-roles.selinux-tests/main.fmf index e176ef6..d448bb6 100644 --- a/policycoreutils/linux-system-roles.selinux-tests/main.fmf +++ b/policycoreutils/linux-system-roles.selinux-tests/main.fmf @@ -1 +1 @@ -path: policycoreutils/linux-system-roles.selinux-tests +path: /policycoreutils/linux-system-roles.selinux-tests diff --git a/policycoreutils/load_policy/main.fmf b/policycoreutils/load_policy/main.fmf index 26f8622..e375cb8 100644 --- a/policycoreutils/load_policy/main.fmf +++ b/policycoreutils/load_policy/main.fmf @@ -1 +1 @@ -path: policycoreutils/load_policy +path: /policycoreutils/load_policy diff --git a/policycoreutils/modules/main.fmf b/policycoreutils/modules/main.fmf index 34727de..3b5d389 100644 --- a/policycoreutils/modules/main.fmf +++ b/policycoreutils/modules/main.fmf @@ -1,4 +1,4 @@ -path: policycoreutils/modules +path: /policycoreutils/modules summary: test basic module functionality description: | The test compiles a TE module, loads it via semodule, and checks diff --git a/policycoreutils/restorecon/main.fmf b/policycoreutils/restorecon/main.fmf index be078b5..5ff366d 100644 --- a/policycoreutils/restorecon/main.fmf +++ b/policycoreutils/restorecon/main.fmf @@ -1,2 +1,2 @@ -path: policycoreutils/restorecon +path: /policycoreutils/restorecon component: disabled diff --git a/policycoreutils/selinux-info/main.fmf b/policycoreutils/selinux-info/main.fmf index e8ade66..4ce0eb4 100644 --- a/policycoreutils/selinux-info/main.fmf +++ b/policycoreutils/selinux-info/main.fmf @@ -1,4 +1,4 @@ -path: policycoreutils/selinux-info +path: /policycoreutils/selinux-info summary: test sestatus, avcstat, getenforce description: | Test that output of sestatus matches information in /sys/fs/selinux. diff --git a/policycoreutils/semanage-interface/main.fmf b/policycoreutils/semanage-interface/main.fmf index e0f4109..4fd3a5e 100644 --- a/policycoreutils/semanage-interface/main.fmf +++ b/policycoreutils/semanage-interface/main.fmf @@ -1 +1 @@ -path: policycoreutils/semanage-interface +path: /policycoreutils/semanage-interface diff --git a/policycoreutils/semanage-login/main.fmf b/policycoreutils/semanage-login/main.fmf index d6e070e..9a2165f 100644 --- a/policycoreutils/semanage-login/main.fmf +++ b/policycoreutils/semanage-login/main.fmf @@ -1 +1 @@ -path: policycoreutils/semanage-login +path: /policycoreutils/semanage-login diff --git a/policycoreutils/semanage-permissive-d-problems/main.fmf b/policycoreutils/semanage-permissive-d-problems/main.fmf index d0e4020..50e8c68 100644 --- a/policycoreutils/semanage-permissive-d-problems/main.fmf +++ b/policycoreutils/semanage-permissive-d-problems/main.fmf @@ -1 +1 @@ -path: policycoreutils/semanage-permissive-d-problems +path: /policycoreutils/semanage-permissive-d-problems diff --git a/policycoreutils/semanage-port-add-delete-problems/main.fmf b/policycoreutils/semanage-port-add-delete-problems/main.fmf index 7a88299..f2655dc 100644 --- a/policycoreutils/semanage-port-add-delete-problems/main.fmf +++ b/policycoreutils/semanage-port-add-delete-problems/main.fmf @@ -1 +1 @@ -path: policycoreutils/semanage-port-add-delete-problems +path: /policycoreutils/semanage-port-add-delete-problems diff --git a/policycoreutils/semanage-user/main.fmf b/policycoreutils/semanage-user/main.fmf index 8a1a9c7..0111538 100644 --- a/policycoreutils/semanage-user/main.fmf +++ b/policycoreutils/semanage-user/main.fmf @@ -1 +1 @@ -path: policycoreutils/semanage-user +path: /policycoreutils/semanage-user diff --git a/policycoreutils/sepolicy-generate/main.fmf b/policycoreutils/sepolicy-generate/main.fmf index 85b06ad..29abfee 100644 --- a/policycoreutils/sepolicy-generate/main.fmf +++ b/policycoreutils/sepolicy-generate/main.fmf @@ -1 +1 @@ -path: policycoreutils/sepolicy-generate +path: /policycoreutils/sepolicy-generate diff --git a/policycoreutils/sestatus/main.fmf b/policycoreutils/sestatus/main.fmf index 6532d4b..0ca1ec2 100644 --- a/policycoreutils/sestatus/main.fmf +++ b/policycoreutils/sestatus/main.fmf @@ -1 +1 @@ -path: policycoreutils/sestatus +path: /policycoreutils/sestatus diff --git a/policycoreutils/setsebool/main.fmf b/policycoreutils/setsebool/main.fmf index aa43e88..7da7113 100644 --- a/policycoreutils/setsebool/main.fmf +++ b/policycoreutils/setsebool/main.fmf @@ -1 +1 @@ -path: policycoreutils/setsebool +path: /policycoreutils/setsebool diff --git a/selinux-policy/policy-rpm-macros/main.fmf b/selinux-policy/policy-rpm-macros/main.fmf index facad3b..498e8f4 100644 --- a/selinux-policy/policy-rpm-macros/main.fmf +++ b/selinux-policy/policy-rpm-macros/main.fmf @@ -1,2 +1,2 @@ -path: selinux-policy/policy-rpm-macros +path: /selinux-policy/policy-rpm-macros tier: 1