From e63686011b62fcfc095e6fe39cddac60948ab724 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep <jeffv@google.com> Date: Fri, 19 Jan 2018 14:56:45 -0800 Subject: [PATCH] Fix error message format "/n" --> "\n" Fixes: 72225980 Test: build (this is a build test) Change-Id: Iffd7241b4d7b9b429fff34dc2e25baad32d8008d --- tests/treble_sepolicy_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/treble_sepolicy_tests.py b/tests/treble_sepolicy_tests.py index 9f2526e4b..3c5c53512 100644 --- a/tests/treble_sepolicy_tests.py +++ b/tests/treble_sepolicy_tests.py @@ -236,7 +236,7 @@ def TestNoUnmappedNewTypes(): ret += "SELinux: The following types were found added to the policy " ret += "without an entry into the compatibility mapping file(s) found " ret += "in private/compat/" + compatMapping.apiLevel + "/" - ret += compatMapping.apiLevel + "[.ignore].cil/n" + ret += compatMapping.apiLevel + "[.ignore].cil\n" ret += " ".join(str(x) for x in sorted(violators)) + "\n" return ret -- GitLab