re PR testsuite/27476 (ACATS: Ada testsuite Bourne shell compatibility problem on...
authorLaurent GUERBY <laurent@guerby.net>
Mon, 8 May 2006 16:50:40 +0000 (16:50 +0000)
committerLaurent Guerby <guerby@gcc.gnu.org>
Mon, 8 May 2006 16:50:40 +0000 (16:50 +0000)
2006-05-08  Laurent GUERBY  <laurent@guerby.net>

        PR testsuite/27476
        * ada/acats/run_all.sh: Use test -z.

From-SVN: r113630

gcc/testsuite/ChangeLog
gcc/testsuite/ada/acats/run_all.sh

index a638c4d569ecb321d3dfdb18e0ac2825f1a00a55..c490218c53f612cb58b080b8a4286e00f9c3c47f 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-08  Laurent GUERBY  <laurent@guerby.net>
+
+       PR testsuite/27476
+       * ada/acats/run_all.sh: Use test -z.
+
 2006-05-07  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        PR libfortran/18271
index d5b6feea0450d8e14b8bc785c6f23060c728ea4d..e452272c8606b5aaffd57fc6535dd6abcb230af0 100755 (executable)
@@ -239,7 +239,7 @@ for chapter in $chapters; do
       target_gnatchop -c -w `ls ${test}*.a ${test}*.ada ${test}*.adt ${test}*.am ${test}*.dep 2> /dev/null` >> $dir/acats.log 2>&1
       main=""
       find_main
-      if [ "$main" == "" ]; then
+      if [ -z "$main" ]; then
          sync
          find_main
       fi