2006-05-08 Laurent GUERBY <laurent@guerby.net>
authorguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2006 16:50:40 +0000 (16:50 +0000)
committerguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2006 16:50:40 +0000 (16:50 +0000)
        PR testsuite/27476
        * ada/acats/run_all.sh: Use test -z.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113630 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a638c4d..c490218 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 d5b6fee..e452272 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