]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fuse: runtests.py: Fix a typo bug in fusermount output checking.
authornejucomo <nejucomo@gmail.com>
Sat, 7 Jun 2008 06:18:15 +0000 (23:18 -0700)
committernejucomo <nejucomo@gmail.com>
Sat, 7 Jun 2008 06:18:15 +0000 (23:18 -0700)
contrib/fuse/runtests.py

index b237746b32bb7496b06e5734c210e3203fbadf58..ae840955ac6b71f69d05051920e454edcd55ddb0 100644 (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'