aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/escript_SUITE.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-02-26 12:22:09 +0100
committerDan Gudmundsson <[email protected]>2013-02-26 13:14:44 +0100
commit27db861821db111d0f0355ae5c1bbb08b0f892af (patch)
treee9b47f1171b78d03c60555c85092caa468d141ee /lib/stdlib/test/escript_SUITE.erl
parent29bfbfdde67e7a0d182aa791317e1d80fe8d0d5d (diff)
downloadotp-27db861821db111d0f0355ae5c1bbb08b0f892af.tar.gz
otp-27db861821db111d0f0355ae5c1bbb08b0f892af.tar.bz2
otp-27db861821db111d0f0355ae5c1bbb08b0f892af.zip
stdlib: Ignore symlink tests on windows
Symlinks only partially works on windows 7, ignore those tests on windows machines for now
Diffstat (limited to 'lib/stdlib/test/escript_SUITE.erl')
-rw-r--r--lib/stdlib/test/escript_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/test/escript_SUITE.erl b/lib/stdlib/test/escript_SUITE.erl
index cf5fb12686..a28be65ec3 100644
--- a/lib/stdlib/test/escript_SUITE.erl
+++ b/lib/stdlib/test/escript_SUITE.erl
@@ -615,7 +615,7 @@ archive_script_file_access(Config) when is_list(Config) ->
%% 3. If symlinks are supported, run one of the scripts via a symlink.
%%
%% This is in order to test error b) described above this test case.
- case file:read_link(Symlink2) of
+ case element(1,os:type()) =:= win32 orelse file:read_link(Symlink2) of
{ok,_} ->
run(PrivDir, "./" ++ SymlinkName2 ++ " " ++ ScriptName2,
[<<"ExitCode:0">>]);