diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-05-31 20:40:08 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-05-31 20:40:08 +0000 |
commit | 7e87a01c8e01e179ae6b5d432c9e42f94472c993 (patch) | |
tree | 4b62045ff0f5f17acb88f3f84b7522d8bc323157 | |
parent | f905e539c90286a712702ce4d1623ac13e88bf0b (diff) | |
download | rdiff-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.py | 5 |
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): |