Merge pull request #13 from Kamoppl/kamilg/fix_io_stat_parser

Kamilg/fix io stat parser
This commit is contained in:
Katarzyna Treder 2024-09-06 08:51:04 +02:00 committed by GitHub
commit 67fe17d839
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ from core.test_run import TestRun
from test_utils.output import CmdException
SYSFS_LINE_FORMAT = r"^(\d+\s+){10,}\d+$"
PROCFS_LINE_FORMAT = r"^\d+\s+\d+\s+\w+\s+" + SYSFS_LINE_FORMAT[1:]
PROCFS_LINE_FORMAT = r"^\d+\s+\d+\s+[\w-]+\s+" + SYSFS_LINE_FORMAT[1:]
# This class represents block device I/O statistics.