summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2016-01-05 14:24:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-07 13:40:20 +0000
commit8bec5c55a262d35da7cedd17ba74ae641db5f30d (patch)
treed10f4f66a73fffae6ae7406248e4f2494907b65c /meta/lib
parent8f865e2c50c4aa68c08993265f0143466f01842b (diff)
downloadpoky-8bec5c55a262d35da7cedd17ba74ae641db5f30d.tar.gz
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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/vnc.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/lib/oeqa/runtime/vnc.py b/meta/lib/oeqa/runtime/vnc.py
deleted file mode 100644
index f31deff306..0000000000
--- a/meta/lib/oeqa/runtime/vnc.py
+++ /dev/null
@@ -1,20 +0,0 @@
1from oeqa.oetest import oeRuntimeTest, skipModuleUnless
2from oeqa.utils.decorators import *
3import re
4
5def setUpModule():
6 skipModuleUnless(oeRuntimeTest.hasPackage('x11vnc'), "No x11vnc package in image")
7
8class VNCTest(oeRuntimeTest):
9
10 @testcase(213)
11 @skipUnlessPassed('test_ssh')
12 def test_vnc(self):
13 (status, output) = self.target.run('x11vnc -display :0 -bg -o x11vnc.log')
14 self.assertEqual(status, 0, msg="x11vnc server failed to start: %s" % output)
15 port = re.search('PORT=[0-9]*', output)
16 self.assertTrue(port, msg="Listening port not specified in command output: %s" %output)
17
18 vncport = port.group(0).split('=')[1]
19 (status, output) = self.target.run('netstat -ntl | grep ":%s"' % vncport)
20 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]))