History

tests: cope with yet another git output format change

Augie Fackler committed 14 years ago

Commit 019ac111 parent 2c440e84 files · +4 −4Browse files

Unified · Split

4 files
  1. tests/test-merge +1 −1
  2. tests/test-merge.out +1 −1
  3. tests/test-octopus +1 −1
  4. tests/test-octopus.out +1 −1
tests/test-merge+1−1
@@ -48,7 +48,7 @@ git add gamma · 47 unmodified lines
4848 commit -m 'add gamma'
4949
5050 # clean merge
51−git merge beta | sed "s/the '//;s/' strategy//" | sed 's/^Merge.*recursive.*$/Merge successful/' | sed 's/files/file/;s/insertions/insertion/'
51+git merge beta | sed "s/the '//;s/' strategy//" | sed 's/^Merge.*recursive.*$/Merge successful/' | sed 's/files/file/;s/insertions/insertion/;s/, 0 deletions.*//'
5252
5353 cd ..
5454 mkdir gitrepo2
tests/test-merge.out+1−1
@@ -4,7 +4,7 @@ Switched to a new branch "beta" · 3 unmodified lines
44 Switched to branch "master"
55 Merge successful
66 beta | 1 +
7− 1 file changed, 1 insertion(+), 0 deletions(-)
7+ 1 file changed, 1 insertion(+)
88 create mode 100644 beta
99 Initialized empty Git repository in gitrepo2/
1010
tests/test-octopus+1−1
@@ -53,7 +53,7 @@ echo delta > delta · 52 unmodified lines
5353 git add delta
5454 commit -m 'add delta'
5555
56−git merge branch1 branch2 | sed "s/the '//;s/' strategy//" | sed 's/^Merge.*octopus.*$/Merge successful/'
56+git merge branch1 branch2 | sed "s/the '//;s/' strategy//" | sed 's/^Merge.*octopus.*$/Merge successful/;s/, 0 deletions.*//'
5757
5858 cd ..
5959 mkdir gitrepo2
tests/test-octopus.out+1−1
@@ -8,7 +8,7 @@ Trying simple merge with branch2 · 7 unmodified lines
88 Merge successful
99 beta | 1 +
1010 gamma | 1 +
11− 2 files changed, 2 insertions(+), 0 deletions(-)
11+ 2 files changed, 2 insertions(+)
1212 create mode 100644 beta
1313 create mode 100644 gamma
1414 Initialized empty Git repository in gitrepo2/