seteuid_spec() coverage
specification IntT seteuid_spec( CallContext context, UidT uid, 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 136: Requirement failed: {seteuid.05.02} error not met because its predicate (( priority_coverage == Priority_ReallyLow || ( priority_coverage == Priority_Unknown && seteuid_spec == -1 ) ) && ( uid_coverage != Id_RealId && uid_coverage != Id_SavedSetId )) is false while error code EPERM is set ;
|
4/1 |
( Id, priority ) == ( Id_SavedSetId, Priority_Unknown ) |
failure 137: Requirement failed: {seteuid.05.02} error not met because its predicate (( priority_coverage == Priority_ReallyLow || ( priority_coverage == Priority_Unknown && seteuid_spec == -1 ) ) && ( uid_coverage != Id_RealId && uid_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 |
|