diff --git a/src/test/test-capability.c b/src/test/test-capability.c index 730dbf8cbd..1cca76cb5d 100644 --- a/src/test/test-capability.c +++ b/src/test/test-capability.c @@ -180,8 +180,6 @@ static void test_update_inherited_set(void) { caps = cap_get_proc(); assert_se(caps); - assert_se(!cap_get_flag(caps, CAP_CHOWN, CAP_INHERITABLE, &fv)); - assert(fv == CAP_CLEAR); set = (UINT64_C(1) << CAP_CHOWN); @@ -197,12 +195,6 @@ static void test_set_ambient_caps(void) { uint64_t set = 0; cap_flag_value_t fv; - caps = cap_get_proc(); - assert_se(caps); - assert_se(!cap_get_flag(caps, CAP_CHOWN, CAP_INHERITABLE, &fv)); - assert(fv == CAP_CLEAR); - cap_free(caps); - assert_se(prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) == 0); set = (UINT64_C(1) << CAP_CHOWN); diff --git a/travis-ci/managers/fedora.sh b/travis-ci/managers/fedora.sh index 5ecd66c7c8..3ee1105067 100755 --- a/travis-ci/managers/fedora.sh +++ b/travis-ci/managers/fedora.sh @@ -47,7 +47,6 @@ for phase in "${PHASES[@]}"; do # Build systemd $DOCKER_EXEC meson -Dslow-tests=true build $DOCKER_EXEC ninja -v -C build - $DOCKER_EXEC sh -c "printf '#!/bin/sh\necho The test is failing for unknown reason, skipping; exit 77' >/build/build/test-capability" # Run 'make check' $DOCKER_EXEC ninja -C build test ;;