From cf078e71fe37ea9a54bad13a3ae3e8fb1ccdf6f8 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Fri, 30 Aug 2019 10:07:52 -0700 Subject: [PATCH] test/nvme: fix shellcheck issue in hw_hotplug.sh This was never rebased after the shellcheck changes went in. Fix it so that master can pass check_format.sh again. Signed-off-by: Jim Harris Change-Id: Ic124c8e77049f08ab29a5b4a902e7718d378dd22 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466951 Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins --- test/nvme/hw_hotplug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nvme/hw_hotplug.sh b/test/nvme/hw_hotplug.sh index 7917a0ae3..6b99fa2e3 100755 --- a/test/nvme/hw_hotplug.sh +++ b/test/nvme/hw_hotplug.sh @@ -45,7 +45,7 @@ timing_enter hotplug_hw_test $rootdir/examples/nvme/hotplug/hotplug -i 0 -t 100 -n 2 -r 2 2>&1 | tee -a log.txt & example_pid=$! -trap "killprocess $example_pid; exit 1" SIGINT SIGTERM EXIT +trap 'killprocess $example_pid; exit 1' SIGINT SIGTERM EXIT i=0 while ! grep "Starting I/O" log.txt; do