summaryrefslogtreecommitdiffstats
path: root/tests/run-debuginfod-archive-rename.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Don't set DEBUGINFOD_TIMEOUTMark Wielaard2021-11-151-1/+0
| | | | | | | Various tests set DEBUGINFOD_TIMEOUT to 10. Which is less than the default of 90. None of the tests relied on a lower timeout. So just don't set it. Signed-off-by: Mark Wielaard <[email protected]>
* tests: Make sure to wait for initial scan and groom cycle earlierMark Wielaard2021-09-071-4/+7
| | | | | | | | | At startup the debuginfod server does a scan and groom cycle. Make sure to wait for that before making any changes to the scan dirs. And not just right before triggering a new one with SIGUSR1 for scan or SIGURS2 for groom. Signed-off-by: Mark Wielaard <[email protected]>
* tests: Make sure to wait for initial scan and groom cycleMark Wielaard2021-09-071-4/+8
| | | | | | | | At startup the debuginfod server does a scan and groom cycle. Make sure to wait for that before triggering a new one with SIGUSR1 or SIGURST2. Signed-off-by: Mark Wielaard <[email protected]>
* tests: Only export DEBUGINFOD_URLS when necessaryMark Wielaard2021-09-071-1/+2
| | | | | | | | | | A couple of test set DEBUGINFOD_URLS before starting a debuginfd server causing the server to query itself or a nonexisting debuginfod server as delegate. In most cases it should be set after, except for the testcase that explicitly checks for errors when using an invalid URL. Signed-off-by: Mark Wielaard <[email protected]>
* debuginfod: Fracture tests/run-debuginfod-find.sh into specific testsNoah Sanci2021-09-031-0/+96
tests/run-debuginfod-find.sh was a massive test script with many broadly varying tests. This caused the test script to fail when any number of things went wrong and because of its intertwined nature, detecting the source of a failure could be difficult. The size of the test script also meant many unrelated tests were run making the testing process unnecessarily lengthy. This patch fractures tests/run-debuginfod-find.sh into smaller, more manageable individual test script files. This ensures that when failure occurs, a programmer can easily determine where their patch went wrong. It also allows programmers to specify exactly which tests to run, making testing more efficient. Redundancies are also reduced by placing code in tests/debuginfod-subr.sh. Signed-off-by: Noah Sanci <[email protected]>