aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-18 13:30:38 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-11-25 11:04:25 +0100
commit4c06fbf0a8037af048264716126fd57ff83cd588 (patch)
treeafdf21fe83c4e9fbe32f3c79c417f0423bfbe46d /tests
parente86c0679ebec208a198e476dfd606276964b3174 (diff)
downloadkernel_replicant_linux-4c06fbf0a8037af048264716126fd57ff83cd588.tar.gz
kernel_replicant_linux-4c06fbf0a8037af048264716126fd57ff83cd588.tar.bz2
kernel_replicant_linux-4c06fbf0a8037af048264716126fd57ff83cd588.zip
Add build, install and test scripts
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/charger.sh2
-rwxr-xr-xtests/touchkeys.sh5
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/charger.sh b/tests/charger.sh
new file mode 100755
index 000000000000..8b9a04ea0dbc
--- /dev/null
+++ b/tests/charger.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+watch -n1 "cat /sys/class/power_supply/max77693-charger/uevent" > /dev/tty0
diff --git a/tests/touchkeys.sh b/tests/touchkeys.sh
new file mode 100755
index 000000000000..4586a8d9d352
--- /dev/null
+++ b/tests/touchkeys.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cat /sys/class/leds/tm2-touchkey/max_brightness > \
+ /sys/class/leds/tm2-touchkey/brightness
+evtest /dev/input/event0