]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
go-helloworld: update to latest revision
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 17 Sep 2023 09:38:53 +0000 (11:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2023 07:53:05 +0000 (08:53 +0100)
Fix up test case to match what binary prints.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/go.py
meta/recipes-extended/go-examples/go-helloworld_0.1.bb

index 7514d108f1aafdee0307216b1e1f887b6fc60e95..39a80f4dcae756452d493666de6b2a7d991e2be0 100644 (file)
@@ -18,4 +18,4 @@ class GoHelloworldTest(OERuntimeTestCase):
         self.assertEqual(status, 0, msg=msg)
 
         msg = 'Incorrect output: %s' % output
-        self.assertEqual(output, "Hello, Go examples!", msg=msg)
+        self.assertEqual(output, "Hello, world!", msg=msg)
index ce6ec08c59bf9973a58ba96ea8316a9c4923f4c0..98cd4d810335b037e9b58e22000ba63327cd64af 100644 (file)
@@ -6,7 +6,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https"
-SRCREV = "5bec756976671f30903223ec46ff8a70dced4954"
+SRCREV = "d9923f6970e9ba7e0d23aa9448ead71ea57235ae"
 UPSTREAM_CHECK_COMMITS = "1"
 
 GO_IMPORT = "golang.org/x/example"