summaryrefslogtreecommitdiff
path: root/testsuite/driver/testutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r--testsuite/driver/testutil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py
index ec45e93987..2cfa8f12bd 100644
--- a/testsuite/driver/testutil.py
+++ b/testsuite/driver/testutil.py
@@ -15,3 +15,6 @@ def version_gt(x, y):
def version_ge(x, y):
return version_to_ints(x) >= version_to_ints(y)
+def strip_quotes(s):
+ # Don't wrap commands to subprocess.call/Popen in quotes.
+ return s.strip('\'"')