~ed.so/duplicity/reuse-passphrase-for-signing-fix

« back to all changes in this revision

Viewing changes to testing/patchdirtest.py

  • Committer: Larry Gilbert
  • Date: 2009-08-15 05:39:30 UTC
  • mto: This revision was merged to the branch mainline in revision 597.
  • Revision ID: larry+launchpad@l2g.to-20090815053930-erk3yhisfbphhcv1
Changed options to 'cp' to be compatible with BSD style yet (hopefully)
stay compatible with GNU

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    def test_root(self):
94
94
        """Test changing uid/gid, devices"""
95
95
        self.deltmp()
96
 
        os.system("cp -a testfiles/root1 testfiles/output/sequence")
 
96
        os.system("cp -pr testfiles/root1 testfiles/output/sequence")
97
97
        seq_path = Path("testfiles/output/sequence")
98
98
        new_path = Path("testfiles/root2")
99
99
        sig = Path("testfiles/output/sig.tar")