From: Shengjing Zhu Date: Sun, 17 Jul 2022 12:07:48 +0000 (+0800) Subject: Fix test with godbus 5.0.5 X-Git-Tag: archive/raspbian/2.57.6-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4d7bbdb204a2e426badda89b086e0cf8560322bc;p=snapd.git Fix test with godbus 5.0.5 Due to https://github.com/godbus/dbus/pull/265, godbus only sends auth name. Forwarded: no Gbp-Pq: Name 0011-Fix-test-with-godbus-5.0.5.patch --- diff --git a/dbusutil/dbustest/dbustest.go b/dbusutil/dbustest/dbustest.go index cd690e74..355e1764 100644 --- a/dbusutil/dbustest/dbustest.go +++ b/dbusutil/dbustest/dbustest.go @@ -85,7 +85,7 @@ func (s *testDBusStream) decodeRequest(req []byte) { // initial NUL byte, ignore case "AUTH\r\n": s.output <- []byte("REJECTED TEST\r\n") - case "AUTH TEST TEST\r\n": + case "AUTH TEST\r\n": s.output <- []byte("OK test://\r\n") case "CANCEL\r\n": s.output <- []byte("REJECTED\r\n")