~mterry/deja-dup/support-user-var

« back to all changes in this revision

Viewing changes to tools/duplicity/DuplicityJob.vala

  • Committer: Michael Terry
  • Date: 2012-10-30 00:19:38 UTC
  • Revision ID: michael.terry@canonical.com-20121030001938-bhfpd1he2t4wt1du
tests: convert ldtp/gpg to a script test

Show diffs side-by-side

added added

removed removed

Lines of Context:
460
460
            return false;
461
461
          }
462
462
 
463
 
          if (!local_file.has_prefix(slash_home_me))
 
463
          if (!local_file.has_prefix(slash_home_me) &&
 
464
              !(DejaDup.in_testing_mode() && local_file.get_path().has_prefix(Environment.get_tmp_dir())))
464
465
            needs_root = true;
465
466
          
466
467
          try {