Update JSON graph test
@@ -275,6 +275,8 @@ digraph G {
{'name': '0',
'long_name': 'sh (0)',
'description': '/bin/sh\n0',
+ 'argv': ['sh', 'script_1'],
+ 'start_time': 0,
'is_thread': False,
'parent': None,
'reads': ['/bin/sh', '/usr/share/1_one.pyc'],
@@ -282,6 +284,8 @@ digraph G {
{'name': '0',
'long_name': 'python (0)',
'description': '/usr/bin/python\n0',
+ 'argv': ['python', 'drive.py'],
+ 'start_time': 5,
'is_thread': False,
'parent': [0, 'exec'],
'reads': ['/usr/bin/python',
@@ -292,6 +296,8 @@ digraph G {
{'name': '1',
'long_name': 'experiment (1)',
'description': '/some/dir/experiment\n1',
+ 'argv': ['experiment'],
+ 'start_time': 9,
'is_thread': False,
'parent': [1, 'fork+exec'],
'reads': ['/some/dir/experiment',
@@ -300,6 +306,8 @@ digraph G {
{'name': '0',
'long_name': 'wc (0)',
'description': '/usr/bin/wc\n0',
+ 'argv': ['wc', 'out.txt'],
+ 'start_time': 15,
'is_thread': False,
'parent': [1, 'exec'],
'reads': ['/usr/bin/wc', '/some/dir/two'],
@@ -310,6 +318,8 @@ digraph G {
{'name': '2',
'long_name': 'sh (2)',
'description': '/bin/sh\n2',
+ 'argv': ['sh', 'script_2'],
+ 'start_time': 17,
'is_thread': False,
'parent': None,
'reads': ['/bin/sh'],
@@ -317,6 +327,8 @@ digraph G {
{'name': '3',
'long_name': 'sh (3)',
'description': '/bin/sh\n3',
+ 'argv': ['sh', 'script_2'],
+ 'start_time': 20,
'is_thread': True,
'parent': [0, 'fork'],
'reads': [],
@@ -324,6 +336,8 @@ digraph G {
{'name': '4',
'long_name': 'python (4)',
'description': '/usr/bin/python\n4',
+ 'argv': ['python', '-'],
+ 'start_time': 21,
'is_thread': False,
'parent': [0, 'fork+exec'],
'reads': ['/usr/bin/python', '/some/dir/one'],
@@ -331,6 +345,8 @@ digraph G {
{'name': '2',
'long_name': 'report (2)',
'description': '/some/dir/report\n2',
+ 'argv': ['./report', '-v'],
+ 'start_time': 26,
'is_thread': False,
'parent': [0, 'exec'],
'reads': ['/some/dir/report', '/some/dir/thing'],
