Opened 4 years ago
Last modified 4 years ago
#16689 closed bug
TPS:sched_get_priority_max failed with SCHED_FIFO policy test — at Initial Version
Reported by: | cocobean | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | TPS, posix, sched_get_priority_max | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Test that sched_get_priority_max() returns the maximum value on success for SCHED_FIFO policy.
On open-posix-test 1.5.2:
Ref: conformance/interfaces/sched_get_priority_max/1-2.c
int result = -1; result = sched_get_priority_max(SCHED_FIFO); if(result != -1 && errno == 0 ) { printf("The maximum priority for policy SCHED_FIFO is %i.\n", result); printf("Test PASSED\n"); return PTS_PASS; } else { perror("An error occurs"); return PTS_FAIL;
Expect Rezult: Test PASSED
Result: An error occurs: Invalid Argument
Tested on: Haiku x86 hrev54807
Note:
See TracTickets
for help on using tickets.