setegid_spec() coverage
specification IntT setegid_spec( CallContext context, GidT gid, ErrorCode *errno )
coverages |
branches |
failures |
hits/fails |
C |
( Id, priority ) == ( Id_ReallyInvalid, Priority_ReallyHigh ) |
|
3 |
( Id, priority ) == ( Id_ReallyInvalid, Priority_ReallyLow ) |
|
3 |
( Id, priority ) == ( Id_ReallyInvalid, Priority_Unknown ) |
|
3 |
( Id, priority ) == ( Id_SavedSetId, Priority_ReallyHigh ) |
|
4 |
( Id, priority ) == ( Id_SavedSetId, Priority_ReallyLow ) |
failure 203: Requirement failed: {setegid.05.02} error not met because its predicate (( priority_coverage == Priority_ReallyLow || ( priority_coverage == Priority_Unknown && setegid_spec == -1 ) ) && ( gid_coverage != Id_RealId && gid_coverage != Id_SavedSetId )) is false while error code EPERM is set ;
|
4/1 |
( Id, priority ) == ( Id_SavedSetId, Priority_Unknown ) |
failure 204: Requirement failed: {setegid.05.02} error not met because its predicate (( priority_coverage == Priority_ReallyLow || ( priority_coverage == Priority_Unknown && setegid_spec == -1 ) ) && ( gid_coverage != Id_RealId && gid_coverage != Id_SavedSetId )) is false while error code EPERM is set ;
|
4/1 |
( Id, priority ) == ( Id_RealId, Priority_ReallyHigh ) |
|
2 |
( Id, priority ) == ( Id_RealId, Priority_ReallyLow ) |
|
2 |
( Id, priority ) == ( Id_RealId, Priority_Unknown ) |
|
2 |
( Id, priority ) == ( Id_Unknown, Priority_ReallyHigh ) |
|
6 |
( Id, priority ) == ( Id_Unknown, Priority_ReallyLow ) |
|
6 |
( Id, priority ) == ( Id_Unknown, Priority_Unknown ) |
|
6 |
100% (12/12) |
|
45/2 |
|