test: Create and set temporary home directory
authorFlorian Friesdorf <flo@chaoflow.net>
Mon, 18 Apr 2011 17:41:39 +0000 (19:41 +0200)
committerCarl Worth <cworth@cworth.org>
Thu, 2 Jun 2011 00:46:51 +0000 (17:46 -0700)
commite584c64c5b0788a3b9c1b22f37eb236bb6da7d0d
treedb631a8d9483f9296e7eabb6262d63df06808d26
parentafdfa5674c84bbb8c0e546384e03a058d317b7a0
test: Create and set temporary home directory

In the master branch in test/emacs two tests access the build users home
directory, so does emacs_deliver_message in the crypto branch.

The tests should not touch the build user's home directory. The patch
creates a directory in the temporary test directory and sets home
accordingly.

In case of a non-existent home directory, the tests are failing without
this patch.

Signed-off-by: Jameson Graef Rollins <jrollins@finestructure.net>
test/test-lib.sh