3 test_description
='git rebase interactive environment'
7 test_expect_success
'setup' '
13 test_expect_success
'rebase --exec does not muck with GIT_DIR' '
14 git rebase --exec "printf %s \$GIT_DIR >environ" HEAD~1 &&
15 test_must_be_empty environ
18 test_expect_success
'rebase --exec does not muck with GIT_WORK_TREE' '
19 git rebase --exec "printf %s \$GIT_WORK_TREE >environ" HEAD~1 &&
20 test_must_be_empty environ