[CRIU] [PATCH 7/7] test/zdtm.sh: formatting fix

Kir Kolyshkin kir at openvz.org
Mon Feb 6 11:57:29 EST 2012


Put echo to a separate line to
- keep the text within 80 columns
- visually check that the positions of semicolons are the same

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 test/zdtm.sh |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 3b58feb..9364bac 100644
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -88,9 +88,12 @@ case_error()
 	echo "Test: $test"
 	echo "====================== ERROR ======================"
 
-	[ -e "$DUMP_PATH/dump.log" ] && echo "Dump log   : $DUMP_PATH/dump.log"
-	[ -e "$DUMP_PATH/restore.log" ] && echo "Restore log: $DUMP_PATH/restore.log"
-	[ -e "$test_log" ] && echo "Output file: $test_log"
+	[ -e "$DUMP_PATH/dump.log" ] &&
+		echo "Dump log   : $DUMP_PATH/dump.log"
+	[ -e "$DUMP_PATH/restore.log" ] &&
+		echo "Restore log: $DUMP_PATH/restore.log"
+	[ -e "$test_log" ] &&
+		echo "Output file: $test_log"
 	exit 1
 }
 
-- 
1.7.5.4



More information about the CRIU mailing list