t7503: does pre-commit-hook learn authorship?
[gitweb.git] / t / t1200-tutorial.sh
index ab55eda158bb5a6ecad77302aa2fe17bd6e92be3..9356beaf4be45c32d10209c5063b7a9c5aa06d42 100755 (executable)
@@ -42,7 +42,7 @@ test_expect_success 'git diff' '
 '
 
 test_expect_success 'tree' '
-       tree=$(git write-tree 2>/dev/null)
+       tree=$(git write-tree 2>/dev/null) &&
        test 8988da15d077d4829fc51d8544c097def6644dbb = $tree
 '
 
@@ -156,15 +156,18 @@ Updating VARIABLE..VARIABLE
 FASTFORWARD (no commit created; -m option ignored)
  example |    1 +
  hello   |    1 +
- 2 files changed, 2 insertions(+), 0 deletions(-)
+ 2 files changed, 2 insertions(+)
 EOF
 
 test_expect_success 'git resolve' '
        git checkout mybranch &&
        git merge -m "Merge upstream changes." master |
                sed -e "1s/[0-9a-f]\{7\}/VARIABLE/g" \
-               -e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output &&
-       test_cmp resolve.expect resolve.output
+               -e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
+'
+
+test_expect_success 'git resolve output' '
+       test_i18ncmp resolve.expect resolve.output
 '
 
 cat > show-branch2.expect << EOF