Bug 28577 - Make run-debuginfod-fd-prefetch-caches.sh test something
Summary: Make run-debuginfod-fd-prefetch-caches.sh test something
Status: RESOLVED FIXED
Alias: None
Product: elfutils
Classification: Unclassified
Component: debuginfod (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Noah Sanci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-10 13:32 UTC by Mark Wielaard
Modified: 2022-05-24 18:16 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2021-11-10 13:32:30 UTC
commit bbf0dc0162e82770f296b2ecda77a2b5bd6f7405 "tests: Don't fail run-debuginfod-fd-prefetch-caches.sh if grep -c fails" made the test not really do anything.

The debuginfod server gets to scan a non-existing directory and then nothing even tries to query anything from the server. So nothing ever gets prefetched. And testing for zero happily succeeds.

See also https://sourceware.org/pipermail/elfutils-devel/2021q3/004165.html
Comment 1 Noah Sanci 2022-05-24 18:16:11 UTC
Fixed in commit 5beca45e639f153ed08109dc904cd9bc74e094e8. run-debuginfod-fd-prefetch-caches.sh now tests if the file descriptor or megabyte maxes are enforced.