>From a146e903ef0c3eb20b3cf1530f2fcfce76a37bc3 Mon Sep 17 00:00:00 2001
From: Nils Goroll <[email protected]>
Date: Mon, 31 Jan 2011 13:27:27 +0100
Subject: [PATCH] Use printf instead of echo because 'echo -n' does not work 
cross platform.

---
 bin/varnishtest/tests/m00004.vtc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/varnishtest/tests/m00004.vtc b/bin/varnishtest/tests/m00004.vtc
index 1c629b2..2561b45 100644
--- a/bin/varnishtest/tests/m00004.vtc
+++ b/bin/varnishtest/tests/m00004.vtc
@@ -3,9 +3,9 @@
 test "Test fileread for std VMOD"
 
 shell {
-       echo -n "File One" > "${tmpdir}/m00004_file_one"
-       echo -n "File Two" > "${tmpdir}/m00004_file_two"
-       echo -n "File Three" > "${tmpdir}/m00004_file_three"
+       printf "File One" > "${tmpdir}/m00004_file_one"
+       printf "File Two" > "${tmpdir}/m00004_file_two"
+       printf "File Three" > "${tmpdir}/m00004_file_three"
 }
 
 server s1 {
-- 
1.5.6.5

_______________________________________________
varnish-dev mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to