From 073cb266079edddec64ea8cd5169dd2cbef8f812 Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Mon, 27 Feb 2017 14:10:02 -0500 Subject: syscall_emul: [patch 14/22] adds identifier system calls This changeset add fields to the process object and adds the following three system calls: setpgid, gettid, getpid. --- tests/quick/se/01.hello-2T-smt/test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/quick/se/01.hello-2T-smt/test.py b/tests/quick/se/01.hello-2T-smt/test.py index b6c3c71a2..acfdb9bc2 100644 --- a/tests/quick/se/01.hello-2T-smt/test.py +++ b/tests/quick/se/01.hello-2T-smt/test.py @@ -26,7 +26,8 @@ # # Authors: Korey Sewell -process1 = Process(cmd = 'hello', executable = binpath('hello')) -process2 = Process(cmd = 'hello', executable = binpath('hello')) +process1 = Process(cmd = 'hello', executable = binpath('hello'), pid = 100) +process2 = Process(cmd = 'hello', executable = binpath('hello'), + pid = 101, ppid = 100) root.system.cpu[0].workload = [process1, process2] -- cgit v1.2.3