Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B31E5C433EF for ; Thu, 16 Sep 2021 13:42:41 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0C99E60F25 for ; Thu, 16 Sep 2021 13:42:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0C99E60F25 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux.it Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 210563C9177 for ; Thu, 16 Sep 2021 15:42:39 +0200 (CEST) Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 3D30C3C1D7D for ; Thu, 16 Sep 2021 15:42:29 +0200 (CEST) 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-2.smtp.seeweb.it (Postfix) with ESMTPS id 288CA600055 for ; Thu, 16 Sep 2021 15:42:28 +0200 (CEST) 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 5DD9D20230; Thu, 16 Sep 2021 13:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1631799748; h=from:from: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=D6my520NpEaGdCZ5PMhwFr01ESWy1JGsaKCLXnj4xeI=; b=Dj402p1U6zJDZ3ZAiYw5r7k6aJyD36emB1l4xSUqw+GI5rtuxlDfYeSGShZZetTbZ+BTA8 LE684rVkjNdugXQf7Fxo72cYHhhdnyRgUVsnldII9DIpGsDK77xhaInLTgYFAp2yVVFwdY 3CuiNjwkOykZXk8bkFMNEXJwLfoqLvg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1631799748; h=from:from: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=D6my520NpEaGdCZ5PMhwFr01ESWy1JGsaKCLXnj4xeI=; b=D3576CDr5D0mYh11WG7QF791TDI1HUmMlf1JFMalSAvGlFyaTyWJna9+DVBoR1q+BkBUhb XTCcpzzFLy0Ur+BA== 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 4C30013480; Thu, 16 Sep 2021 13:42:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BszuEcRJQ2EHbQAAMHmgww (envelope-from ); Thu, 16 Sep 2021 13:42:28 +0000 Date: Thu, 16 Sep 2021 15:42:51 +0200 From: Cyril Hrubis To: Martin Doucha Message-ID: References: <20210915134505.22771-1-mdoucha@suse.cz> <20210915134505.22771-4-mdoucha@suse.cz> <1973857f-53fd-6f16-1f7d-d65a371f9c60@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1973857f-53fd-6f16-1f7d-d65a371f9c60@suse.cz> X-Virus-Scanned: clamav-milter 0.102.4 at in-2.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH 4/4] syscalls/utime03: Convert to new API 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: , 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" Message-ID: <20210916134251.Ke7M2M-GaLYpjAot5l3K6VKROZf72vUFTS7vZGE8y8E@z> Hi! > >> + mintime = time(0); > >> + TST_EXP_PASS(utime(TEMP_FILE, NULL)); > >> + maxtime = time(0); > > > > I wonder if this suffers the problem as the ipc timestamps: > > > > https://github.com/linux-test-project/ltp/commit/d37bde3defa12556ba7399f4131996f8e490490a > > Possibly. Let's find out, we can always fix the test in the next release. I guess that it would also depend on a underlying filesystem and how timestamps are rounded in there, so I guess that we should turn on the .all_filesystems flag for the test as well. What do you think? -- Cyril Hrubis chrubis@suse.cz -- Mailing list info: https://lists.linux.it/listinfo/ltp