3 # Copyright (c) 2016 Jacob Keller
6 test_description='Basic plumbing support of submodule--helper
8 This test verifies the submodule--helper plumbing command used to implement
14 test_expect_success 'sanitize-config clears configuration' '
15 git -c user.name="Some User" submodule--helper sanitize-config >actual &&
16 test_must_be_empty actual
20 test_expect_success 'sanitize-config keeps credential.helper' '
21 git -c credential.helper=helper submodule--helper sanitize-config >actual &&
22 echo "${sq}credential.helper=helper${sq}" >expect &&
23 test_cmp expect actual