← Back to team overview

deja-dup-team team mailing list archive

[Merge] lp:~vej/deja-dup/fix-home-in-test into lp:deja-dup

 

Vej has proposed merging lp:~vej/deja-dup/fix-home-in-test into lp:deja-dup.

Requested reviews:
  Michael Terry (mterry)
Related bugs:
  Bug #1660174 in Déjà Dup: "The test shell preserves $HOME"
  https://bugs.launchpad.net/deja-dup/+bug/1660174

For more details, see:
https://code.launchpad.net/~vej/deja-dup/fix-home-in-test/+merge/316699
-- 
Your team Déjà Dup Developers is subscribed to branch lp:deja-dup.
=== modified file 'tests/shell'
--- tests/shell	2013-10-08 23:50:46 +0000
+++ tests/shell	2017-02-08 13:34:53 +0000
@@ -29,6 +29,8 @@
 ROOTDIR=$(mktemp -d --tmpdir dd.XXXXXXXXXX)
 export DEJA_DUP_TEST_ROOT="${ROOTDIR}"
 
+HOME="${ROOTDIR}"
+
 mkdir -p "${ROOTDIR}/cache"
 export XDG_CACHE_HOME="${ROOTDIR}/cache"
 
@@ -74,7 +76,7 @@
   ARGS="bash --norc"
 
   # Explain the details
-  echo "Your data playground is ${ROOTDIR}"
+  echo "Your data playground and home directory is ${ROOTDIR}"
   echo "Run deja-dup, deja-dup-preferences, or deja-dup-monitor to test."
   echo "Run exit to leave."
   echo "Run exit 1 to leave and keep data playground intact."


Follow ups