Fix the test so it runs correctly when there are spaces in the path to the stdc+...
authorGreg Clayton <gclayton@apple.com>
Sat, 21 Feb 2015 00:28:32 +0000 (00:28 +0000)
committerGreg Clayton <gclayton@apple.com>
Sat, 21 Feb 2015 00:28:32 +0000 (00:28 +0000)
<rdar://problem/19297312>

llvm-svn: 230102

lldb/test/lang/cpp/stl/TestStdCXXDisassembly.py

index 1f2f2b5..eca9182 100644 (file)
@@ -69,7 +69,7 @@ class StdCXXDisassembleTestCase(TestBase):
         self.expect(lib_stdcxx, "Libraray StdC++ is located", exe=False,
             substrs = ["lib"])
 
-        self.runCmd("image dump symtab %s" % lib_stdcxx)
+        self.runCmd("image dump symtab '%s'" % lib_stdcxx)
         raw_output = self.res.GetOutput()
         # Now, look for every 'Code' symbol and feed its load address into the
         # command: 'disassemble -s load_address -e end_address', where the