t4014: drop redirections to /dev/null
Since output is silenced when running without `-v` and debugging output is useful with `-v`, remove redirections to /dev/null as it is not useful. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Denton Liu committed
Aug 27, 2019 at 00:05 UTC
f2e2fa8f60d2900bb676fa052e65bcae1f2a8ddb
1 file changed
+6
-6
t/t4014-format-patch.sh
+6
-6
@@ -1502,42 +1502,42 @@ test_expect_success 'cover letter using branch description (1)' '
1502
git checkout rebuild-1 &&
1503
test_config branch.rebuild-1.description hello &&
1504
git format-patch --stdout --cover-letter master >actual &&
1505
- grep hello actual >/dev/null
1505
+ grep hello actual
1506
'
1507
1508
test_expect_success 'cover letter using branch description (2)' '
1509
git checkout rebuild-1 &&
1510
test_config branch.rebuild-1.description hello &&
1511
git format-patch --stdout --cover-letter rebuild-1~2..rebuild-1 >actual &&
1512
- grep hello actual >/dev/null
1512
+ grep hello actual
1513
'
1514
1515
test_expect_success 'cover letter using branch description (3)' '
1516
git checkout rebuild-1 &&
1517
test_config branch.rebuild-1.description hello &&
1518
git format-patch --stdout --cover-letter ^master rebuild-1 >actual &&
1519
- grep hello actual >/dev/null
1519
+ grep hello actual
1520
'
1521
1522
test_expect_success 'cover letter using branch description (4)' '
1523
git checkout rebuild-1 &&
1524
test_config branch.rebuild-1.description hello &&
1525
git format-patch --stdout --cover-letter master.. >actual &&
1526
- grep hello actual >/dev/null
1526
+ grep hello actual
1527
'
1528
1529
test_expect_success 'cover letter using branch description (5)' '
1530
git checkout rebuild-1 &&
1531
test_config branch.rebuild-1.description hello &&
1532
git format-patch --stdout --cover-letter -2 HEAD >actual &&
1533
- grep hello actual >/dev/null
1533
+ grep hello actual
1534
'
1535
1536
test_expect_success 'cover letter using branch description (6)' '
1537
git checkout rebuild-1 &&
1538
test_config branch.rebuild-1.description hello &&
1539
git format-patch --stdout --cover-letter -2 >actual &&
1540
- grep hello actual >/dev/null
1540
+ grep hello actual
1541
'
1542
1543
test_expect_success 'cover letter with nothing' '