diff options
author | Fredrik Gustafsson <[email protected]> | 2013-04-30 11:05:34 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-04-30 11:12:24 +0200 |
commit | 59affc4ef18fe00b2eecbc57905c581ddf7a9646 (patch) | |
tree | e12329a410b786692e3faf171812fdd16a1b66fc /lib/kernel/test | |
parent | 2fe1d3ca9caabda3abf3d1cf438d3159999a06eb (diff) | |
download | otp-59affc4ef18fe00b2eecbc57905c581ddf7a9646.tar.gz otp-59affc4ef18fe00b2eecbc57905c581ddf7a9646.tar.bz2 otp-59affc4ef18fe00b2eecbc57905c581ddf7a9646.zip |
kernel: redefined deep_list_command test
Diffstat (limited to 'lib/kernel/test')
-rw-r--r-- | lib/kernel/test/os_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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. |