Failure in /olver/process/meta/tests/getpriority_spec 828
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
In Progress
|
Medium
|
Unassigned | ||
Mandriva |
In Progress
|
Medium
|
Bug Description
/olver/
Message from the test:
failure 168
-------
POSTCONDITION_
Requirement failed: {getpriority.09.02} Function executed successfully with EOK
error code, while `( which != 1 && which != 0 && which != 2 ) || isEmpty_Set(
processes ) == true` means that EINVAL SHALL be set
-------
Registered bug: bug828(getpriority)
Problem info:
The getpriority() and setpriority() functions shall fail if:
[ESRCH]
No process could be located using the which and who argument values specified.
[EINVAL]
The value of the which argument was not recognized, or the value of the who
argument
is not a valid process ID, process group ID, or user ID.
But getpriority() and setpriority() returns EOK if no process could be located
using the which and who argument values specified or if the value of the which
argument was not recognized, or the value of the who argument is not a valid
process ID, process group ID, or user ID.
Additional information about this bug may be found at
http://
Also another test is failing
/olver/
Message from the test:
failure 167
-------
POSTCONDITION_
Requirement failed: {setpriority.09.01} Function executed successfully with EOK
error code, while `isEmpty_Set( processes ) == true` means that ESRCH SHALL be
set
-------
Registered bug: bug829(setpriority)
Comment:
Test Purpose Comment: Check requirement
Open the journal:
/var/opt/
Problem info:
The getpriority() and setpriority() functions shall fail if:
[ESRCH]
No process could be located using the which and who argument values specified.
[EINVAL]
The value of the which argument was not recognized, or the value of the who
argument
is not a valid process ID, process group ID, or user ID.
But getpriority() and setpriority() returns EOK if no process could be located
using the which and who argument values specified or if the value of the which
argument was not recognized, or the value of the who argument is not a valid
process ID, process group ID, or user ID.
Additional information about this bug may be found at
http://
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |