summaryrefslogtreecommitdiff
path: root/gcc/testsuite/ada
diff options
context:
space:
mode:
authorguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-08 16:50:40 +0000
committerguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-08 16:50:40 +0000
commit4eafbc2f8859a14279388474e4ce05f03e54cc80 (patch)
tree3c62d6e1c3c997bb125b5b4fc9fe94ffe90c943a /gcc/testsuite/ada
parentc174131f4bb630ad9682d606607bd21d70deace4 (diff)
downloadgcc-4eafbc2f8859a14279388474e4ce05f03e54cc80.tar.gz
2006-05-08 Laurent GUERBY <laurent@guerby.net>
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
Diffstat (limited to 'gcc/testsuite/ada')
-rwxr-xr-xgcc/testsuite/ada/acats/run_all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh
index d5b6feea045..e452272c860 100755
--- a/gcc/testsuite/ada/acats/run_all.sh
+++ b/gcc/testsuite/ada/acats/run_all.sh
@@ -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