test_run: ignore SELinux warnings / errors 33/19733/1
Clément DAVID [Fri, 9 Feb 2018 07:56:06 +0000 (08:56 +0100)]
Change-Id: I09a30640ce416969e7be657247c140f0f0fe7d10

scilab/modules/development_tools/macros/test_run.sci

index 5a008ee..b10461f 100644 (file)
@@ -948,6 +948,12 @@ function status = test_single(_module, _testPath, _testName)
                     txt(toRemove) = [];
                 end
 
+                // Remove SELinux context change warnings
+                if ~isempty(txt) then
+                    toRemove = grep(txt, "/usr/bin/chcon:");
+                    txt(toRemove) = [];
+                end
+
                 if isempty(txt) then
                     deletefile(tmp_err);
                 end