From mboxrd@z Thu Jan 1 00:00:00 1970 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 picard.linux.it (picard.linux.it [213.254.12.146]) (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 27E22C4332F for ; Wed, 8 Nov 2023 07:52:19 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id D18453CE80F for ; Wed, 8 Nov 2023 08:52:16 +0100 (CET) Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [IPv6:2001:4b78:1:20::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 2F2173C62E0 for ; Wed, 8 Nov 2023 08:52:06 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (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 in-4.smtp.seeweb.it (Postfix) with ESMTPS id 18F011006082 for ; Wed, 8 Nov 2023 08:52:05 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 5B7031F8AA; Wed, 8 Nov 2023 07:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1699429925; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RFQFS9FoJreTeVTJgb0BE3iAE3pELV2FP4Y+lDzryLI=; b=WSC177FSjv28+RRydYraVKiNBI8T/RsvWn7KD6pdJzII1lRF6XdOLa9+hIxkldDy/RPl/W 2Ad4lnSMtsvc/I/Raw4VBav4LHkYl+AK7/MqWyBN9OXlI7MAcJ41MVoIF0g9K5zqf1qbPN 8jF6Bxw1SffZoxJZ82yCcr2axtDz43w= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1699429925; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RFQFS9FoJreTeVTJgb0BE3iAE3pELV2FP4Y+lDzryLI=; b=8QWhQt6jhJooGkKR380X03PJ4eSZfGY03H7mTRwvLM6wTsU4NoW5AetC7m5kHH6H7Fc5TE yRc5aaP2EuIif9DA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3B8F0133F5; Wed, 8 Nov 2023 07:52:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id C0rPDCU+S2XMJAAAMHmgww (envelope-from ); Wed, 08 Nov 2023 07:52:05 +0000 Date: Wed, 8 Nov 2023 08:52:03 +0100 From: Petr Vorel To: Yang Xu Message-ID: <20231108075203.GB1383908@pevik> References: <20231107105836.68108-1-xuyang2018.jy@fujitsu.com> <20231107105836.68108-2-xuyang2018.jy@fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231107105836.68108-2-xuyang2018.jy@fujitsu.com> X-Virus-Scanned: clamav-milter 1.0.1 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v2 2/2] link08: Convert docs to docparse 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: , Reply-To: Petr Vorel Cc: ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi Xu, > update copyright, fix grammar ... > +++ b/testcases/kernel/syscalls/link/link08.c > @@ -1,23 +1,26 @@ > // SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (c) 2014 Fujitsu Ltd. > + * Copyright (c) Linux Test Project, 2014-2023 > * Author: Zeng Linggang > */ > -/* > - * Test Description: > - * Verify that, > - * 1. link() fails with -1 return value and sets errno to EPERM > - * if oldpath is a directory. > - * 2. link() fails with -1 return value and sets errno to EXDEV > - * if oldpath and newpath are not on the same mounted file system( Linux > - * permits a file system to be mounted at multiple points, but link() > - * does not work across different mount points, even if the same > - * file system is mounted on both. ). > - * 3. link() fails with -1 return value and sets errno to EROFS > - * if the file is on a read-only file system. > - * 4. link() fails with -1 return value and sets errno to ELOOP > - * if too many symbolic links were encountered in resolving path. > + > +/*\ > + * [Description] > + * > + * Verify that, nit: * Verify that: Thanks! Reviewed-by: Petr Vorel Kind regards, Petr -- Mailing list info: https://lists.linux.it/listinfo/ltp