3 test_description
='git rebase interactive environment'
5 TEST_PASSES_SANITIZE_LEAK
=true
8 test_expect_success
'setup' '
14 test_expect_success
'rebase --exec does not muck with GIT_DIR' '
15 git rebase --exec "printf %s \$GIT_DIR >environ" HEAD~1 &&
16 test_must_be_empty environ
19 test_expect_success
'rebase --exec does not muck with GIT_WORK_TREE' '
20 git rebase --exec "printf %s \$GIT_WORK_TREE >environ" HEAD~1 &&
21 test_must_be_empty environ