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 <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
903bd067fa
commit
47914d4e59
|
@ -26,7 +26,7 @@ trap cleanup EXIT TERM
|
|||
NO=1
|
||||
|
||||
xpass() { # pass test command
|
||||
echo "test case $NO ($3)... "
|
||||
echo "test case $NO ($*)... "
|
||||
if ! ($@ && echo "\t\t[OK]"); then
|
||||
echo "\t\t[NG]"; NG=$((NG + 1))
|
||||
fi
|
||||
|
@ -34,7 +34,7 @@ xpass() { # pass test command
|
|||
}
|
||||
|
||||
xfail() { # fail test command
|
||||
echo "test case $NO ($3)... "
|
||||
echo "test case $NO ($*)... "
|
||||
if ! (! $@ && echo "\t\t[OK]"); then
|
||||
echo "\t\t[NG]"; NG=$((NG + 1))
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue