From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 057F43858405 for ; Mon, 20 Dec 2021 11:31:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 057F43858405 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-271-R8tdBT8iMwGrX20zzdhW-w-1; Mon, 20 Dec 2021 06:31:17 -0500 X-MC-Unique: R8tdBT8iMwGrX20zzdhW-w-1 Received: by mail-io1-f69.google.com with SMTP id 7-20020a6b0107000000b005ed196a2546so6910475iob.11 for ; Mon, 20 Dec 2021 03:31:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WKDMy+Y0Y7NowWJW57Eba853S7EKhdIJ121nzolxn1I=; b=ekQwU2m0LEK1VNkGpbK2UHc+uEvZYYXdiGFz2Zac6KDT4FFCJNBKF2YctVc4Y+B+T3 vbNYKMsbr5QPwKHOTmrYnLxtI899S+P9hVk7TJWfrCaj6Lbp3phv7sW2oHjGagp/YHtG R5e83VkIbCpciqyB1WAlQWx7zgLeMHm9TeaVyarPvSm1msVrP4Q7eLO1dlWRnpe3+Lil DsrYIiW7rKxteocPxHm7PFVWGbekv93pLLHngfXXjXOAXDZkxbVjyW4jTQQ61yM8One3 Wz0Pc73oaau7mbTkCzPgZ3sMc6hmAUQTJ2UNKA3wkU4qE4hqSRSiJx3pOxpynAghLa4J v+oA== X-Gm-Message-State: AOAM532PuGqFOUGadqxIDo980In10j5unsVVBFENj2BQ6er7FoouQgJV wV/7RDahqdJ5LiZmE1VgRtks/YtJAr8dErPLlJLaUSC9O235iynCarb6wT6EAsjcc4NX9PvYNXa m808szcaARuByahfLusTSlldUfV1ovVO1cDPW X-Received: by 2002:a05:6638:348f:: with SMTP id t15mr9884797jal.272.1639999876490; Mon, 20 Dec 2021 03:31:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEofPdYXVojShjmt7PGhK1hc/2JOJ0yhP02y++uGjwcWvQnGgrMAEhJxgjb+rGU8L+oFZN2GvBT0H12XgfVbs= X-Received: by 2002:a05:6638:348f:: with SMTP id t15mr9884790jal.272.1639999876342; Mon, 20 Dec 2021 03:31:16 -0800 (PST) MIME-Version: 1.0 References: <20211217182633.1653228-1-ahajkova@redhat.com> In-Reply-To: From: Alexandra Petlanova Hajkova Date: Mon, 20 Dec 2021 12:31:05 +0100 Message-ID: Subject: Re: [PATCH] Add valgrind smoke test To: DJ Delorie Cc: =?UTF-8?Q?Alexandra_H=C3=A1jkov=C3=A1?= , libc-alpha@sourceware.org, Mark Wielaard X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2021 11:31:21 -0000 > > +# Test valgrind works with the system ld.so in the test environment > > +/bin/sh -c \ > > + "${test_wrapper_env} ${run_program_env} \ > > + valgrind -q --error-exitcode=1 \ > > + ${system_rtld} ${test_prog} ${system_rtld}" || exit 77 > > runs on target, native valgrind with in-build test with native rtld... > > Note that the test_prog built against the new glibc probably won't run > against the old installed glibc, esp if there's a version bump. You > might need to use something other than the test_prog, like /bin/echo, > for this test. > > Running the build/test on an older Fedora version should have picked > this up. > I tried on Fedora 32 and the test ended here with UNSUPPORTED indeed, we initially tested it on Fedora Rawhide. Using /bin/echo for the next version.