t9001: drop save_confirm helper
commitfc99da1fb7eebae0ccca7709b5fa3e55178d8434
authorJeff King <peff@peff.net>
Wed, 25 Mar 2015 05:32:20 +0000 (25 01:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2015 19:49:33 +0000 (25 12:49 -0700)
tree1bf39c1a86e3b4a0a25b3a08e9ce4515b81d5a9a
parentbe86fb3f8d149b721ab7db63cf46020fd622806d
t9001: drop save_confirm helper

The idea of this helper is that we want to save the current
value of a config variable and then restore it again after
the test completes. However, there's no point in actually
saving the value; it should always be restored to the string
"never" (which you can confirm by instrumenting
save_confirm to print the value it finds).

Let's just replace it with a single test_when_finished call.

Suggested-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh