<html><body>
<p><font size="2" face="sans-serif">Hi Tuncer,</font><br>
<br>
<font size="2" face="sans-serif">Thanks for your quick response.</font><br>
<br>
<font size="2" face="sans-serif">There's a only rpm erlang installed. </font><br>
<br>
<font size="2" face="sans-serif">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.</font><br>
<br>
<font size="2" face="sans-serif">I unset ERL_TOP when I ran test cases on rpm erlang. I was using /usr/bin/erl which in $PATH.</font><br>
<br>
<font size="2" face="sans-serif">> rpm -qf /usr/bin/erl</font><br>
<font size="2" face="sans-serif">erlang-17.5-12.1</font><br>
<br>
<font size="2" face="sans-serif">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.</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Thanks,</font><br>
<font size="2" face="sans-serif"><br>
-- <br>
Bing Li<br>
Linux on z Systems Open-source Ecosystem<br>
IBM Canada Lab<br>
bingli01@ca.ibm.com<br>
905-413-2669</font><br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF4C7DFC733D48f9e8a93df938@ca.ibm.com" border="0" alt="Inactive hide details for Tuncer Ayaz ---05/29/2015 11:11:06 AM---On Fri, May 29, 2015 at 4:42 PM, Bing Li wrote: > I am wonder"><font size="2" color="#424282" face="sans-serif">Tuncer Ayaz ---05/29/2015 11:11:06 AM---On Fri, May 29, 2015 at 4:42 PM, Bing Li wrote: > I am wondering what is the best way to test rpm in</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Tuncer Ayaz <tuncer.ayaz@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">Bing Li/Toronto/IBM@IBMCA</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc: </font><font size="1" face="sans-serif">erlang-questions@erlang.org</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">05/29/2015 11:11 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">Re: [erlang-questions] What is the best way to test rpm installed Erlang? (smoke test)</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">On Fri, May 29, 2015 at 4:42 PM, Bing Li wrote:<br>
<br>
> I am wondering what is the best way to test rpm installed Erlang?<br>
<br>
1. figure out which erlang (if there's more than one installed) you're using<br>
result: path_to_erlang_binary<br>
<br>
2. rpm -qf path_to_erlang_binary<br>
result: rpm_package or error<br>
<br>
If that binary does not match what you're using, either you've<br>
configured to use another erlang install, or it wasn't installed as an<br>
rpm package.<br>
<br>
If you have more than one erlang install available, query the<br>
rpm db for each.<br>
<br>
I don't have access to an rpm based distro, so I didn't verify<br>
rpm -qf works, but it did the last time I used it.<br>
<br>
</font></tt><br>
<br>
</body></html>