sys-fs/cryfs: Disable hanging tests
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 31 Oct 2019 20:41:04 +0000 (21:41 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 1 Nov 2019 08:53:20 +0000 (09:53 +0100)
Closes: https://bugs.gentoo.org/699044
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sys-fs/cryfs/cryfs-0.10.2.ebuild
sys-fs/cryfs/cryfs-9999.ebuild

index 56ffbdfc54581c9843eea81a090104a5b227459d..b305bf454db5639d986a61db7f79fedbc05e7322 100644 (file)
@@ -57,6 +57,10 @@ src_prepare() {
        # remove tests that require internet access to comply with Gentoo policy
        sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
                -i test/cpp-utils/CMakeLists.txt || die
+
+       # /dev/fuse access denied
+       sed -e "/CliTest_IntegrityCheck/d" \
+               -i test/cryfs-cli/CMakeLists.txt || die
 }
 
 src_configure() {
@@ -74,16 +78,13 @@ src_configure() {
 
 src_test() {
        local TMPDIR="${T}"
-       addread /dev/fuse
-       addwrite /dev/fuse
        local tests_failed=()
 
-       for i in gitversion cpp-utils parallelaccessstore blockstore blobstore fspp cryfs cryfs-cli ; do
+       # fspp fuse tests hang, bug # 699044
+       for i in gitversion cpp-utils parallelaccessstore blockstore blobstore cryfs cryfs-cli ; do
                "${BUILD_DIR}"/test/${i}/${i}-test || tests_failed+=( "${i}" )
        done
 
-       adddeny /dev/fuse
-
        if [[ -n ${tests_failed[@]} ]] ; then
                eerror "The following tests failed:"
                eerror "${tests_failed[@]}"
index d401918aecc4dcb5d34fa2948982386f32d7fbe6..5cd7961f3996fde2652413f265a4e8d8ed5e1f24 100644 (file)
@@ -53,6 +53,10 @@ src_prepare() {
        # remove tests that require internet access to comply with Gentoo policy
        sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
                -i test/cpp-utils/CMakeLists.txt || die
+
+       # /dev/fuse access denied
+       sed -e "/CliTest_IntegrityCheck/d" \
+               -i test/cryfs-cli/CMakeLists.txt || die
 }
 
 src_configure() {
@@ -69,16 +73,13 @@ src_configure() {
 
 src_test() {
        local TMPDIR="${T}"
-       addread /dev/fuse
-       addwrite /dev/fuse
        local tests_failed=()
 
-       for i in gitversion cpp-utils parallelaccessstore blockstore blobstore fspp cryfs cryfs-cli ; do
+       # fspp fuse tests hang, bug # 699044
+       for i in gitversion cpp-utils parallelaccessstore blockstore blobstore cryfs cryfs-cli ; do
                "${BUILD_DIR}"/test/${i}/${i}-test || tests_failed+=( "${i}" )
        done
 
-       adddeny /dev/fuse
-
        if [[ -n ${tests_failed[@]} ]] ; then
                eerror "The following tests failed:"
                eerror "${tests_failed[@]}"