From bcd0db12e40a9975403fefdf38f1783a45456e26 Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Fri, 27 Dec 2024 17:32:31 +0100 Subject: [PATCH 1/2] Allow to manually execute a GitHub Actions workflow --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 75b677b..41b9fd7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,6 +1,7 @@ name: "bashdb CI" on: push: + workflow_dispatch: jobs: linux: From 0a451cb7135f05affdaf24a65d049f5f6edddc5c Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Fri, 27 Dec 2024 17:52:01 +0100 Subject: [PATCH 2/2] Attempt to fix failing test --- test/example/interrupt.sh.in | 6 +++--- test/integration/interrupt.tests | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/example/interrupt.sh.in b/test/example/interrupt.sh.in index ab65be1..ab817a4 100755 --- a/test/example/interrupt.sh.in +++ b/test/example/interrupt.sh.in @@ -15,9 +15,9 @@ if [ '@top_builddir@' = '' ] ; then echo "Something is wrong top_builddir is not set." exit 1 fi -top_builddir=@top_builddir@ -top_builddir=${top_builddir%%/}/ -source ${top_builddir}bashdb-trace --no-init -q -B -L @top_builddir@ +top_builddir="@top_builddir@" +top_builddir="${top_builddir%%/}/" +source "${top_builddir}bashdb-trace" --no-init -q -B -L "@top_builddir@" ## FIXME ## _Dbg_handler INT diff --git a/test/integration/interrupt.tests b/test/integration/interrupt.tests index 4c1a82b..463a77f 100755 --- a/test/integration/interrupt.tests +++ b/test/integration/interrupt.tests @@ -15,7 +15,7 @@ while [[ ! -f $started_markerfile ]] ; do sleep 1 done -kill -TERM %1 +builtin kill -TERM %1 while [[ ! -s $CHECK_FILE ]] ; do sleep 1 done