summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2021-05-22 20:00:24 +0300
committerRan Benita <ran@unusedvar.com>2021-05-22 20:00:24 +0300
commit5b1b2f754650cd2e6f87b928b92a7ca9442955b0 (patch)
tree1effa38900340456bf5978210b1a3c24406fd590
parente2465c2a69a01a521d483dc76c058b4f26d303f4 (diff)
downloadlibxkbcommon-5b1b2f754650cd2e6f87b928b92a7ca9442955b0.tar.gz
libxkbcommon-5b1b2f754650cd2e6f87b928b92a7ca9442955b0.tar.bz2
libxkbcommon-5b1b2f754650cd2e6f87b928b92a7ca9442955b0.zip
test/compose: clean up after a setenv
Signed-off-by: Ran Benita <ran@unusedvar.com>
-rw-r--r--test/compose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/compose.c b/test/compose.c
index b0069df..a64b8cf 100644
--- a/test/compose.c
+++ b/test/compose.c
@@ -418,6 +418,8 @@ test_XCOMPOSEFILE(struct xkb_context *ctx)
XKB_COMPOSE_COMPILE_NO_FLAGS);
assert(table);
+ unsetenv("XCOMPOSEFILE");
+
assert(test_compose_seq(table,
XKB_KEY_dead_tilde, XKB_COMPOSE_FEED_ACCEPTED, XKB_COMPOSE_COMPOSING, "", XKB_KEY_NoSymbol,
XKB_KEY_space, XKB_COMPOSE_FEED_ACCEPTED, XKB_COMPOSE_COMPOSED, "~", XKB_KEY_asciitilde,