summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-05-31 20:40:55 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-05-31 20:40:55 +0000
commit1de239fd7c2df250f6452cd3c4775cde6f16623e (patch)
treee0a4debe39714d6135f51c0d5737dca56d71f1aa
parent0bb64dea50f283d0ac5aa33f6fb5fcee8da9d1be (diff)
downloadrdiff-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
-rw-r--r--rdiff-backup/testing/rpathtest.py5
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):