<html>
    <head>
      <base href="http://icedtea.classpath.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DistributionInformationTest fails if /etc/os-release file is emtpy"
   href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2438">2438</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DistributionInformationTest fails if /etc/os-release file is emtpy
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Thermostat
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>hg
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>agent
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassigned@icedtea.classpath.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sgehwolf@redhat.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>thermostat@icedtea.classpath.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On a system where an empty /etc/os-release file exists (for some reason)
DistributionInformationTest (and DistributionInformation) does not work
correctly.

Steps to reproduce (on a system where /etc/os-release can be modified; this may
be dangerous).
1. sudo echo "" > /etc/os-release
2. run DistributionInformationTest

This is for example reproducible in a minimal RHEL 6.6 mock root with
redhat-release and redhat-lsb-core packages are installed.

IMHO, we should check if /etc/os-release is empty before we move on and use it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>