Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2268488ybm; Thu, 23 May 2019 14:10:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjShzstjF6qMLHh9ev4gj27H60q0JPBJ7s7+uHGM8A9V21telrzyXUhSV1gChY218XyHUR X-Received: by 2002:a62:e201:: with SMTP id a1mr106483186pfi.67.1558645808873; Thu, 23 May 2019 14:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558645808; cv=none; d=google.com; s=arc-20160816; b=NA/lUm83Bf9sdFcOZjlm+lr9j6tLnTBNu9bjZW7w+WKnCmlc66f87yKIGWcWf3Vu/i Mju75UkUWw5tQL3t+xRt8T4jksKT9kFYWYbFWSktMYQBU2Da9Vf32ynZuJx60gJ9Pw8j h7Gj//JR/7NL4Zz4LXYTPJunlZ9/6j900PWF8Q38gky09lbVcVZtlfRIsFIJ2U9A124K FcUDBPf9L+ysaw9YWE0Vgu0UMY+D/XSRVJ3QPJYg0aJ1jQgxec/O9+WFbjlCfY0R7ppv Epfev3C90/MYvFXJohptOveFY5FhWUxcdumTjvAW5ul4EoZ8VR4xcCUiiuraPqt7AwgU AP0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZTioGuKOgNO6SwugnrEDEktz7xGxS3YWSFmCmowDiZ8=; b=K0hsjWr7ddgKZf3BOf+MNf37FP8FVCGDif5ZUu4s5Pbjg5RCo4xu/0uS6s3wC1XaPe Yif7VsZEXrM99LRnT9/9qtEyi7hNGDUavf3FJYWPC4FDQvCVuC2fTVDajZ4zJybqFL8E 9bXqWQXIbuenyWLCKJz4798FNL4LeMiyTariAtFhuSm5xCNq8flPvN6DB7GxW3F9WK8a ydiElXA2wRgRv9W5cd40To/nUjltBgb/HBFw/etpadRFxGS9EqTC4YGYMx3FRc0iEImU B6fqiUf0L8Fz6t40V68WZ8GE8cngYR1wT83GJpLzbJFKQ+3E57dHyrsQeCRaItP/NRMi 0sPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=IxyjS7QI; 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 p7si895649pfb.213.2019.05.23.14.09.52; Thu, 23 May 2019 14:10:08 -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; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=IxyjS7QI; 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 S1731688AbfEWVHV (ORCPT + 99 others); Thu, 23 May 2019 17:07:21 -0400 Received: from mail-pf1-f177.google.com ([209.85.210.177]:36376 "EHLO mail-pf1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731666AbfEWVHU (ORCPT ); Thu, 23 May 2019 17:07:20 -0400 Received: by mail-pf1-f177.google.com with SMTP id v80so3934316pfa.3 for ; Thu, 23 May 2019 14:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rajagiritech-edu-in.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZTioGuKOgNO6SwugnrEDEktz7xGxS3YWSFmCmowDiZ8=; b=IxyjS7QI/iWlVolD7qMxHAsrVnEz6vYW71ld0uA+5lDEvFXgNW5y/+Hovb10dtf0fk Pg6Q1W5Z978oA4Q50rBxaWG9aZoy1bha2AtsABYeJSCXvM8bvkBZe/H7yebqDH4tZPmb e3KCf7zt3QR2PwmHVAlWsefxzk/UkrygDd1Uaw5e8miN15gBHL6N1BLt2cSjBeE8pV9v 0yEEQxhqQpHE+4rX9vVQHwlzDvEily5DxK5axwiUyupU/tLG3xoW/cechfBnsByTQiuO mLRIdBQbbuT12JKswtN7ln/DniAJ2Wb+AFrXu6zhCVMik0qJAZtehXqlyAZ0Ssage/4R /RDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZTioGuKOgNO6SwugnrEDEktz7xGxS3YWSFmCmowDiZ8=; b=B/otwtLq8ko0+MPBl1rRP1eRBojvHYq17391Lt4tqymvwn8SahxokJjKUae1WAPOAS IMwXi/M2ZKZkLtbfrvG1YiLM7ENuQ1NCBMryIzBYg70rwCc/Gs5MuphhbgII9zcdeeiR 4IMYCcWJALtpZmz1ZyzksZjWjbm8yMJSWQB4EFxiaBzBWpQnAUoZVXswmgzOKjzfunpQ YqnXPq3qHuhsz0GHJgMWNJpTgoKHD97YJQq0DuR/ZoBq6vFMY2qmMeMLVdR48NMee2hc ReaZ5eAQeBNFWa5oJiO9fvmIMOcl3qtsQm8bTGejEYLZW9A69d4UW1cJPVwWHV5qTYyt ZHYw== X-Gm-Message-State: APjAAAXbLU5MvwFKRB+GNXmfkbHS5tCNo6T7qL9fOfyAtTCBj+Q3rILR Y37xi+DTrkPDotk4vylwvSBDlzAuH5cdYZT8e7kmDg== X-Received: by 2002:a63:550c:: with SMTP id j12mr5619579pgb.450.1558645640095; Thu, 23 May 2019 14:07:20 -0700 (PDT) MIME-Version: 1.0 References: <20190523174739.GY3274@piout.net> In-Reply-To: <20190523174739.GY3274@piout.net> From: Jeffrin Thalakkottoor Date: Fri, 24 May 2019 02:36:42 +0530 Message-ID: Subject: Re: about selftests/rtc test related stuff To: Alexandre Belloni Cc: a.zummo@towertech.it, Shuah Khan , linux-rtc@vger.kernel.org, linux-kselftest@vger.kernel.org, lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 $ ------------------------x--------------------------------------x---------------------------- -- software engineer rajagiri school of engineering and technology