From af5271cd3ec6b86d7121201243c1678426e64b62 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 27 Oct 2015 11:47:54 -0700 Subject: [PATCH] [core] Fix gdb check for CI --- scripts/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 692269e4f..a4af39d5a 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -24,7 +24,7 @@ if [ ! -d "test/node_modules/express" ]; then (cd test; npm install express@4.11.1) fi -if which -s 'gdb'; then +if command -v gdb >/dev/null 2>&1; then gdb -batch -return-child-result -ex 'set print thread-events off' \ -ex 'run' -ex 'thread apply all bt' --args ${CMD} ; else