aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2010-06-07 10:34:11 +0200
committerRaimo Niskanen <[email protected]>2010-06-09 16:19:25 +0200
commite2698f918a4ec969593181fdad7d86064ef462f0 (patch)
treeb238af9218798b1f99e64068187abf232c08ac4d /lib/common_test
parentadfd6da3afe99ca20d8a0c91a46453b74f8206cc (diff)
downloadotp-e2698f918a4ec969593181fdad7d86064ef462f0.tar.gz
otp-e2698f918a4ec969593181fdad7d86064ef462f0.tar.bz2
otp-e2698f918a4ec969593181fdad7d86064ef462f0.zip
Fix bug that prevents the interactive shell mode to start properly
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/ct_run.erl8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl
index 4b9c9b6981..2d79021ce4 100644
--- a/lib/common_test/src/ct_run.erl
+++ b/lib/common_test/src/ct_run.erl
@@ -154,7 +154,7 @@ script_start1(Parent, Args) ->
Vts = get_start_opt(vts, true, Args),
Shell = get_start_opt(shell, true, Args),
Cover = get_start_opt(cover, fun([CoverFile]) -> ?abs(CoverFile) end, Args),
- LogDir = get_start_opt(logdir, fun([LogD]) -> LogD end, Args),
+ LogDir = get_start_opt(logdir, fun([LogD]) -> LogD end, ".", Args),
MultTT = get_start_opt(multiply_timetraps,
fun([MT]) -> list_to_integer(MT) end, 1, Args),
ScaleTT = get_start_opt(scale_timetraps,
@@ -427,12 +427,6 @@ script_start4(#opts{shell = true, config = Config, event_handlers = EvHandlers,
true ->
io:format("\nInstalling: ~p\n\n", [Config])
end,
-
- %%! --- Sun Jun 6 00:58:41 2010 --- peppe was here!
- %%! HERE!!
- %%! Something's not right here. Can't start shell mode
- %%! properly!
-
case install(InstallOpts) of
ok ->
ct_util:start(interactive, LogDir),