mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 09:49:41 +01:00
oeqa/selftest/fetch: Fix whitespace
Update the test whitespace to avoid bitbake warnings. (From OE-Core rev: 8a324aa2111872138715bde7fbc86bcfc2d8b20e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -74,8 +74,8 @@ class Dependencies(OESelftestTestCase):
|
||||
tinfoil.prepare(config_only=False, quiet=2)
|
||||
|
||||
r = """
|
||||
LICENSE="CLOSED"
|
||||
SRC_URI="http://example.com/tarball.zip"
|
||||
LICENSE = "CLOSED"
|
||||
SRC_URI = "http://example.com/tarball.zip"
|
||||
"""
|
||||
f = self.write_recipe(textwrap.dedent(r), tempdir)
|
||||
d = tinfoil.parse_recipe_file(f)
|
||||
@@ -84,8 +84,8 @@ class Dependencies(OESelftestTestCase):
|
||||
|
||||
# Verify that the downloadfilename overrides the URI
|
||||
r = """
|
||||
LICENSE="CLOSED"
|
||||
SRC_URI="https://example.com/tarball;downloadfilename=something.zip"
|
||||
LICENSE = "CLOSED"
|
||||
SRC_URI = "https://example.com/tarball;downloadfilename=something.zip"
|
||||
"""
|
||||
f = self.write_recipe(textwrap.dedent(r), tempdir)
|
||||
d = tinfoil.parse_recipe_file(f)
|
||||
@@ -93,8 +93,8 @@ class Dependencies(OESelftestTestCase):
|
||||
self.assertIn("unzip-native", d.getVarFlag("do_unpack", "depends") or "")
|
||||
|
||||
r = """
|
||||
LICENSE="CLOSED"
|
||||
SRC_URI="ftp://example.com/tarball.lz"
|
||||
LICENSE = "CLOSED"
|
||||
SRC_URI = "ftp://example.com/tarball.lz"
|
||||
"""
|
||||
f = self.write_recipe(textwrap.dedent(r), tempdir)
|
||||
d = tinfoil.parse_recipe_file(f)
|
||||
@@ -102,8 +102,8 @@ class Dependencies(OESelftestTestCase):
|
||||
self.assertIn("lzip-native", d.getVarFlag("do_unpack", "depends"))
|
||||
|
||||
r = """
|
||||
LICENSE="CLOSED"
|
||||
SRC_URI="git://example.com/repo;branch=master;rev=ffffffffffffffffffffffffffffffffffffffff"
|
||||
LICENSE = "CLOSED"
|
||||
SRC_URI = "git://example.com/repo;branch=master;rev=ffffffffffffffffffffffffffffffffffffffff"
|
||||
"""
|
||||
f = self.write_recipe(textwrap.dedent(r), tempdir)
|
||||
d = tinfoil.parse_recipe_file(f)
|
||||
|
||||
Reference in New Issue
Block a user