| Message ID | 1768520616-7289-9-git-send-email-mark.hatle@kernel.crashing.org |
|---|---|
| State | New |
| Headers | show |
| Series | Consolidated pseudo patches | expand |
diff --git a/test/test-tclsh-fork.sh b/test/test-tclsh-fork.sh index e06f36b..cb63a55 100755 --- a/test/test-tclsh-fork.sh +++ b/test/test-tclsh-fork.sh @@ -3,6 +3,11 @@ # SPDX-License-Identifier: LGPL-2.1-only # +which tclsh >/dev/null 2>&1 +if [ $? -ne 0 ]; then + exit 255 +fi + # Check that tclsh doesn't hang. Note that the timeout is not needed to # reproduce the hang in tclsh, it's only there to ensure that this test script # doesn't hang in case of a failing test.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> --- test/test-tclsh-fork.sh | 5 +++++ 1 file changed, 5 insertions(+)