aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-make/check_exec.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-06 20:40:34 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-06 20:40:34 +0100
commitab1120742467f887b33cd89addf3c89b5f9bf5b6 (patch)
treee32c536ee8c601363f06f234f519b0d35cd19873 /tests/blogc-make/check_exec.c
parent0737394fce1ccb4057c81e8bf43dcc1d422674e0 (diff)
downloadblogc-ab1120742467f887b33cd89addf3c89b5f9bf5b6.tar.gz
blogc-ab1120742467f887b33cd89addf3c89b5f9bf5b6.tar.bz2
blogc-ab1120742467f887b33cd89addf3c89b5f9bf5b6.zip
make: s/env/global/
Diffstat (limited to 'tests/blogc-make/check_exec.c')
-rw-r--r--tests/blogc-make/check_exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index 681e443..506c5f6 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -74,9 +74,9 @@ test_build_blogc_cmd_with_settings(void **state)
bm_settings_t *settings = bc_malloc(sizeof(bm_settings_t));
settings->settings = bc_trie_new(free);
bc_trie_insert(settings->settings, "locale", bc_strdup("en_US.utf8"));
- settings->env = bc_trie_new(free);
- bc_trie_insert(settings->env, "FOO", bc_strdup("BAR"));
- bc_trie_insert(settings->env, "BAR", bc_strdup("BAZ"));
+ settings->global = bc_trie_new(free);
+ bc_trie_insert(settings->global, "FOO", bc_strdup("BAR"));
+ bc_trie_insert(settings->global, "BAR", bc_strdup("BAZ"));
bc_trie_t *variables = bc_trie_new(free);
bc_trie_insert(variables, "LOL", bc_strdup("HEHE"));
@@ -101,7 +101,7 @@ test_build_blogc_cmd_with_settings(void **state)
bc_trie_free(variables);
bc_trie_free(settings->settings);
- bc_trie_free(settings->env);
+ bc_trie_free(settings->global);
free(settings);
}