t/latency_percentiles: run cmdprio_percentage tests only if root
authorVincent Fu <vincent.fu@wdc.com>
Mon, 18 May 2020 17:41:52 +0000 (13:41 -0400)
committerVincent Fu <vincent.fu@wdc.com>
Mon, 18 May 2020 19:54:33 +0000 (15:54 -0400)
commitc4148940317e349ffce4e05345880df5fe66459f
tree855d5de11d4a1b5bdeec13c854b2ce6a56a3af0d
parent15a7398705d7748bc860830fedc28add54c47ee3
t/latency_percentiles: run cmdprio_percentage tests only if root

The libaio/io_uring cmdprio_percentage option only works when fio is run
from the root user account. Skip these tests (instead of failing) when
this test script is run from a regular user account.

Signed-off-by: Vincent Fu <vincent.fu@wdc.com>
t/latency_percentiles.py