Opened 4 years ago
Closed 4 years ago
#16689 closed bug (no change required)
TPS:sched_get_priority_max failed with SCHED_FIFO policy test
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 (last modified by )
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 (FAILED on GCC2 x86, PASSES on GCC8 x86)
Change History (3)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:3 by , 4 years ago
Resolution: | → no change required |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
No work needed. This test passes on Haiku x86 GCC8, and considered optional for POSIX compliance. Please close this ticket