interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4110-apply-scan.sh

23 lines · 523 bytes Raw Blame History
1#!/bin/sh
2#
3# Copyright (c) 2005 Junio C Hamano
4# Copyright (c) 2005 Robert Fitzsimons
5#
6
7test_description='git apply test for patches which require scanning forwards and backwards.
8
9'
10
11. ./test-lib.sh
12
13test_expect_success 'git apply scan' '
14 git apply \
15 "$TEST_DIRECTORY/t4110/patch1.patch" \
16 "$TEST_DIRECTORY/t4110/patch2.patch" \
17 "$TEST_DIRECTORY/t4110/patch3.patch" \
18 "$TEST_DIRECTORY/t4110/patch4.patch" \
19 "$TEST_DIRECTORY/t4110/patch5.patch" &&
20 test_cmp new.txt "$TEST_DIRECTORY/t4110/expect"
21'
22
23test_done