From 126aaae8ba93c5529c086ff5d0f96445e9fd6ad2 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Fri, 6 Dec 2019 19:31:32 -0700 Subject: [PATCH] Fix IO_RATE_REGEX under macOS --- scripts/wk/hw/diags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wk/hw/diags.py b/scripts/wk/hw/diags.py index dbf339eb..d101ba2d 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -42,7 +42,7 @@ IO_ALT_TEST_SIZE_FACTOR = 0.01 IO_BLOCK_SIZE = 512 * 1024 IO_CHUNK_SIZE = 32 * 1024**2 IO_MINIMUM_TEST_SIZE = 10 * 1024**3 -IO_RATE_REGEX = re.compile(r'(?P\d+) bytes.* (?P\S+) s,') +IO_RATE_REGEX = re.compile(r'(?P\d+) bytes.* (?P\S+) s(,|ecs )') MENU_ACTIONS = ( 'Audio Test', 'Keyboard Test',