]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix mistake in refactoring of test-osx-pkg.py. 182-osx-packaging-4
authorDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 16:27:47 +0000 (17:27 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 16:27:47 +0000 (17:27 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
misc/build_helpers/test-osx-pkg.py

index 8d15a451dffdb0a7d4f1091ab76b569ce7c463b9..04dcef66ab278ab248c5e9662c8943554c5ba3d1 100644 (file)
@@ -64,12 +64,12 @@ def test_osx_pkg(pkgfile):
 
     try:
         basedir = os.getcwd()
-        cmd = ['bin/' + appname, '--version-and-path']
+        cmd = ['bin/tahoe', '--version-and-path']
         callit = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 
         rc = callit.wait()
         if rc != 0:
-            raise Exception("FAIL: $appname --version-and-path returned non-zero exit code: %r" % (rc,))
+            raise Exception("FAIL: '%s' returned non-zero exit code: %r" % (" ".join(cmd), rc))
         stdouttxt = callit.stdout.read()
 
         PKG_VER_PATH_RE=re.compile("^(\S+): ([^\(]+)\((.+?)\)$", re.UNICODE)