fuse: runtests.py: Fix a typo bug in fusermount output checking.

This commit is contained in:
nejucomo 2008-06-06 23:18:15 -07:00
parent 4d8aac35f4
commit f665b10b12

View File

@ -245,7 +245,7 @@ class SystemTest (object):
print 'Unmounting implementation #%d' % (implnum,)
args = ['fusermount', '-u', mountpath]
ec, out = gather_output(args)
if exitcode != 0 or output:
if ec != 0 or out:
tmpl = 'fusermount failed to unmount:\n'
tmpl += 'Arguments: %r\n'
tmpl += 'Exit Status: %r\n'