From mboxrd@z Thu Jan 1 00:00:00 1970 From: Punit Agrawal Date: Tue, 14 Nov 2017 15:59:29 +0000 Subject: [LTP] [PATCH v2 13/13] hotplug/cpu_hotplug: Remove bashism disown from kill_pid() In-Reply-To: <20171114155929.24237-1-punit.agrawal@arm.com> References: <20171114155929.24237-1-punit.agrawal@arm.com> Message-ID: <20171114155929.24237-14-punit.agrawal@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it From: James Morse disown is a bashism not present in dash. kill_pid() already sends the process SIGKILL. Remove the "disown" to allow running in shells that don't support disown. Signed-off-by: James Morse Signed-off-by: Punit Agrawal --- testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_testsuite.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_testsuite.sh b/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_testsuite.sh index 2d0166cc6..7dd0ebaae 100644 --- a/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_testsuite.sh +++ b/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_testsuite.sh @@ -74,7 +74,6 @@ pid_is_valid() kill_pid() { PID=$1 - disown $PID kill -9 $PID > /dev/null 2>&1 } -- 2.14.2