test cases for rtc and reset command

This commit is contained in:
Arne Zachlod 2025-02-20 18:04:58 +01:00
parent 2a20349bd2
commit 658e8f3e6a
2 changed files with 14 additions and 0 deletions

5
cmd_reset.sh Normal file
View file

@ -0,0 +1,5 @@
#! /bin/sh
echo '__sdlogger__ {"cmd": "reset"}' > /dev/kmsg

9
cmd_rtc.sh Normal file
View file

@ -0,0 +1,9 @@
#! /bin/sh
# year = 2025
# month = 02
# day = 18
# hour = 14
# min = 59
# sec = 6
echo '__sdlogger__ {"cmd": "RTC", "epoch": 1739890746}' > /dev/kmsg