diff options
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 5ff156ccdd..49a6c65afd 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -550,7 +550,7 @@ class FetcherNetworkTest(FetcherTest): | |||
550 | def gitfetcher(self, url1, url2): | 550 | def gitfetcher(self, url1, url2): |
551 | def checkrevision(self, fetcher): | 551 | def checkrevision(self, fetcher): |
552 | fetcher.unpack(self.unpackdir) | 552 | fetcher.unpack(self.unpackdir) |
553 | revision = bb.process.run("git rev-parse HEAD", shell=True, cwd=self.unpackdir + "/git")[0].strip() | 553 | revision = bb.process.run("git rev-parse HEAD", shell=True, cwd=self.unpackdir + "/git")[0].decode("utf-8").strip() |
554 | self.assertEqual(revision, "270a05b0b4ba0959fe0624d2a4885d7b70426da5") | 554 | self.assertEqual(revision, "270a05b0b4ba0959fe0624d2a4885d7b70426da5") |
555 | 555 | ||
556 | self.d.setVar("BB_GENERATE_MIRROR_TARBALLS", "1") | 556 | self.d.setVar("BB_GENERATE_MIRROR_TARBALLS", "1") |