Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2362930ybm; Thu, 23 May 2019 15:54:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZbLUpUavFSiU14AMnw37rZ1ZrISpF9ccLmZJoTCd96PhYc1JIdQfEm/af4YXynBUzGNh7 X-Received: by 2002:a62:2ec4:: with SMTP id u187mr106958725pfu.84.1558652076928; Thu, 23 May 2019 15:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558652076; cv=none; d=google.com; s=arc-20160816; b=YlKifWyg2OhWIGy7lifoypgwW5X/bMpnwKfrQKuICyrGt+t+Azqk3iqhyIG0q4gjFt FvjQicMUmEWov627I6a2j5U8qaBBONbmrNkOgfPkmpF8B9XurqP2dYn91HGnlN14+9Nn Bf/xvyvk4rchQLGWAemrAG38RQ2ecuLO8GOEz20PDBbB8x/KOCR3Puhw/TLbB/R4aQ0j GzNpKBQcISABTJVIzVHqSDoqYw/bYLtF16UcFuIwqiP7GGz3Ii5LQ45amapGVrsNFIAs ttGidsOZccYzqMQ/6Ww+5fH0ceb/7h6XzrHd8a5mxpc88P0Pn87m71EceJdpQBKBLsqm ru8A== 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=I5mFu3/vOIBNmac58sgrgShbRh018dJMcD/EJeCLDZQ=; b=jDeO74WBnsZLUkOTXs+Vzxy0DtX6c/n2cOm7qxZi6y2agQD0QLyGfkXdItdzZIbDvv D/q1mVTsbTCn1Fw1rAA29/nXoPQJtvexNifS3Yb3U3b5kUSYMo7i/Wt+MMVMCEdB5Sk0 E1ZUcdPJX0E+UoLQ4p0QoqdI5YlT12YTlXW3cW/Ji4oxJnnFVtjHqSSsy/UBaIcFjkJS q3NDhAIahRcVNcatAgi4sGaCZtZKomRGVFpVQQQZHdkSC3Hqcp9wuBd66W/7zuEF1t09 cYixZzTHzXMKhIDOC4XGQcLbtHkcs+edk7gSxYl+10fKYopO1knMNvGwjeZ09MwMi2eK uFDQ== 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 e5si1358922pgs.463.2019.05.23.15.54.19; Thu, 23 May 2019 15:54:36 -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 S2388497AbfEWWw2 (ORCPT + 99 others); Thu, 23 May 2019 18:52:28 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45991 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387693AbfEWWw2 (ORCPT ); Thu, 23 May 2019 18:52:28 -0400 X-Originating-IP: 90.66.53.80 Received: from localhost (lfbn-1-3034-80.w90-66.abo.wanadoo.fr [90.66.53.80]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 0173CC0002; Thu, 23 May 2019 22:52:19 +0000 (UTC) Date: Fri, 24 May 2019 00:52:19 +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: <20190523225219.GZ3274@piout.net> References: <20190523174739.GY3274@piout.net> 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 24/05/2019 02:36:42+0530, Jeffrin Thalakkottoor wrote: > On Thu, May 23, 2019 at 11:17 PM Alexandre Belloni > wrote: > > Your user probably doesn't have access to the rtc device file. > anyway thanks related > Following is the result with sudo.... > ------------------------x--------------------------------------x---------------------------- > $sudo ./rtctest > [sudo] password for jeffrin: > [==========] Running 7 tests from 2 test cases. > [ RUN ] rtc.date_read > rtctest.c:49:rtc.date_read:Current RTC date/time is 23/05/2019 20:49:49. > [ OK ] rtc.date_read > [ RUN ] rtc.uie_read > [ OK ] rtc.uie_read > [ RUN ] rtc.uie_select > [ OK ] rtc.uie_select > [ RUN ] rtc.alarm_alm_set > rtctest.c:137:rtc.alarm_alm_set:Alarm time now set to 20:49:58. > rtctest.c:156:rtc.alarm_alm_set:data: 1a0 > [ OK ] rtc.alarm_alm_set > [ RUN ] rtc.alarm_wkalm_set > rtctest.c:195:rtc.alarm_wkalm_set:Alarm time now set to 23/05/2019 20:50:01. > [ OK ] rtc.alarm_wkalm_set > [ RUN ] rtc.alarm_alm_set_minute > rtctest.c:239:rtc.alarm_alm_set_minute:Alarm time now set to 20:51:00. > Alarm clock > $rtctest.c:258:rtc.alarm_alm_set_minute:data: 1a0 > I just sent a fix for that timeout issue. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com