Skip to content

Commit 47914d4

Browse files
mhiramatrostedt
authored andcommitted
tools/bootconfig: Show whole test command for each test case
Show whole test command instead of only the 3rd argument. This will clear to show what will be actually tested by each test case. Link: https://lkml.kernel.org/r/163077088607.222577.14786016266462495017.stgit@devnote2 Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 903bd06 commit 47914d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/bootconfig/test-bootconfig.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ trap cleanup EXIT TERM
2626
NO=1
2727

2828
xpass() { # pass test command
29-
echo "test case $NO ($3)... "
29+
echo "test case $NO ($*)... "
3030
if ! ($@ && echo "\t\t[OK]"); then
3131
echo "\t\t[NG]"; NG=$((NG + 1))
3232
fi
3333
NO=$((NO + 1))
3434
}
3535

3636
xfail() { # fail test command
37-
echo "test case $NO ($3)... "
37+
echo "test case $NO ($*)... "
3838
if ! (! $@ && echo "\t\t[OK]"); then
3939
echo "\t\t[NG]"; NG=$((NG + 1))
4040
fi

0 commit comments

Comments
 (0)