Commit c985d93c authored by Franco Lanza's avatar Franco Lanza

Merge branch 'master' into 'suites/ascii'

We don't have releases with 1rN numbering

See merge request !2
parents 778ad1bb 9ace04a5
......@@ -244,11 +244,7 @@ class TestLSBRelease(unittest.TestCase):
# Test "stable releases" with numeric devuan_versions
for rno in lr.RELEASE_CODENAME_LOOKUP:
# From Wheezy on, the codename is defined by the first number but a dot-revision is mandatory
if float(rno) >= 7:
distinfo['RELEASE'] = rno + '.' + str(random.randint(0,9))
else:
distinfo['RELEASE'] = rno + random.choice('.r') + str(random.randint(0,9))
distinfo['RELEASE'] = rno + '.' + str(random.randint(0,9))
distinfo['CODENAME'] = lr.RELEASE_CODENAME_LOOKUP[rno]
distinfo['DESCRIPTION'] = '%(ID)s %(OS)s %(RELEASE)s (%(CODENAME)s)' % distinfo
fn = 'test/devuan_version_' + rnd_string(5,5)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment