From 8836d552024601c5cfd8e912e959ab99b6e50632 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Mon, 8 Jul 2019 14:38:53 +0800 Subject: keyutils: add new recipe keyutils is utilities to control the kernel key management facility and to provide a mechanism by which the kernel call back to userspace to get a key instantiated. It's required by ecryptfs-utils. Signed-off-by: Jackie Huang Signed-off-by: Armin Kuster Signed-off-by: Khem Raj --- files/keyutils-test-fix-output-format.patch | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 files/keyutils-test-fix-output-format.patch (limited to 'files/keyutils-test-fix-output-format.patch') diff --git a/files/keyutils-test-fix-output-format.patch b/files/keyutils-test-fix-output-format.patch new file mode 100644 index 0000000000..a4ffd50ce5 --- /dev/null +++ b/files/keyutils-test-fix-output-format.patch @@ -0,0 +1,41 @@ +From 49b6321368e4bd3cd233d045cd09004ddd7968b2 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Mon, 15 May 2017 14:52:00 +0800 +Subject: [PATCH] keyutils: fix output format + +keyutils ptest output format is incorrect, according to yocto +Development Manual +(http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest) +5.10.6. Testing Packages With ptestThe test generates output in the format used by Automake: +: +where the result can be PASS, FAIL, or SKIP, and the testname can be any +identifying string. +So we should change the test result format to match yocto ptest rules. + +Upstream-Status: Inappropriate [OE ptest specific] + +Signed-off-by: Li Wang +Signed-off-by: Jackie Huang +--- + tests/runtest.sh | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/tests/runtest.sh b/tests/runtest.sh +index b6eaa7c..84263fb 100644 +--- a/tests/runtest.sh ++++ b/tests/runtest.sh +@@ -21,6 +21,11 @@ for i in ${TESTS}; do + echo "### RUNNING TEST $i" + if [[ $AUTOMATED != 0 ]] ; then + bash ./runtest.sh ++ if [ $? != 0 ]; then ++ echo "FAIL: $i" ++ else ++ echo "PASS: $i" ++ fi + else + bash ./runtest.sh || exit 1 + fi +-- +2.11.0 + -- cgit v1.2.3-54-g00ecf