1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-23 00:29:59 +02:00

fix proc-pid-stat parser for command names with spaces and newlines

This commit is contained in:
Kelly Brazil
2022-09-28 14:55:25 -07:00
parent 32fddce8fb
commit 690603bfda
7 changed files with 86 additions and 69 deletions

View File

@ -203,6 +203,9 @@ class MyTests(unittest.TestCase):
'proc_pid_stat': (
'fixtures/linux-proc/pid_stat',
'fixtures/linux-proc/pid_stat.json'),
'pid_stat_w_space_and_nl_in_comm': (
'fixtures/linux-proc/pid_stat_w_space_and_nl_in_comm',
'fixtures/linux-proc/pid_stat_w_space_and_nl_in_comm.json'),
'proc_pid_statm': (
'fixtures/linux-proc/pid_statm',
'fixtures/linux-proc/pid_statm.json'),