summaryrefslogtreecommitdiff
path: root/t/t4053-diff-no-index.sh
blob: 4dc8c67edc683fd7fe492c7373226df74a0127bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
 
test_description='diff --no-index'
 
. ./test-lib.sh
 
test_expect_success 'setup' '
	mkdir a &&
	mkdir b &&
	echo 1 >a/1 &&
	echo 2 >a/2
'
 
test_expect_success 'git diff --no-index directories' '
	git diff --no-index a b >cnt
	test $? = 1 && test_line_count = 14 cnt
'
 
test_done