From patchwork Thu Aug 29 11:41:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Gao X-Patchwork-Id: 1978392 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=lists.linux.it header.i=@lists.linux.it header.a=rsa-sha256 header.s=picard header.b=VwdKlofJ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256 header.s=google header.b=gvaOyYz1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=patchwork.ozlabs.org) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WvfWS3hjkz1yfn for ; Thu, 29 Aug 2024 21:41:39 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it; i=@lists.linux.it; q=dns/txt; s=picard; t=1724931696; h=to : date : message-id : mime-version : subject : list-id : list-unsubscribe : list-archive : list-post : list-help : list-subscribe : from : reply-to : content-type : content-transfer-encoding : sender : from; bh=dig2Zl53amCIY0FvcMPA5DZAwizVqbDoT69wYiqnIig=; b=VwdKlofJxqkxxo9olmog22Ura45UvwTIvTr2W1oNPshFOr1OI8RG5N4b8XCt/W0fcODzk xptnzUPGw7HGuCqfxPDSjlQkflfWoEiMZ4yanLCsetTFKrqqP6H+UktlORsqJzS0RAqJzMq qcCoZ6vk/Iv6iQlXoylBAs4sGNMR/ks= Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 7C4A83D2784 for ; Thu, 29 Aug 2024 13:41:36 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id DFB9E3CE3C5 for ; Thu, 29 Aug 2024 13:41:32 +0200 (CEST) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 8DB3E1A00E10 for ; Thu, 29 Aug 2024 13:41:31 +0200 (CEST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a86859e2fc0so54420666b.3 for ; Thu, 29 Aug 2024 04:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1724931691; x=1725536491; darn=lists.linux.it; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jcoiD9z+0VJwxJv48jFEDhafIDjag7FTskYEXv1eUjk=; b=gvaOyYz1/qGMi8MY9Lxlcku2O7a1FCpuobxdiQzTZn+5573cZZBjS1sDI4D2kgE8TS qFBDpua/dYPiO6Zfkz8mYrRvQeFJ3ibA96x9pOJDjMr2dGBabLmvAfEdpO+uQvB2skpy cz9wwutbjW2Z3fP7Gb6JUdjx57Bcaa9Zt7ggezChx0CGAe5a4HWbSg63S4OylmVY2GGf 57L32VlWGMrlovd0MdgryfXyKtKHtpoRDPEmq5E2sS4B/aPAGNC9C17bPfaZ4gGkU4II mMVigq3d81bxUSvbRnzNpl9xyOJpbwRQ9e0zMe3nvXTlZzsC3LRMxWdWqITHgjTSJrFc PmZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724931691; x=1725536491; 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=jcoiD9z+0VJwxJv48jFEDhafIDjag7FTskYEXv1eUjk=; b=dzIJ8zCRclY7sXk4S1doJTMXAOy3AevoIkuWZES1EeVNcDswEQvknGmINuG2PGMJFm l+XVEuV1UoC3WO3MI6CAf3b8hvyUtfyc+k94rsB3uUnselK5B5BPcBYl5UvcFXWkVlq3 GsLNOKYGBCTmUeiSoykn1jqg5M1whyeXpiKgGuyhDe6K6cMKpNqnwa7v5/CnEXGtxC/f X++ywnzVT+rKywE2dzYC+8QOBHmokpGlvUrQJcsFdS/r+Ap0LptgzfQwsZLnhtKQicIn nQzWp6Vjo28/4z/Velkz7oqSOGxRnq4acyd7LyjqhZnlOhY0HuClW5TmeYGpvL9/t1RA 2Zhg== X-Gm-Message-State: AOJu0YzTtLJ1JZWTx8jQ8HpdSYQ7+7W/Gz5x9IIPvGidW2s4rYi21pc9 iVWIZjgOrZl6E4pJxhcX/36QKovwmqTCY0QbfBFQQf4d24QBYW45jINRQbQQm7dILW/FuN3geI1 BEA== X-Google-Smtp-Source: AGHT+IEfw4qb2xRSK/6ss/5IhW0Bh/2RH+2oMgu6clnRa731rJczfpJ0KO506cjw1731+0eDxDaiCQ== X-Received: by 2002:a17:907:eaa:b0:a86:8368:860a with SMTP id a640c23a62f3a-a897f94da74mr170291466b.35.1724931690549; Thu, 29 Aug 2024 04:41:30 -0700 (PDT) Received: from localhost ([202.127.77.110]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c226ccfe84sm609929a12.71.2024.08.29.04.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 04:41:30 -0700 (PDT) To: ltp@lists.linux.it Date: Thu, 29 Aug 2024 07:41:24 -0400 Message-Id: <20240829114124.30299-1-wegao@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on in-3.smtp.seeweb.it X-Virus-Scanned: clamav-milter 1.0.3 at in-3.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v1] hugemmap11.c: Change NORMAL_PATH to current working directory X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Wei Gao via ltp From: Wei Gao Reply-To: Wei Gao Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Following error will happen on sle-micro system since "/" is read only tst_test.c:1062: TBROK: open(/ltp_hug9Iy6OR,16578,10247520240) failed: EROFS (30) Signed-off-by: Wei Gao Reviewed-by: Petr Vorel Reviewed-by: Li Wang --- testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c index 496a814b5..67fca2ddf 100644 --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c @@ -23,7 +23,7 @@ #define P0 "ffffffff" #define IOSZ 4096 -#define NORMAL_PATH "" +#define NORMAL_PATH "./" #define MNTPOINT "hugetlbfs/" static long hpage_size;