summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch')
-rw-r--r--meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch27
1 files changed, 17 insertions, 10 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch b/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch
index 0eb8810855..417ca1d98f 100644
--- a/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch
+++ b/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch
@@ -3,16 +3,23 @@ Display testname for subtest
3Signed-off-by: Tudor Florea <tudor.florea@enea.com> 3Signed-off-by: Tudor Florea <tudor.florea@enea.com>
4Upstream-Status: Pending 4Upstream-Status: Pending
5 5
6diff -ruN a/functions.sh b/functions.sh 6---
7--- a/tests/functions.sh 2015-11-12 21:32:02.434542124 +0100 7 tests/functions.sh | 2 +-
8+++ b/tests/functions.sh 2015-11-12 21:40:37.095317280 +0100 8 1 file changed, 1 insertion(+), 1 deletion(-)
9@@ -297,7 +297,7 @@ 9
10 if [ "$TS_PARALLEL" == "yes" ]; then 10diff --git a/tests/functions.sh b/tests/functions.sh
11 TS_TITLE=$(printf "%13s: %-30s ...\n%16s: %-27s ..." "$TS_COMPONENT" "$TS_DESC" "" "$TS_SUBNAME") 11index 5246605..b24dc15 100644
12 else 12--- a/tests/functions.sh
13- TS_TITLE=$(printf "%16s: %-27s ..." "" "$TS_SUBNAME") 13+++ b/tests/functions.sh
14+ TS_TITLE=$(printf "%13s: %-30s ..." "$TS_COMPONENT" "$TS_SUBNAME") 14@@ -320,7 +320,7 @@ function ts_init_subtest {
15 echo -n "$TS_TITLE" 15
16 if [ "$TS_PARSABLE" != "yes" ]; then
17 [ $TS_NSUBTESTS -eq 1 ] && echo
18- printf "%16s: %-27s ..." "" "$TS_SUBNAME"
19+ printf "%13s: %-30s ..." "$TS_COMPONENT" "$TS_SUBNAME"
16 fi 20 fi
17 } 21 }
22
23--
242.8.3
18 25