From c9090beffea218f4bca578a00068b58ce7b1915d Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Fri, 8 Jul 2016 17:09:19 -0700 Subject: [PATCH] test/nvmf: remove redundant process_core calls This is handled by autotest.sh already. Change-Id: I2210df16fc10f36507c469318b278d6f5568e48f Signed-off-by: Daniel Verkamp --- test/nvmf/discovery/discovery.sh | 2 +- test/nvmf/filesystem/filesystem.sh | 2 +- test/nvmf/fio/fio.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/nvmf/discovery/discovery.sh b/test/nvmf/discovery/discovery.sh index e7a2b8124..b078e852a 100755 --- a/test/nvmf/discovery/discovery.sh +++ b/test/nvmf/discovery/discovery.sh @@ -23,7 +23,7 @@ timing_enter discovery $rootdir/app/nvmf_tgt/nvmf_tgt -c $testdir/../nvmf.conf -t nvmf -t rdma & nvmfpid=$! -trap "process_core; killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT +trap "killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT sleep 10 diff --git a/test/nvmf/filesystem/filesystem.sh b/test/nvmf/filesystem/filesystem.sh index 9a2fdafe6..2815f4316 100755 --- a/test/nvmf/filesystem/filesystem.sh +++ b/test/nvmf/filesystem/filesystem.sh @@ -18,7 +18,7 @@ timing_enter fs_test $rootdir/app/nvmf_tgt/nvmf_tgt -c $testdir/../nvmf.conf & nvmfpid=$! -trap "process_core; killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT +trap "killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT sleep 5 diff --git a/test/nvmf/fio/fio.sh b/test/nvmf/fio/fio.sh index 307d13735..afe121083 100755 --- a/test/nvmf/fio/fio.sh +++ b/test/nvmf/fio/fio.sh @@ -18,7 +18,7 @@ timing_enter fio $rootdir/app/nvmf_tgt/nvmf_tgt -c $testdir/../nvmf.conf -t nvmf -t rdma & nvmfpid=$! -trap "process_core; killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT +trap "killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT sleep 10