mktag tests: don't needlessly use a subshell
The use of a subshell dates back to e9b20943b77 (t/t3800: do not use a temporary file to hold expected result., 2008-01-04). It's not needed anymore, if it ever was. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Jan 5, 2021 at 20:42 UTC
aba5377f693df650879a23ae549ca458ff116965
1 file changed
+1
-1
t/t3800-mktag.sh
+1
-1
@@ -14,7 +14,7 @@ test_description='git mktag: tag object verify test'
14
check_verify_failure () {
15
expect="$2"
16
test_expect_success "$1" '
17
- ( test_must_fail git mktag <tag.sig 2>message ) &&
17
+ test_must_fail git mktag <tag.sig 2>message &&
18
grep "$expect" message
19
'
20
}