diff --git a/src/python/devtest/os/test/ListCmd.py b/src/python/devtest/os/test/ListCmd.py index 7fdde9a..a7a674e 100644 --- a/src/python/devtest/os/test/ListCmd.py +++ b/src/python/devtest/os/test/ListCmd.py @@ -74,6 +74,14 @@ class ListCmd(TestCase): # export decisive = self.parent.decisive for field in decisive: s, o = self.field(field, throw=False), other.field(field, throw=False) + # if s: + # if not o: + # return 1 + # # s and o both not None, checks below are meaningful + # else: + # if not o: + # continue # both are equal and None + # return -1 # s is None, o isn't if (s and not o) or (o and not s): if s: # certainly not o return 1