Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3950AC64EC7 for ; Mon, 13 Feb 2023 22:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230030AbjBMWar (ORCPT ); Mon, 13 Feb 2023 17:30:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbjBMWap (ORCPT ); Mon, 13 Feb 2023 17:30:45 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FCC41D93E for ; Mon, 13 Feb 2023 14:30:44 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id w24so5071975iow.13 for ; Mon, 13 Feb 2023 14:30:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1676327444; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wx7rLgjo31q4aRFngZaMZvvBuOkUVt0KZOQkB/G6VhE=; b=UGnugubJQHiQKh1fUKagWN0eCSxWHJnX1T8ppG3v25k5W1wMi/U77Ogm6zUSYdIMwE JVZNqI6rULxN82YJIiKRYDlwSvs6NkCloq5/pDRHZBeDIGy3zk5h8wSSFKE+tC/SccLk 0obqZDHv4o+sPYpR53NnvVTYPtVg27RrHas80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676327444; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wx7rLgjo31q4aRFngZaMZvvBuOkUVt0KZOQkB/G6VhE=; b=aSubIxZLlYzODW2mU4MxLmH+IjwKlusPsXYhzA9HIQ7SZsSCnG/LwEaN+JRbJKBZQT pvEdwffElLTJS/7DY7fcL+FpcJgXt7qr1kurerlZf65hf8UqLIdXGsBdpRrWqujGYgxD ymdr0AL+2NG07Bo4o0zvDQE98znSs6zwfZp7fRSl9nw5ADqmkfq5Kz8TnM2iURcsUpPj D8JUU6k3HHC5mb6h+QahqqOrNcpJXTWzMyI9NmZYudSypA1GbS6ODd9Vci8Bv8ZckS80 Zomd8ku/uBOeH68jxEcnQ1WS8u4H874dEJJcEniqpO6V7vGc47zaSl2ln4FIhXEUMbyX JBWQ== X-Gm-Message-State: AO0yUKUhGNdqdhHW2lCNufq0p/H1QbMJh7JZOhSa7J4WGlN2oUoAmQq+ EQBIJifXHvFfpt6S2HqtVFPZQA== X-Google-Smtp-Source: AK7set/qkONysWSWunirShm5nK5En++rvYEyBksmNjPhTvo9bFHNmDs1uU4A4iFH2F8UniVDWrIz3g== X-Received: by 2002:a6b:3bd8:0:b0:72c:f57a:a37b with SMTP id i207-20020a6b3bd8000000b0072cf57aa37bmr85672ioa.2.1676327443835; Mon, 13 Feb 2023 14:30:43 -0800 (PST) Received: from shuah-tx13.internal ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id n17-20020a056638121100b003a9515b47ebsm4341806jas.68.2023.02.13.14.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 14:30:43 -0800 (PST) From: Shuah Khan To: shuah@kernel.org, brauner@kernel.org, sforshee@kernel.org Cc: Shuah Khan , linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests/mount_setattr: fix to make run_tests failure Date: Mon, 13 Feb 2023 15:30:41 -0700 Message-Id: <20230213223041.242089-1-skhan@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org make run_tests doesn't run the test. Fix Makefile to set TEST_GEN_PROGS instead of TEST_GEN_FILES to fix the problem. run_tests runs TEST_GEN_PROGS, TEST_CUSTOM_PROGS, and TEST_PROGS. TEST_GEN_FILES is for files generated by tests. Signed-off-by: Shuah Khan --- tools/testing/selftests/mount_setattr/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mount_setattr/Makefile b/tools/testing/selftests/mount_setattr/Makefile index fde72df01b11..0c0d7b1234c1 100644 --- a/tools/testing/selftests/mount_setattr/Makefile +++ b/tools/testing/selftests/mount_setattr/Makefile @@ -2,6 +2,6 @@ # Makefile for mount selftests. CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 -pthread -TEST_GEN_FILES += mount_setattr_test +TEST_GEN_PROGS := mount_setattr_test include ../lib.mk -- 2.37.2