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 7c44d5911935b1b2a0a7a6e29d32d17fbb14382f..5010f732a628f3ec18216373bc4e8b5209fd6923 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"