test: set EMACS_SERVER variable only after dtach(1) was successfully started
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Thu, 17 Nov 2011 13:05:55 +0000 (17:05 +0400)
committerDavid Bremner <bremner@debian.org>
Sun, 27 Nov 2011 16:13:07 +0000 (08:13 -0800)
commit9d5b521472d1ac401ca2667d1261b641bef208cb
treed44f0efd6912e578f7802c7c6088574efefb94b2
parent1660ca5e619a02f430211ac0b26cfdc1ec23a717
test: set EMACS_SERVER variable only after dtach(1) was successfully started

Otherwise, we can set the EMACS_SERVER and return with an error.  And
subsequent calls to test_emacs would assume that emacs server is running.
test/test-lib.sh