From 779ee073feda80211d80bf1c3dc309844c88ea78 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 13 Oct 2014 17:27:47 +0100 Subject: [PATCH] Fix mistake in refactoring of test-osx-pkg.py. Signed-off-by: Daira Hopwood --- misc/build_helpers/test-osx-pkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/build_helpers/test-osx-pkg.py b/misc/build_helpers/test-osx-pkg.py index 8d15a451..04dcef66 100644 --- a/misc/build_helpers/test-osx-pkg.py +++ b/misc/build_helpers/test-osx-pkg.py @@ -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) -- 2.45.2