diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-05-31 20:40:55 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-05-31 20:40:55 +0000 |
commit | 1de239fd7c2df250f6452cd3c4775cde6f16623e (patch) | |
tree | e0a4debe39714d6135f51c0d5737dca56d71f1aa /rdiff-backup/testing | |
parent | 0bb64dea50f283d0ac5aa33f6fb5fcee8da9d1be (diff) | |
download | rdiff-backup-1de239fd7c2df250f6452cd3c4775cde6f16623e.tar.gz |
Fixed dir listing test
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@544 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/rpathtest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/testing/rpathtest.py b/rdiff-backup/testing/rpathtest.py index 26c3ea5..c9fb783 100644 --- a/rdiff-backup/testing/rpathtest.py +++ b/rdiff-backup/testing/rpathtest.py @@ -143,8 +143,9 @@ class CheckDir(RPathTest): def testListdir(self): """Checking dir listings""" - assert (RPath(self.lc, self.mainprefix, ("sampledir",)).listdir() == - ["1", "2", "3", "4"]) + dirlist = RPath(self.lc, self.mainprefix, ("sampledir",)).listdir() + dirlist.sort() + assert dirlist == ["1", "2", "3", "4"], dirlist class CheckSyms(RPathTest): |