SIGINT throws bats into endless loop on Bash 5.2 (RC) #654
Labels
Component: Bash Code
Everything regarding the bash code
Priority: High
Broken behavior in specific environments like in parallel mode or only on some operating systems
Status: Confirmed
The reproducer worked as described
Type: Bug
Milestone
Describe the bug
In versions 1.8.0, test "73 CTRL-C aborts and fails the current test" hangs when run on a recent Debian sid system.
Test 73 gets stuck without producing any output. Killing the test with CTRL-C makes the test suit starting the abort procedure, but then the test process gets stuck in
R
unning state. Sending SIGKILL to the test process unblocks the test suite abort procedure.To Reproduce
Steps to reproduce the behavior:
docker run --rm -it -v /tmp/d debian:sid
apt update && apt install git
cd /tmp && git clone https://github.com/bats-core/bats-core && cd bats-core
mkdir -p ~/.parallel && touch ~/.parallel/will-cite
bin/bats --tap test
Expected behavior
Test 73 should run successfully.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: