This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada][testsuite] use sync to avoid missing executable
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>, Eric Botcazou <ebotcazou at libertysurf dot fr>, Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 18 Apr 2005 13:39:33 +0200
- Subject: Re: [Ada][testsuite] use sync to avoid missing executable
- References: <1113636653.29924.231.camel@pc.site>
* Laurent GUERBY:
> + if [ ! -x $dir/tests/$chapter/$i/$binmain ]; then
> + sync
> + fi
Are you sure you need the sync, and not just the delay introduced by
it? I agree with Arno that it's a kernel bug if you really need it.
sync shouldn't have any observable effect (except for the delay, of
course).