t0008: remove duplicated test fixture data
The expected contents of STDOUT for the final --stdin tests can be derived from the expected contents of STDOUT for the same tests when --verbose is given, in the same way that test_expect_success_multi derives this for earlier tests. Signed-off-by: Adam Spiers <git@adamspiers.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Adam Spiers committed
Apr 11, 2013 at 13:05 UTC
eef39f8124ba6045bdc1ae6e665d3d65e28385ab
1 file changed
+1
-15
t/t0008-ignores.sh
+1
-15
@@ -575,21 +575,6 @@ cat <<-\EOF >stdin
575
b/globaltwo
576
../b/globaltwo
577
EOF
578
-cat <<-\EOF >expected-default
579
- ../one
580
- one
581
- b/on
582
- b/one
583
- b/one one
584
- b/one two
585
- "b/one\"three"
586
- b/two
587
- b/twooo
588
- ../globaltwo
589
- globaltwo
590
- b/globaltwo
591
- ../b/globaltwo
592
-EOF
578
cat <<-EOF >expected-verbose
579
.gitignore:1:one ../one
580
.gitignore:1:one one
@@ -605,6 +590,7 @@ cat <<-EOF >expected-verbose
590
$global_excludes:2:!globaltwo b/globaltwo
591
$global_excludes:2:!globaltwo ../b/globaltwo
592
EOF
593
+sed -e 's/.* //' expected-verbose >expected-default
594
595
sed -e 's/^"//' -e 's/\\//' -e 's/"$//' stdin | \
596
tr "\n" "\0" >stdin0