diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-31 17:52:15 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-31 18:15:43 +0300 |
commit | b4da7b2eacdfa8e4a88cbe190d79a0cb11f82b92 (patch) | |
tree | 8a11c39b28c19b92a24e271fd664c66cc6827e25 /tests | |
parent | 432c289581082829d646c2e7af904a2d76c7d6dd (diff) |
kmstest: Fix CRC directory name string
The CRC directory name string was converted to a Python formatted string
literal incorrectly, with the f prefix within the string instead of just
before it. Fix it.
Fixes: dcbc93a117b0 ("tests: Convert to formatted string literals")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/kmstest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kmstest.py b/tests/kmstest.py index 1843237..177110e 100755 --- a/tests/kmstest.py +++ b/tests/kmstest.py @@ -171,7 +171,7 @@ class CRCReader(object): # Hardcode the device minor to 0 as the KMSTest constructor opens the # default card object. - self.dir = os.open('f/sys/kernel/debug/dri/0/crtc-{self.pipe}/crc', 0) + self.dir = os.open(f'/sys/kernel/debug/dri/0/crtc-{self.pipe}/crc', 0) self.ctrl = os.open('control', os.O_WRONLY, dir_fd = self.dir) self.data = -1 |