This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] elf: Add tst-ldconfig-bad-aux-cache test [BZ #18093]
- From: Carlos O'Donell <codonell at redhat dot com>
- To: Alexandra Hajkova <ahajkova at redhat dot com>
- Cc: Alexandra Hájková <alexandra dot khirnova at gmail dot com>, libc-alpha at sourceware dot org, DJ Delorie <dj at redhat dot com>
- Date: Wed, 24 Apr 2019 15:21:39 -0400
- Subject: Re: [PATCH] elf: Add tst-ldconfig-bad-aux-cache test [BZ #18093]
- References: <20190415181821.17616-1-ahajkova@redhat.com> <e1bd3db0-ebf0-c2e4-196c-36337f493345@redhat.com> <CAJVr-EMsTwRCxxLBNTvZ6XuvoMVS1yLWzuXjm15biud_iH2hFg@mail.gmail.com>
On 4/24/19 8:00 AM, Alexandra Hajkova wrote:
If you don't create the "/var/cache/" directory, does ldconfig fail to run?
Yes, it does:
rm -r elf/tst-ldconfig-bad-aux-cache.root/var
also from build dir:
rm -r testroot.root/var/cache/
and remove all the test results:
rm elf/tst-ldconfig-bad-aux-cache.*
and the results after rerunning my test:
cat elf/tst-ldconfig-bad-aux-cache.out
error: tst-ldconfig-bad-aux-cache.c:80: aux-cache does not exist
error: 1 test failures
cat elf/tst-ldconfig-bad-aux-cache.test-result
FAIL: elf/tst-ldconfig-bad-aux-cache
original exit status 1
OK, thanks for verifying that.
Please post v2 with the fixed nftw wrapping and I'll
do a final review.
--
Cheers,
Carlos.