updated for version 7.4a.042
Problem:    Crash when BufUnload autocommands close all buffers. (Andrew
            Pimlott)
Solution:   Set curwin->w_buffer to curbuf to avoid NULL.
diff --git a/src/testdir/test8.ok b/src/testdir/test8.ok
index 29b066a..adecb2f 100644
--- a/src/testdir/test8.ok
+++ b/src/testdir/test8.ok
@@ -4,3 +4,4 @@
 start of Xxx1
 	test
 end of Xxx
+VimLeave done