summaryrefslogtreecommitdiff
path: root/accel-cmd/accel_cmd_test.c
AgeCommit message (Collapse)Author
41 hoursaccel-cmd: convert millisecond timeouts to nanoseconds correctlyDenys Fedoryshchenko
The fractional part of a millisecond timeout was multiplied by 1000 instead of 1000000, so 1500ms became 1.0005 seconds. Correct the conversion and add a CTest regression covering subsecond values, second boundaries, microseconds, and invalid input. Initialize CTest before configuring the client subdirectory. Validation: Release build and CTest pass. The regression fails against upstream master at 1ms. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>