]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
More of test -n wants a single argument.
authorYann Ylavic <ylavic@apache.org>
Mon, 20 Sep 2021 16:52:48 +0000 (16:52 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 20 Sep 2021 16:52:48 +0000 (16:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893476 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index a338b64d861bea6a3257264f607dd0c9f15ce584..de4e0917c818f0c683181190a3e5100f9534612c 100755 (executable)
@@ -75,6 +75,7 @@ fi
 
 if ! test -v SKIP_TESTING; then
     set +e
+    shopt -s nullglob
     RV=0
 
     if test -v TEST_MALLOC; then
@@ -181,12 +182,12 @@ if ! test -v SKIP_TESTING; then
         fi
     done
 
-    if test -v TEST_UBSAN && test -n `ls ubsan.log.* 2>/dev/null`; then
+    if test -v TEST_UBSAN && test -n "`ls ubsan.log.* 2>/dev/null`"; then
         cat ubsan.log.*
         RV=3
     fi
 
-    if test -v TEST_ASAN && test -n `ls asan.log.* 2>/dev/null`; then
+    if test -v TEST_ASAN && test -n "`ls asan.log.* 2>/dev/null`"; then
         cat asan.log.*
 
         # ASan can report memory leaks, fail on errors only