mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git
synced 2026-01-26 14:13:24 +00:00
A little test refactoring to add another kind of test - memory checking. Not added to an existing E2E_RUN() because valgrind would interfere with strace logging syscalls. Signed-off-by: Alexey Gladkov <legion@kernel.org>
10 lines
407 B
Plaintext
10 lines
407 B
Plaintext
AT_SETUP([dumpkeys (path/ruwin_cplk-UTF-8.map)])
|
|
AT_KEYWORDS([e2e dumpkeys memcheck])
|
|
AT_SKIP_IF([ test "$SANDBOX" != "priviliged" ])
|
|
export LANG=en_US.UTF-8
|
|
kbd_mode -u -f
|
|
"$abs_top_builddir/src/loadkeys" -c -s "$abs_srcdir/data/keymaps/VoidSymbol.map"
|
|
"$abs_top_builddir/src/loadkeys" "$abs_srcdir/data/keymaps/i386/qwerty/ruwin_cplk-UTF-8.map"
|
|
E2E_MEMCHECK(["$abs_top_builddir/src/dumpkeys"])
|
|
AT_CLEANUP
|