summaryrefslogtreecommitdiff
path: root/src/test/test-locale-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-04-15 18:45:16 +0200
committerLennart Poettering <lennart@poettering.net>2020-07-01 11:17:27 +0200
commit428d32afeaf9bb09909794ea5f9c047c2fb56a8f (patch)
tree20c9869c4e2e05dfaa152dc31b14ff947a9cf688 /src/test/test-locale-util.c
parent830ffbce1bea0a270878db30ef331742e782d5ed (diff)
downloadsystemd-428d32afeaf9bb09909794ea5f9c047c2fb56a8f.tar.gz
locale-util: add support for touch emoji
We can use this to highlight when users are supposed to touch their security tokens.
Diffstat (limited to 'src/test/test-locale-util.c')
-rw-r--r--src/test/test-locale-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-locale-util.c b/src/test/test-locale-util.c
index 45b6782145..347982dd52 100644
--- a/src/test/test-locale-util.c
+++ b/src/test/test-locale-util.c
@@ -89,7 +89,7 @@ static void test_keymaps(void) {
#define dump_glyph(x) log_info(STRINGIFY(x) ": %s", special_glyph(x))
static void dump_special_glyphs(void) {
- assert_cc(SPECIAL_GLYPH_LOCK_AND_KEY + 1 == _SPECIAL_GLYPH_MAX);
+ assert_cc(SPECIAL_GLYPH_TOUCH + 1 == _SPECIAL_GLYPH_MAX);
log_info("/* %s */", __func__);
@@ -116,6 +116,7 @@ static void dump_special_glyphs(void) {
dump_glyph(SPECIAL_GLYPH_UNHAPPY_SMILEY);
dump_glyph(SPECIAL_GLYPH_DEPRESSED_SMILEY);
dump_glyph(SPECIAL_GLYPH_LOCK_AND_KEY);
+ dump_glyph(SPECIAL_GLYPH_TOUCH);
}
int main(int argc, char *argv[]) {