From 6cc9482a1ac10142fc03ab4e482d40e704468dba Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 6 Feb 2012 20:57:27 +0400 Subject: [PATCH] test/zdtm.sh: simplify showing list of tests echo normalizes spaces, tr converts them into newlines Signed-off-by: Kir Kolyshkin Signed-off-by: Andrey Vagin --- test/zdtm.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/zdtm.sh b/test/zdtm.sh index 9575fbf59..3b230734f 100644 --- a/test/zdtm.sh +++ b/test/zdtm.sh @@ -107,9 +107,7 @@ if [ $# -eq 0 ]; then run_test $t -n ipc || case_error $t done elif [ "$1" == "-l" ]; then - echo $TEST_LIST | sed -e "s#$ZP/##g" -e 's/ /\n/g' - echo $UTS_TEST_LIST | sed -e "s#$ZP/##g" -e 's/ /\n/g' - echo $IPC_TEST_LIST | sed -e "s#$ZP/##g" -e 's/ /\n/g' + echo $TEST_LIST $UTS_TEST_LIST $IPC_TEST_LIST | tr ' ' '\n' else if echo $UTS_TEST_LIST | fgrep -qw $1; then run_test $1 -n uts || case_error $1