diff options
author | Andrey Pampukha <[email protected]> | 2010-03-18 18:02:37 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-09 16:19:14 +0200 |
commit | dd67e73980ac0c8b601079c2e3f27701c367936c (patch) | |
tree | fabd8e5c7a1495d5140f378934a07f774c837f53 /lib/common_test/test/ct_config_SUITE_data/config | |
parent | d7c10478a2287ce3f0c9ac077d835919e2745f91 (diff) | |
download | otp-dd67e73980ac0c8b601079c2e3f27701c367936c.tar.gz otp-dd67e73980ac0c8b601079c2e3f27701c367936c.tar.bz2 otp-dd67e73980ac0c8b601079c2e3f27701c367936c.zip |
Fix problem with disappearing variables and aliases
Diffstat (limited to 'lib/common_test/test/ct_config_SUITE_data/config')
-rw-r--r-- | lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl | 5 | ||||
-rw-r--r-- | lib/common_test/test/ct_config_SUITE_data/config/test/config_static_SUITE.erl | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl b/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl index 1013c46c7d..ae66d4e9bf 100644 --- a/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl +++ b/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl @@ -23,7 +23,7 @@ %%% Description: %%% Test suite for common_test which tests the userconfig functionality %%%------------------------------------------------------------------- --module(config_2_SUITE). +-module(config_dynamic_SUITE). -compile(export_all). @@ -150,7 +150,8 @@ test_disappearable_variable_alias(_)-> ct:require(diav, disappearable_variable), hereAmI = ct:get_config(disappearable_variable), hereAmI = ct:get_config(diav), - undefined = ct:reload_config(disappearable_variable), + ct:reload_config(disappearable_variable), + undefined = ct:get_config(disappearable_variable), % after reloading, it's even again Iter3=ct:get_config(config_server_iteration), Iter3 = Iter2+1, diff --git a/lib/common_test/test/ct_config_SUITE_data/config/test/config_static_SUITE.erl b/lib/common_test/test/ct_config_SUITE_data/config/test/config_static_SUITE.erl index e102c69d3d..d3f07980bc 100644 --- a/lib/common_test/test/ct_config_SUITE_data/config/test/config_static_SUITE.erl +++ b/lib/common_test/test/ct_config_SUITE_data/config/test/config_static_SUITE.erl @@ -24,7 +24,7 @@ %%% Test suite for common_test which tests the get_config and require %%% functionality %%%------------------------------------------------------------------- --module(config_1_SUITE). +-module(config_static_SUITE). -compile(export_all). |