[erlang-questions] Bugs in tsung 1.2.2 ts_utils.erl

Pablo Polvorin pablo.polvorin@REDACTED
Tue Jun 3 17:39:21 CEST 2008


Yes, this had been reported in the tsung mail list, it's fixed in svn.


2008/6/3, Arbow <avindev@REDACTED>:
> I found tsung 1.2.2 also can't start at Erlang R12B2, so I found this bug:
>
> in ./src/ts_utils.erl:
>
> check_httpd_old_version()->
>     case erlang:system_info(version) of
>         [$5,$.,Maj] when Maj > $5  ->
>             false;
>         [$5,$.,Maj, $.,Min] when ( Maj > $5 ) or ((Maj == $5) and Min > $3)
> ->
>             false;
>         _  ->
>             true
>     end.
>
> it return true at R12B2, when it change to
>
>         [$5,$.,Maj, $.,Min] when ( Maj > $5 ) or ((Maj == $5) and (Min
>> $3) ) ->
>             false;
> it works
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>


-- 
--
pablo
http://ppolv.wordpress.com
----



More information about the erlang-questions mailing list