t3900: test log --encoding=none
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Dec 30, 2006 at 02:35 UTC
000792830b8ca96e6d973545192cba8d5df48279
1 file changed
+8
-1
t/t3900-i18n-commit.sh
+8
-1
@@ -8,7 +8,7 @@ test_description='commit and log output encodings'
8
. ./test-lib.sh
9
10
compare_with () {
11
- git-show -s "$1" | sed -e '1,/^$/d' -e 's/^ //' -e '$d' >current &&
11
+ git-show -s $1 | sed -e '1,/^$/d' -e 's/^ //' -e '$d' >current &&
12
diff -u current "$2"
13
}
14
@@ -112,4 +112,11 @@ do
112
done
113
done
114
115
+for H in ISO-8859-1 EUCJP ISO-2022-JP
116
+do
117
+ test_expect_success "No conversion with $H" '
118
+ compare_with "--encoding=none '$H'" ../t3900/'$H'.txt
119
+ '
120
+done
121
+
122
test_done