]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t4116-apply-reverse.sh
git-rebase.sh: Fix --merge --abort failures when path contains whitespace
[git.git] / t / t4116-apply-reverse.sh
index 11e02807a5324ad263c9b2bce53be3df9daf2117..c3f45790076e8e5f80322ad272dc4bf1ff4b9715 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (c) 2005 Junio C Hamano
 #
 
-test_description='git-apply in reverse
+test_description='git apply in reverse
 
 '
 
@@ -12,14 +12,14 @@ test_description='git-apply in reverse
 test_expect_success setup '
 
        for i in a b c d e f g h i j k l m n; do echo $i; done >file1 &&
-       tr "[ijk]" '\''[\0\1\2]'\'' <file1 >file2 &&
+       perl -pe "y/ijk/\\000\\001\\002/" <file1 >file2 &&
 
        git add file1 file2 &&
        git commit -m initial &&
        git tag initial &&
 
        for i in a b c g h i J K L m o n p q; do echo $i; done >file1 &&
-       tr "[mon]" '\''[\0\1\2]'\'' <file1 >file2 &&
+       perl -pe "y/mon/\\000\\001\\002/" <file1 >file2 &&
 
        git commit -a -m second &&
        git tag second &&