From 0ac93a00c98af2f44e5d291788c7ccaa3ed239d3 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 30 May 2006 15:47:05 +0200 Subject: [PATCH] Change more "echo -n" to "printf" to avoid screen clutter. Signed-off-by: Matthias Andree --- lib/blkid/test_probe.in | 2 +- tests/f_resize_inode/script | 2 +- tests/r_move_itable/script | 2 +- tests/r_resize_inode/script | 2 +- tests/run_e2fsck | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/blkid/test_probe.in b/lib/blkid/test_probe.in index 31ddf29..02d42bb 100644 --- a/lib/blkid/test_probe.in +++ b/lib/blkid/test_probe.in @@ -12,7 +12,7 @@ mkdir -p tests for i in $TESTS do - echo -n "$i: " + printf "%s: " $i if test ! -f $SRCDIR/tests/$i.img.bz2 -a \ ! -f $SRCDIR/tests/$i.results ; then diff --git a/tests/f_resize_inode/script b/tests/f_resize_inode/script index 558bd4a..75d90fe 100644 --- a/tests/f_resize_inode/script +++ b/tests/f_resize_inode/script @@ -1,4 +1,4 @@ -echo -n "e2fsck with resize_inode: " +printf "e2fsck with resize_inode: " FSCK_OPT=-yf OUT=$test_name.log if [ -f $test_dir/expect.gz ]; then diff --git a/tests/r_move_itable/script b/tests/r_move_itable/script index 72cd9eb..488fda2 100644 --- a/tests/r_move_itable/script +++ b/tests/r_move_itable/script @@ -1,4 +1,4 @@ -echo -n "resize2fs with resize_inode: " +printf "resize2fs with resize_inode: " if test -x $RESIZE2FS_EXE; then diff --git a/tests/r_resize_inode/script b/tests/r_resize_inode/script index dbd44ff..5422d3b 100644 --- a/tests/r_resize_inode/script +++ b/tests/r_resize_inode/script @@ -1,4 +1,4 @@ -echo -n "resize2fs with resize_inode: " +printf "resize2fs with resize_inode: " if test -x $RESIZE2FS_EXE; then diff --git a/tests/run_e2fsck b/tests/run_e2fsck index 0120375..9b4f170 100644 --- a/tests/run_e2fsck +++ b/tests/run_e2fsck @@ -1,5 +1,5 @@ if [ "$DESCRIPTION"x != x ]; then - echo -n "$DESCRIPTION: " + printf "%s" "$DESCRIPTION: " fi if [ "$IMAGE"x = x ]; then IMAGE=$test_dir/image.gz -- 1.8.3.1