From: Filip Bozuta <fbozuta1@gmail.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 0/3] Add tests for a group of real time clock ioctls
Date: Thu, 23 Apr 2020 17:06:23 +0200 [thread overview]
Message-ID: <20200423150626.12672-1-fbozuta1@gmail.com> (raw)
This series covers tests for following RTC ioctls:
*RTC_RD_TIME *RTC_UIE_ON
*RTC_SET_TIME *RTC_UIE_OFF
*RTC_ALM_READ *RTC_PIE_ON
*RTC_ALM_SET *RTC_PIE_OFF
*RTC_AIE_ON *RTC_WIE_ON
*RTC_AIE_OFF *RTC_WIE_OFF
The functionalities of individual ioctls were described in this series
patch commit messages.
The testing method for these ioctls is described in the upper comment
sections of test programs.
v2:
* changed patches so that they are not sent as attachments but
as "inline" mails
* changed structure initialization style in first and second test
to designated initialization
* corrected the first and second test to avoid corruption of /dev/rtc
device driver file (RTC time and alarm are set back to current values
at the end of the test)
Filip Bozuta (3):
testcases/kernel/syscalls/ioctl: Add test for RTC ioctls used to read
and set RTC time
testcases/kernel/syscalls/ioctl: Add test for RTC ioctls used to read
and set RTC alarm time
testcases/kernel/syscalls/ioctl: Add test for RTC ioctls used to turn
on/off RTC interrupts
runtest/syscalls | 4 +
testcases/kernel/syscalls/ioctl/.gitignore | 3 +
testcases/kernel/syscalls/ioctl/ioctl_rtc01.c | 121 ++++++++++++++++++
testcases/kernel/syscalls/ioctl/ioctl_rtc02.c | 115 +++++++++++++++++
testcases/kernel/syscalls/ioctl/ioctl_rtc03.c | 86 +++++++++++++
5 files changed, 329 insertions(+)
create mode 100644 testcases/kernel/syscalls/ioctl/ioctl_rtc01.c
create mode 100644 testcases/kernel/syscalls/ioctl/ioctl_rtc02.c
create mode 100644 testcases/kernel/syscalls/ioctl/ioctl_rtc03.c
--
2.17.1
next reply other threads:[~2020-04-23 15:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 15:06 Filip Bozuta [this message]
2020-04-23 15:06 ` [LTP] [PATCH v2 1/3] testcases/kernel/syscalls/ioctl: Add test for RTC ioctls used to read and set RTC time Filip Bozuta
2020-04-30 15:13 ` Cyril Hrubis
2020-04-30 20:28 ` Filip Bozuta
2020-04-23 15:06 ` [LTP] [PATCH v2 2/3] testcases/kernel/syscalls/ioctl: Add test for RTC ioctls used to read and set RTC alarm time Filip Bozuta
2020-04-27 17:36 ` Petr Vorel
2020-04-23 15:06 ` [LTP] [PATCH v2 3/3] testcases/kernel/syscalls/ioctl: Add test for RTC ioctls used to turn on/off RTC interrupts Filip Bozuta
2020-04-30 15:18 ` Cyril Hrubis
2020-04-24 14:58 ` [LTP] [PATCH v2 0/3] Add tests for a group of real time clock ioctls Cyril Hrubis
2020-04-24 19:54 ` Filip Bozuta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200423150626.12672-1-fbozuta1@gmail.com \
--to=fbozuta1@gmail.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox