re PR testsuite/27476 (ACATS: Ada testsuite Bourne shell compatibility problem on hpux)

2006-05-08  Laurent GUERBY  <laurent@guerby.net>

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

From-SVN: r113630
This commit is contained in:
Laurent GUERBY 2006-05-08 16:50:40 +00:00 committed by Laurent Guerby
parent 2813414c11
commit 13637c491f
2 changed files with 6 additions and 1 deletions

View 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

View File

@ -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