From 59affc4ef18fe00b2eecbc57905c581ddf7a9646 Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Tue, 30 Apr 2013 11:05:34 +0200 Subject: kernel: redefined deep_list_command test --- lib/kernel/test/os_SUITE.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/kernel/test/os_SUITE.erl b/lib/kernel/test/os_SUITE.erl index 7dbaf2ca8a..191d34686e 100644 --- a/lib/kernel/test/os_SUITE.erl +++ b/lib/kernel/test/os_SUITE.erl @@ -247,7 +247,8 @@ deep_list_command(Config) when is_list(Config) -> %% be deep lists." %% That's why os:cmd/1 can have arguments that are deep lists. %% It is not a problem for unix, but for windows it is (in R15B02 for ex.). - ?line os:cmd([$e, $c, "ho"]), + Echo = os:cmd([$e, $c, "ho"]), + true = erlang:is_list(Echo), %% FYI: [$e, $c, "ho"] =:= io_lib:format("ec~s", ["ho"]) ok. -- cgit v1.2.3