zephyr/scripts/waitpid
Mazen NEIFER 6683f13c94 sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c.
Change-Id: I4a623e55c7e69258d58b2116bd7645d1e83ed274
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-04-11 16:53:41 +00:00

7 lines
161 B
Bash
Executable file

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