From patchwork Mon Feb 13 22:30:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 13139161 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 DA667C6379F for ; Mon, 13 Feb 2023 22:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229984AbjBMWaq (ORCPT ); Mon, 13 Feb 2023 17:30:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbjBMWap (ORCPT ); Mon, 13 Feb 2023 17:30:45 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8F81D919 for ; Mon, 13 Feb 2023 14:30:44 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id y2so5088192iot.4 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=T6xxz7knHZAQWTuc/QF+nlBQnRpMu7pYJd5+Ey5hB5W3n6GEte5cJiCGljYXx6+Rat ZLhThP5bhmPB7Veb0Trf1VBcAuCetdMir2BXUCBMJR/RQKlAu/8gDCvu1xmjXoW7FEf3 GF45KTvgX/ixN3RTA30OVO8aAaRaGf4DwwHWP9rNG91jswPrZ7i/OJb1Olw4Ve11qI3Q kXVAbTes0XFHZFFmf/LAGFs4biMQpLNqph4NOcytdQjTUOwJpgSqZs7Y0Fj7TAch7DMh aEjChxPa2w/PqTGtemsokEnwrhTYUzZywMAVlA89VFHDG96bPRYJ3JdDun0K7FoTnzpe KV5Q== X-Gm-Message-State: AO0yUKWpGcEdQnH3UcEEG5YWLJW6sZ6MdToaF4XGbtaVEvyTH6I9aPPu mvhdJeWhuZdbe2enYZbe2sEmdaFeL1Gs0fvA 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 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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