aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch
blob: 0eb88108558dfd16b206698c81dd7bf20db8db8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Display testname for subtest

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Upstream-Status: Pending

diff -ruN a/functions.sh b/functions.sh
--- a/tests/functions.sh	2015-11-12 21:32:02.434542124 +0100
+++ b/tests/functions.sh	2015-11-12 21:40:37.095317280 +0100
@@ -297,7 +297,7 @@
 	if [ "$TS_PARALLEL" == "yes" ]; then
 		TS_TITLE=$(printf "%13s: %-30s ...\n%16s: %-27s ..." "$TS_COMPONENT" "$TS_DESC" "" "$TS_SUBNAME")
 	else
-		TS_TITLE=$(printf "%16s: %-27s ..." "" "$TS_SUBNAME")
+               TS_TITLE=$(printf "%13s: %-30s ..." "$TS_COMPONENT" "$TS_SUBNAME")
 		echo -n "$TS_TITLE"
 	fi
 }