repos: remove trailing slash from layer path

In order for oe-core to correctly display the layers and revisions
used in a build, the paths used in conf/bblayers.conf must have no
trailing path separator.

Signed-off-by: Adrian Stratulat <adrian.stratulat91@gmail.com>
[Jan: fix overlong line, update test case]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Adrian Stratulat
2020-09-22 19:31:37 +02:00
committed by Jan Kiszka
parent e4be1a20ff
commit a5c8345ee6
2 changed files with 3 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ def test_layers_default(dokas):
match = 0
with open('build/conf/bblayers.conf', 'r') as f:
for line in f:
if 'test_layers/kas/' in line:
if 'test_layers/kas ' in line:
match += 1
assert(match == 1)