sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c.

Change-Id: I4a623e55c7e69258d58b2116bd7645d1e83ed274
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
This commit is contained in:
Mazen NEIFER 2017-02-07 16:59:29 +01:00 committed by Andrew Boie
commit 6683f13c94

View file

@ -2,4 +2,5 @@
# Copyright (c) 2017 Intel Corporation # Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
trap "kill $1" SIGINT
while kill -0 $1 2> /dev/null; do sleep 1; done; while kill -0 $1 2> /dev/null; do sleep 1; done;