Set $HOME to $scratchdir so that our tests are not affected by
authorWayne Davison <wayned@samba.org>
Thu, 26 Jan 2006 21:22:57 +0000 (21:22 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 26 Jan 2006 21:22:57 +0000 (21:22 +0000)
anything unexpected, such as a ~/.popt file.

testsuite/rsync.fns

index 7c44d59..5010f73 100644 (file)
@@ -32,6 +32,9 @@ else
     diffopt="-c"
 fi
 
+HOME="$scratchdir"
+export HOME
+
 runtest() {
     echo $ECHO_N "Test $1: $ECHO_C"
     if eval "$2"