summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-05-31 20:40:08 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-05-31 20:40:08 +0000
commit7e87a01c8e01e179ae6b5d432c9e42f94472c993 (patch)
tree4b62045ff0f5f17acb88f3f84b7522d8bc323157
parentf905e539c90286a712702ce4d1623ac13e88bf0b (diff)
downloadrdiff-backup-7e87a01c8e01e179ae6b5d432c9e42f94472c993.tar.gz
Fixed dirlist test
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@543 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 d4f8487..f1a847b 100644
--- a/rdiff-backup/testing/rpathtest.py
+++ b/rdiff-backup/testing/rpathtest.py
@@ -112,8 +112,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):