aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-11-11 10:53:57 +0100
committerFredrik Gustafsson <[email protected]>2013-11-11 10:53:57 +0100
commit22c39699f35142063f69c45bdb919bcba468fede (patch)
tree874f3dd246b73a4a3f4540026420edbb81966b0b
parent82e0639e9a5101f9c2b6abba7c62579184f2db58 (diff)
downloadotp-22c39699f35142063f69c45bdb919bcba468fede.tar.gz
otp-22c39699f35142063f69c45bdb919bcba468fede.tar.bz2
otp-22c39699f35142063f69c45bdb919bcba468fede.zip
erts: remove ?line macro in testcases
-rw-r--r--erts/emulator/test/bif_SUITE.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/test/bif_SUITE.erl b/erts/emulator/test/bif_SUITE.erl
index 8b612a145c..fbc229bc53 100644
--- a/erts/emulator/test/bif_SUITE.erl
+++ b/erts/emulator/test/bif_SUITE.erl
@@ -388,10 +388,10 @@ os_env(Config) when is_list(Config) ->
false -> ?line ok;
BadVal -> ?line ?t:fail(BadVal)
end,
- ?line true = os:putenv(EnvVar1, "mors"),
- ?line true = os:unsetenv(EnvVar1),
- ?line false = os:getenv(EnvVar1),
- ?line true = os:unsetenv(EnvVar1), % unset unset variable
+ true = os:putenv(EnvVar1, "mors"),
+ true = os:unsetenv(EnvVar1),
+ false = os:getenv(EnvVar1),
+ true = os:unsetenv(EnvVar1), % unset unset variable
%% os:putenv, os:getenv and os:unsetenv currently use a temp
%% buffer of size 1024 for storing key+value
?line os_env_long(1010, 1030, "hej hopp").
@@ -402,7 +402,7 @@ os_env_long(Min, Max, Value) ->
?line EnvVar = lists:duplicate(Min, $X),
?line true = os:putenv(EnvVar, Value),
?line Value = os:getenv(EnvVar),
- ?line true = os:unsetenv(EnvVar),
+ true = os:unsetenv(EnvVar),
?line os_env_long(Min+1, Max, Value).
otp_7526(doc) ->