[PATCH 01/52] io: Use temporary directory and file for ftwtest-sh
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Mar 8 13:00:29 GMT 2021
On 05/03/2021 20:53, Joseph Myers wrote:
> On Fri, 5 Mar 2021, Adhemerval Zanella via Libc-alpha wrote:
>
>> # First create our scenario:
>> -tmp=${objpfx}io
>> -tmpdir=$tmp/ftwtest.d
>> +tmp=/tmp
>> +tmpdir=$(mktemp -d $tmp/ftwtest.d.XXXXXX)
>> +ftwtest=$(basename $tmpdir)
>
> /tmp on the system on which glibc is built may not be the same as /tmp on
> the system on which programs linked with the glibc under test are run - in
> general with cross-test-ssh.sh they won't be, only the source and build
> directories can be assumed to be shared between the two systems.
>
I will use a temporary directory on the build directory instead as
noted by Andreas.
More information about the Libc-alpha
mailing list