[Parted-commits] GNU Parted Official Repository: Changes to 'next'
Jim Meyering
meyering at alioth.debian.org
Sat Aug 22 13:53:26 UTC 2009
tests/t7000-scripting.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 33541af05cab606aa3c7658ad055adb1b5de5276
Author: Jim Meyering <meyering at redhat.com>
Date: Sat Aug 22 15:52:14 2009 +0200
tests: don't use "echo -n"
* tests/t7000-scripting.sh: Use printf, not "echo -n", for portability.
diff --git a/tests/t7000-scripting.sh b/tests/t7000-scripting.sh
index 813841d..21cd344 100755
--- a/tests/t7000-scripting.sh
+++ b/tests/t7000-scripting.sh
@@ -82,7 +82,7 @@ for mkpart in mkpart mkpartfs; do
test_expect_success \
'normalize the actual output' \
'
- echo -n x >> out &&
+ printf x >> out &&
sed "s,
*
,,;s, x$,,;/ n$/ {N;s, n\nx,,}" out > o2 && mv -f o2 out &&
normalize_part_diag_ out
'
More information about the Parted-commits
mailing list