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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D312CFC264 for ; Tue, 15 Oct 2024 04:31:12 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4XSLl25MF8z3cKT for ; Tue, 15 Oct 2024 15:31:10 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=115.124.30.101 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1728966668; cv=none; b=IiFZtMud23/Gwih15ZaUUYiw3Jbtj7S4lzopZzBr2CB2F3zlTNOvgBtPtbbP4SO15cG1TbVtx4vpnB+9QJTtGN+kxx1XKEomEdxpf3B4B5aGhK5MgdcMduO4Yzye0AxsuJFrwA8UZPySrUfOKZw7UHZ/vjYuyQSNT0SuY33LutxRJwM/B+h4V8xDkgxydZJ1+xOUgmGO6McdUUOpa+8RiOuVGzcuOi3pli/719ZFtwXkBtewtRnye3vh9b6DEE0XCCIZBmpiAHvbO0hxsPoSiI8r+NwglMN1jvhiu7ReCkW3Bmrh/28FNZvB4RVq796+LYsECjRFeETYpEXvhilWeA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1728966668; c=relaxed/relaxed; bh=6YQRKe9Sij8fqzL3W2juIFPDKDXqzR4cJmD647qt1Es=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=VkU2fU0XD433CRB5KKmS0iJBWk6QZIDEXI/4F4gwsNBoM1MNlwBSpFAMaWwnslauUaApOBJc7ZYlrqF4DydRyGCCD+1fByTxxCK9NGzJIaRFoCTUSGHKqP/e+8LQh/IoqL1YFNHYswZqqmaSjrKdOdqAUszYSXMjhyvdtsluFLf0GQsWJoM7vLYgVVx4+kQRA7GorNJ1Q2tNDnaGiHmd+tZXKOsvulD8uEkVJ6YpCXw4SqnRjzLTzJDjG17+IC6C0iGrKrcJoI2pVTLjwvnVZZwWOyk35rgS+FZWvRCp0xaSf5HVYePGD8X7Vi+CDRsUi59lWG0hq1qW9NwC7DjibQ== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=wErw9Hav; dkim-atps=neutral; spf=pass (client-ip=115.124.30.101; helo=out30-101.freemail.mail.aliyun.com; envelope-from=hongzhen@linux.alibaba.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=wErw9Hav; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.101; helo=out30-101.freemail.mail.aliyun.com; envelope-from=hongzhen@linux.alibaba.com; receiver=lists.ozlabs.org) Received: from out30-101.freemail.mail.aliyun.com (out30-101.freemail.mail.aliyun.com [115.124.30.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4XSLkr44Qjz3cF4 for ; Tue, 15 Oct 2024 15:30:57 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1728966653; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=6YQRKe9Sij8fqzL3W2juIFPDKDXqzR4cJmD647qt1Es=; b=wErw9HavjgqZUxJGYm2ZvwlN9hwlnAQ3wAcOOm9E2TFmZEJHNHIPQU6tN+LU0Sts8IV9Naa9J2ViaggwK068ifyKVcTUxqdrqsuYjVOXIy5JiRuwlWUmBRELonicaj3M6TZL6TlZuOaBxz5Y6dx8B0C6WK+WZ2L1WrDf7pxztYE= Received: from 30.221.131.163(mailfrom:hongzhen@linux.alibaba.com fp:SMTPD_---0WHC21-1_1728966652 cluster:ay36) by smtp.aliyun-inc.com; Tue, 15 Oct 2024 12:30:52 +0800 Message-ID: Date: Tue, 15 Oct 2024 12:30:50 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] erofs-utils: tests: add test for file-backed mount To: Gao Xiang , linux-erofs@lists.ozlabs.org References: <20241014150359.2185347-1-hongzhen@linux.alibaba.com> From: Hongzhen Luo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On 2024/10/15 11:48, Gao Xiang wrote: > > > On 2024/10/14 23:03, Hongzhen Luo wrote: >> Test for the file-backed mount feature. >> >> Signed-off-by: Hongzhen Luo > > I think we need to run all previous tests for file-backed mounts, > and it's my previous mount helper for testing. > > #include > > int main(int argc, char *argv[]) > { >         return mount(argv[1], argv[2], "erofs", MS_RDONLY, argc >= 3 ? > argv[3] : NULL); > > } > > Thanks, > Gao Xiang Sure. --- Thanks, Hongzhen