(List (= scope=<EAssignScope.GLOBAL 1> flags=0 words=[] bindings=[('test_description', {[SQ <LIT_CHARS "rerere run in a workdir">]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]} ) (Com {[LIT_CHARS test_expect_success]} {[LIT_CHARS SYMLINKS]} {[LIT_CHARS setup]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\tgit config rerere.enabled true &&\n"> <LIT_CHARS "\t>world &&\n"> <LIT_CHARS "\tgit add world &&\n"> <LIT_CHARS "\ttest_tick &&\n"> <LIT_CHARS "\tgit commit -m initial &&\n"> <LIT_CHARS "\n"> <LIT_CHARS "\techo hello >world &&\n"> <LIT_CHARS "\ttest_tick &&\n"> <LIT_CHARS "\tgit commit -a -m hello &&\n"> <LIT_CHARS "\n"> <LIT_CHARS "\tgit checkout -b side HEAD^ &&\n"> <LIT_CHARS "\techo goodbye >world &&\n"> <LIT_CHARS "\ttest_tick &&\n"> <LIT_CHARS "\tgit commit -a -m goodbye &&\n"> <LIT_CHARS "\n"> <LIT_CHARS "\tgit checkout master\n">]} ) (Com {[LIT_CHARS test_expect_success]} {[LIT_CHARS SYMLINKS]} {[SQ <LIT_CHARS "rerere in workdir">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\trm -rf .git/rr-cache &&\n"> <LIT_CHARS "\t\"$SHELL_PATH\" \"$TEST_DIRECTORY/../contrib/workdir/git-new-workdir\" . work &&\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd work &&\n"> <LIT_CHARS "\t\ttest_must_fail git merge side &&\n"> <LIT_CHARS "\t\tgit rerere status >actual &&\n"> <LIT_CHARS "\t\techo world >expect &&\n"> <LIT_CHARS "\t\ttest_cmp expect actual\n"> <LIT_CHARS "\t)\n">]} ) (Com {[LIT_CHARS test_expect_failure]} {[LIT_CHARS SYMLINKS]} {[SQ <LIT_CHARS "rerere in workdir (relative)">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\trm -rf .git/rr-cache &&\n"> <LIT_CHARS "\t\"$SHELL_PATH\" \"$TEST_DIRECTORY/../contrib/workdir/git-new-workdir\" . krow &&\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd krow &&\n"> <LIT_CHARS "\t\trm -f .git/rr-cache &&\n"> <LIT_CHARS "\t\tln -s ../.git/rr-cache .git/rr-cache &&\n"> <LIT_CHARS "\t\ttest_must_fail git merge side &&\n"> <LIT_CHARS "\t\tgit rerere status >actual &&\n"> <LIT_CHARS "\t\techo world >expect &&\n"> <LIT_CHARS "\t\ttest_cmp expect actual\n"> <LIT_CHARS "\t)\n">]} ) (Com {[LIT_CHARS test_done]} ) )