]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
run-debuginfod-find.sh: Disable valgrind for debuginfod client cache tests
authorMark Wielaard <mark@klomp.org>
Fri, 2 Jul 2021 18:26:52 +0000 (20:26 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 2 Jul 2021 18:26:52 +0000 (20:26 +0200)
valgrind itself might use the debuginfod client. So disable valgrind
when testing the cache.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/run-debuginfod-find.sh

index d8fa97fa892c5e3ea9a2064eaef626e661bec57e..b65cbeb7d012cf803c8816c1f99d668bb4a69ddf 100644 (file)
@@ -1,3 +1,8 @@
+2021-07-02  Mark Wielaard  <mark@klomp.org>
+
+       * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod
+       client cache.
+
 2021-06-16  Frank Ch. Eigler <fche@redhat.com>
 
        * run-debuginfod-find.sh: Fix intermittent groom/stale failure,
index 456dc2f812e2f94181d96468e2f2464819e2692f..74a5ceff0a21e96d48ddebf32593519ec542b37f 100755 (executable)
@@ -583,6 +583,11 @@ curl -s http://127.0.0.1:$PORT2/buildid/deadbeef/debuginfo > /dev/null || true
 curl -s http://127.0.0.1:$PORT2/buildid/deadbeef/badtype > /dev/null || true
 (curl -s http://127.0.0.1:$PORT2/metrics | grep 'badtype') && false
 
+# DISABLE VALGRIND checking because valgrind might use debuginfod client
+# requests itself, causing confusion about who put what in the cache.
+# It stays disabled till the end of this test.
+unset VALGRIND_CMD
+
 # Confirm that reused curl connections survive 404 errors.
 # The rm's force an uncached fetch
 rm -f $DEBUGINFOD_CACHE_PATH/$BUILDID/debuginfo .client_cache*/$BUILDID/debuginfo