summaryrefslogtreecommitdiffstats
path: root/t/t0050-filesystem.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-03-12 22:30:10 +0100
committerJunio C Hamano <gitster@pobox.com>2008-03-13 08:57:40 +0100
commite8e29c7b5507ed97067391490adbeeca2b1bca34 (patch)
tree3140d32e8e4aa2dbb82bff1568c069817c6e06a1 /t/t0050-filesystem.sh
parenttr portability fixes (diff)
downloadgit-e8e29c7b5507ed97067391490adbeeca2b1bca34.tar.xz
git-e8e29c7b5507ed97067391490adbeeca2b1bca34.zip
t0050: perl portability fix
Older versions of perl (such as 5.005) don't understand -CO, nor do they understand the "U" pack specifier. Instead of using perl, let's just printf the binary bytes we are interested in. Signed-off-by: Jeff King <peff@peff.net> Tested-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-xt/t0050-filesystem.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh
index cd088b37f0..3fbad77811 100755
--- a/t/t0050-filesystem.sh
+++ b/t/t0050-filesystem.sh
@@ -4,8 +4,8 @@ test_description='Various filesystem issues'
. ./test-lib.sh
-auml=`perl -CO -e 'print pack("U",0x00E4)'`
-aumlcdiar=`perl -CO -e 'print pack("U",0x0061).pack("U",0x0308)'`
+auml=`printf '\xc3\xa4'`
+aumlcdiar=`printf '\x61\xcc\x88'`
test_expect_success 'see if we expect ' '