# HG changeset patch # User Giorgos Keramidas # Date 1167507225 -7200 # Node ID b90e323a478107fe5a60533628b83b332f97fb88 # Parent 35b2e02367a5ccd857dd92aa1a55e8092f13b94e Use printf(1) instead of using bash-specific shell code. Submitted by: Benoit Boissinot diff -r 35b2e02367a5 -r b90e323a4781 tests/test-issue352 --- a/tests/test-issue352 Mon Mar 26 23:50:04 2007 -0300 +++ b/tests/test-issue352 Sat Dec 30 21:33:45 2006 +0200 @@ -1,10 +1,10 @@ -#!/bin/bash +#!/bin/sh # http://www.selenic.com/mercurial/bts/issue352 hg init foo cd foo -A=`echo -e -n 'he\rllo'` +A=`printf 'he\rllo'` echo foo > "$A" hg add