Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2187499ybm; Thu, 23 May 2019 12:48:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrWSJHB1qQtq2W/pGADreCdqJoqAy5e2kmXzgHXlJauoQQqcmytB8rT+GdFDmNx/oLrGP/ X-Received: by 2002:a17:902:8c8f:: with SMTP id t15mr44919702plo.87.1558640910601; Thu, 23 May 2019 12:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558640910; cv=none; d=google.com; s=arc-20160816; b=LLOBEM0RLZ6x4ZPbVDgOndP5RlFGVbkqQSFZTHdUN/YKgvW3vpvCWRjngBMfwdmNi0 q00vSF/1Zar4N1dbH2QXlW6EGXAfMMefz+FVif20nzf4GHySOmNQcHmh3faQwwbjhPLT rRnF/2i0mgkmupnI2YtGsBytpudjT5HdyOpdJgZPpymme0OX3153iOWSIa4fCD9zw6PZ kpNJoV5cWtFi7wE4lQs77JGw4sfkhIRV9gNA7Qtloc9RAAQxeoqTMJjdKtimysq3jKAV 5R9RB3S6nLJgAMnklJkpMZBepIjedOBVnHrfQk0FQYeA/Zh7kNFjtJ1wWh+8Uu/noveG ueGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MkJCH4dnrPXngYU1bkAJfNsgUGMy8eA/SV7XfPh09V8=; b=EtT1Jb69BObDlKuakzF2iQadAOGzbA6icV33vum0NyopJNwPx/NqsN9rdnRsSpAUt8 x+tCn7sSCClfk5BPDrn/wzfXSu7imSdTKC4gONGbhb+uD6tpU83pDhoqG3/tQqUeisx3 4a7PJp24nC+exarwcEzjUc40LwHxYAhaza/TlQLik82oBdwJLq4j42XNhJHWfxJqnUPO 4ZBbFUI1YUKFwN4UojTABwdkQFRP1qYFlF5qzWYjtmTomg1egKNDO1+k4LhMEw1ao2FG Mhq/Av7byN/SrMkg+3e7DJYGjvqckYQl4nABuGzx0ly/u+/34I7k+dM0bwaoPF2VPE/8 SL0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 189si289760pff.281.2019.05.23.12.48.15; Thu, 23 May 2019 12:48:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388967AbfEWTpy (ORCPT + 99 others); Thu, 23 May 2019 15:45:54 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:58742 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388877AbfEWTPE (ORCPT ); Thu, 23 May 2019 15:15:04 -0400 Received: from relay10.mail.gandi.net (unknown [217.70.178.230]) by mslow2.mail.gandi.net (Postfix) with ESMTP id A2A5E3A96BB; Thu, 23 May 2019 17:47:55 +0000 (UTC) Received: from localhost (lfbn-1-3034-80.w90-66.abo.wanadoo.fr [90.66.53.80]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 402AC240003; Thu, 23 May 2019 17:47:45 +0000 (UTC) Date: Thu, 23 May 2019 19:47:39 +0200 From: Alexandre Belloni To: Jeffrin Thalakkottoor Cc: a.zummo@towertech.it, Shuah Khan , linux-rtc@vger.kernel.org, linux-kselftest@vger.kernel.org, lkml Subject: Re: about selftests/rtc test related stuff Message-ID: <20190523174739.GY3274@piout.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/05/2019 22:29:36+0530, Jeffrin Thalakkottoor wrote: > I get the following result when i run "rtctest" > please see the following.... > -----------------x------------------------x----------------- > $pwd > /home/jeffrin/upstream/linux-kselftest/tools/testing/selftests/rtc > $./rtctest > [==========] Running 7 tests from 2 test cases. > [ RUN ] rtc.date_read > rtctest.c:32:rtc.date_read:Expected -1 (18446744073709551615) != > self->fd (18446744073709551615) > rtc.date_read: Test terminated by assertion Your user probably doesn't have access to the rtc device file. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com