Commit d1559ec9 authored by bescoto's avatar bescoto

Fixed dirlist test


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@543 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 90efa53d
...@@ -112,8 +112,9 @@ class CheckDir(RPathTest): ...@@ -112,8 +112,9 @@ class CheckDir(RPathTest):
def testListdir(self): def testListdir(self):
"""Checking dir listings""" """Checking dir listings"""
assert (RPath(self.lc, self.mainprefix, ("sampledir",)).listdir() == dirlist = RPath(self.lc, self.mainprefix, ("sampledir",)).listdir()
["1", "2", "3", "4"]) dirlist.sort()
assert dirlist == ["1", "2", "3", "4"], dirlist
class CheckSyms(RPathTest): class CheckSyms(RPathTest):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment