[erlang-questions] What is the best way to test rpm installed Erlang? (smoke test)

Bing Li <>
Fri May 29 17:35:56 CEST 2015


Hi Tuncer,

Thanks for your quick response.

There's a only rpm erlang installed.

For the source code erlang (also 17.5),I didn't run "make install" after
built. Only set ERL_TOP to build and run test cases.

I unset ERL_TOP when I ran test cases on rpm erlang. I was
using /usr/bin/erl which in $PATH.

> rpm -qf /usr/bin/erl
erlang-17.5-12.1

I'm not sure if it' ok that the test cases were built from source code
(make release_tests) not from rpm. Both are 17.5 though.



Thanks,

--
Bing Li
Linux on z Systems Open-source Ecosystem
IBM Canada Lab

905-413-2669



From:	Tuncer Ayaz <>
To:	Bing Li/Toronto/
Cc:	
Date:	05/29/2015 11:11 AM
Subject:	Re: [erlang-questions] What is the best way to test rpm
            installed Erlang? (smoke test)



On Fri, May 29, 2015 at 4:42 PM, Bing Li wrote:

> I am wondering what is the best way to test rpm installed Erlang?

1. figure out which erlang (if there's more than one installed) you're
using
result: path_to_erlang_binary

2. rpm -qf path_to_erlang_binary
result: rpm_package or error

If that binary does not match what you're using, either you've
configured to use another erlang install, or it wasn't installed as an
rpm package.

If you have more than one erlang install available, query the
rpm db for each.

I don't have access to an rpm based distro, so I didn't verify
rpm -qf works, but it did the last time I used it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150529/64decc06/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150529/64decc06/attachment.gif>


More information about the erlang-questions mailing list