From: Junio C Hamano Date: Tue, 21 Dec 2010 22:45:28 +0000 (-0800) Subject: Merge branch 'maint' X-Git-Tag: v1.7.4-rc0~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/853563d7344ee532aa56f8a9aabcfdfb5c4fe2c3?hp=6ae7a51a2e8efdb10c18d59693e647a73d98d9d3 Merge branch 'maint' * maint: t0050: fix printf format strings for portability t3419-*.sh: Fix arithmetic expansion syntax error --- diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh index 057c97c49f..1542cf6a13 100755 --- a/t/t0050-filesystem.sh +++ b/t/t0050-filesystem.sh @@ -4,8 +4,8 @@ test_description='Various filesystem issues' . ./test-lib.sh -auml=`printf '\xc3\xa4'` -aumlcdiar=`printf '\x61\xcc\x88'` +auml=$(printf '\303\244') +aumlcdiar=$(printf '\141\314\210') case_insensitive= unibad= diff --git a/t/t3419-rebase-patch-id.sh b/t/t3419-rebase-patch-id.sh index 1aee483510..bd8efaf005 100755 --- a/t/t3419-rebase-patch-id.sh +++ b/t/t3419-rebase-patch-id.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh test_description='git rebase - test patch id computation' @@ -27,7 +27,7 @@ scramble() then echo "$x" fi - i=$(((i+1) % 10)) + i=$((($i+1) % 10)) done < "$1" > "$1.new" mv -f "$1.new" "$1" }