diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-01-29 03:29:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-05 17:46:44 +0000 |
commit | 803aff81365f07a1ac1fa46a9b842db6ae2c01ed (patch) | |
tree | fd2f13d62064883987a2080c61737810e9e1610f /bitbake/lib/bb/tests/fetch.py | |
parent | 66a7541b4fcbaf2f2c810f040f21f7f7350bf7ee (diff) | |
download | poky-803aff81365f07a1ac1fa46a9b842db6ae2c01ed.tar.gz |
bitbake: tests/fetch: Remove unnecessary \n from mirror variables
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in mirror variables with
"\n".
(Bitbake rev: ed22b078aae25e804ca5edf062e2c905d3e49426)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index e1d79bf964..c654662c02 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -2261,6 +2261,7 @@ class GitURLWithSpacesTest(FetcherTest): | |||
2261 | self.assertEqual(ud.fullmirror, os.path.join(self.dldir, "git2_" + ref['gitsrcname'] + '.tar.gz')) | 2261 | self.assertEqual(ud.fullmirror, os.path.join(self.dldir, "git2_" + ref['gitsrcname'] + '.tar.gz')) |
2262 | 2262 | ||
2263 | class CrateTest(FetcherTest): | 2263 | class CrateTest(FetcherTest): |
2264 | @skipIfNoNetwork() | ||
2264 | def test_crate_url(self): | 2265 | def test_crate_url(self): |
2265 | 2266 | ||
2266 | uri = "crate://crates.io/glob/0.2.11" | 2267 | uri = "crate://crates.io/glob/0.2.11" |
@@ -2277,6 +2278,7 @@ class CrateTest(FetcherTest): | |||
2277 | self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/.cargo-checksum.json")) | 2278 | self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/.cargo-checksum.json")) |
2278 | self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/src/lib.rs")) | 2279 | self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/src/lib.rs")) |
2279 | 2280 | ||
2281 | @skipIfNoNetwork() | ||
2280 | def test_crate_url_multi(self): | 2282 | def test_crate_url_multi(self): |
2281 | 2283 | ||
2282 | uri = "crate://crates.io/glob/0.2.11 crate://crates.io/time/0.1.35" | 2284 | uri = "crate://crates.io/glob/0.2.11 crate://crates.io/time/0.1.35" |