remote-bzr: avoid echo -n
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 4 Apr 2013 15:36:16 +0000 (09:36 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Apr 2013 16:35:00 +0000 (09:35 -0700)
It's not portable, as reported by test-lint.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/test-bzr.sh
index 70aa8a010a6bc00a131860f2db509e56a7f75797..b81052b61f573946c75ea2a2fe02c044e33a162c 100755 (executable)
@@ -136,7 +136,7 @@ test_expect_success 'special modes' '
   (cd gitrepo &&
   git cat-file -p HEAD:link > ../actual) &&
 
-  echo -n content > expected &&
+  printf content > expected &&
   test_cmp expected actual
 '