]> code.ossystems Code Review - openembedded-core.git/commitdiff
ksample.py: fix error message
authorChen Qi <Qi.Chen@windriver.com>
Fri, 12 Oct 2018 02:24:50 +0000 (10:24 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Oct 2018 07:44:09 +0000 (08:44 +0100)
The current error message is like:

  kobject-example.kodoesn't exist

Add a space so that it looks like:

  kobject-example.ko doesn't exist

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ksample.py

index eb8713351afbd688d51a106d3d66922fbb9495e9..354cc9767325cb8091b4fd4b87b52db2176ac2f8 100644 (file)
@@ -34,7 +34,7 @@ class KSample(OERuntimeTestCase):
         cmd = "ls " + "/lib/modules/" + output + "/kernel/samples/" + path + module_name
         status, output = self.target.run(cmd)
         if status != 0:
-            error_info = module_name + "doesn't exist"
+            error_info = module_name + " doesn't exist"
             self.skipTest(error_info)
 
     def kfifo_func(self, name=''):