From: nejucomo Date: Sat, 7 Jun 2008 06:18:15 +0000 (-0700) Subject: fuse: runtests.py: Fix a typo bug in fusermount output checking. X-Git-Tag: allmydata-tahoe-1.1.0~38 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/...?a=commitdiff_plain;h=f665b10b12e3a54a25c1a948b7f9864d21815c6e;p=tahoe-lafs%2Ftahoe-lafs.git fuse: runtests.py: Fix a typo bug in fusermount output checking. --- diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py index b237746b..ae840955 100644 --- a/contrib/fuse/runtests.py +++ b/contrib/fuse/runtests.py @@ -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'