mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
x11vnc: remove all references to moved package
Together with the move to meta-oe, all references to x11vnc should be removed from oe-core. There are three of these: a distro alias, a packagegroup rdepends and a runtime test. (From OE-Core rev: cfd1e4bcd66a9a542007115647cadb8480330fab) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8f865e2c50
commit
8bec5c55a2
@@ -1,20 +0,0 @@
|
||||
from oeqa.oetest import oeRuntimeTest, skipModuleUnless
|
||||
from oeqa.utils.decorators import *
|
||||
import re
|
||||
|
||||
def setUpModule():
|
||||
skipModuleUnless(oeRuntimeTest.hasPackage('x11vnc'), "No x11vnc package in image")
|
||||
|
||||
class VNCTest(oeRuntimeTest):
|
||||
|
||||
@testcase(213)
|
||||
@skipUnlessPassed('test_ssh')
|
||||
def test_vnc(self):
|
||||
(status, output) = self.target.run('x11vnc -display :0 -bg -o x11vnc.log')
|
||||
self.assertEqual(status, 0, msg="x11vnc server failed to start: %s" % output)
|
||||
port = re.search('PORT=[0-9]*', output)
|
||||
self.assertTrue(port, msg="Listening port not specified in command output: %s" %output)
|
||||
|
||||
vncport = port.group(0).split('=')[1]
|
||||
(status, output) = self.target.run('netstat -ntl | grep ":%s"' % vncport)
|
||||
self.assertEqual(status, 0, msg="x11vnc server not running on port %s\n\n%s" % (vncport, self.target.run('netstat -ntl; cat x11vnc.log')[1]))
|
||||
Reference in New Issue
Block a user