diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-06-18 13:30:38 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-11-25 11:04:25 +0100 |
| commit | 4c06fbf0a8037af048264716126fd57ff83cd588 (patch) | |
| tree | afdf21fe83c4e9fbe32f3c79c417f0423bfbe46d /tests | |
| parent | e86c0679ebec208a198e476dfd606276964b3174 (diff) | |
| download | kernel_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-x | tests/charger.sh | 2 | ||||
| -rwxr-xr-x | tests/touchkeys.sh | 5 |
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 |
