summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40a7ce6)
raw | patch | inline | side by side (parent: 40a7ce6)
author | Jeff King <peff@peff.net> | |
Wed, 12 Mar 2008 21:30:10 +0000 (17:30 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 13 Mar 2008 07:57:40 +0000 (00:57 -0700) |
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>
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>
t/t0050-filesystem.sh | patch | blob | history |
diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh
index cd088b37f06f6f5cd92f0fd2ee1d989e31ef216a..3fbad77811e3782523e83dfdd58fe5308f237771 100755 (executable)
--- a/t/t0050-filesystem.sh
+++ b/t/t0050-filesystem.sh
. ./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 ' '