summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-11-12 14:18:31 +0100
committerLennart Poettering <lennart@poettering.net>2024-11-12 23:09:21 +0100
commitc892816ceb19378f5079eee37d89f18e5c202447 (patch)
tree9ddada5d3f3ae2a8dfc374f10c3939a1236327f6 /src/test
parentdbus-manager: add missing word 'unit' to PK message (diff)
downloadsystemd-c892816ceb19378f5079eee37d89f18e5c202447.tar.xz
systemd-c892816ceb19378f5079eee37d89f18e5c202447.zip
run0: when changing privileges to non-root, do not show superhero emoji
Let's show an idcard logo instead, to indicate that we changed ids.
Diffstat (limited to 'src/test')
-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 7afa446bfb..f9b2712444 100644
--- a/src/test/test-locale-util.c
+++ b/src/test/test-locale-util.c
@@ -82,7 +82,7 @@ TEST(keymaps) {
#define dump_glyph(x) log_info(STRINGIFY(x) ": %s", special_glyph(x))
TEST(dump_special_glyphs) {
- assert_cc(SPECIAL_GLYPH_SUPERHERO + 1 == _SPECIAL_GLYPH_MAX);
+ assert_cc(SPECIAL_GLYPH_IDCARD + 1 == _SPECIAL_GLYPH_MAX);
log_info("is_locale_utf8: %s", yes_no(is_locale_utf8()));
@@ -134,6 +134,7 @@ TEST(dump_special_glyphs) {
dump_glyph(SPECIAL_GLYPH_BLUE_CIRCLE);
dump_glyph(SPECIAL_GLYPH_GREEN_CIRCLE);
dump_glyph(SPECIAL_GLYPH_SUPERHERO);
+ dump_glyph(SPECIAL_GLYPH_IDCARD);
}
DEFINE_TEST_MAIN(LOG_INFO);