aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-02-05 10:00:24 +0100
committerBjörn Gustavsson <[email protected]>2010-02-06 09:29:35 +0100
commitc3902211043c449a2fc3830291ff2fd64d0cd4ee (patch)
tree7a63c3c0ba55bdea15cd377cc7fb6df4645565da /lib/kernel/test
parent79194d5fa70c7cd8ca0a31918e7954f9e3ae9f6c (diff)
downloadotp-c3902211043c449a2fc3830291ff2fd64d0cd4ee.tar.gz
otp-c3902211043c449a2fc3830291ff2fd64d0cd4ee.tar.bz2
otp-c3902211043c449a2fc3830291ff2fd64d0cd4ee.zip
code_SUITE: add missing is_list(Config) guard
Diffstat (limited to 'lib/kernel/test')
-rw-r--r--lib/kernel/test/code_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl
index e07135c1bb..37b9200942 100644
--- a/lib/kernel/test/code_SUITE.erl
+++ b/lib/kernel/test/code_SUITE.erl
@@ -531,7 +531,7 @@ pa_pz_option(Config) when is_list(Config) ->
add_del_path(suite) ->
[];
add_del_path(doc) -> ["add_path, del_path should not cause priv_dir(App) to fail"];
-add_del_path(Config) ->
+add_del_path(Config) when is_list(Config) ->
DDir = ?config(data_dir,Config),
Dir1 = filename:join(DDir,"dummy_app-1.0/ebin"),
Dir2 = filename:join(DDir,"dummy_app-2.0/ebin"),