summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2020-12-11 17:10:12 +0100
committerYann Ylavic <ylavic@apache.org>2020-12-11 17:10:12 +0100
commitda49d78635dbbbc32ee0a075b75177eb13cb3988 (patch)
treea0605eaf595f33cf7bf080868594d308d68c9875 /test
parentci: generate as many core files as there are crashes. (diff)
downloadapache2-da49d78635dbbbc32ee0a075b75177eb13cb3988.tar.xz
apache2-da49d78635dbbbc32ee0a075b75177eb13cb3988.zip
Fix bash syntax in travis_run_linux.sh.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rwxr-xr-xtest/travis_run_linux.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh
index bc4133afb3..dde57c557f 100755
--- a/test/travis_run_linux.sh
+++ b/test/travis_run_linux.sh
@@ -161,11 +161,7 @@ if ! test -v SKIP_TESTING; then
fi
fi
- if test -f test/perl-framework/t/core; then
- gdb -ex 'thread apply all backtrace' -batch ./httpd test/perl-framework/t/core
- RV=5
- fi
- for core in test/perl-framework/t/core.*; do
+ for core in `ls test/perl-framework/t/core test/perl-framework/t/core.* 2>/dev/null`; do
gdb -ex 'thread apply all backtrace' -batch ./httpd "$core"
RV=5
done