Skip to content

Commit 10f60e7

Browse files
da-viperlabath
andauthored
Update lldb/test/API/commands/settings/TestSettings.py
Add quotes around variables Co-authored-by: Pavel Labath <[email protected]>
1 parent 493a579 commit 10f60e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/test/API/commands/settings/TestSettings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,7 @@ def test_settings_api(self):
10201020
setting_path = "target.debug-file-search-paths"
10211021
path1 = os.path.join(self.getSourceDir(), "tmp")
10221022
path2 = os.path.join(self.getSourceDir(), "tmp2")
1023-
setting_value = [path1, path2]
1024-
self.runCmd("settings set %s %s" % (setting_path, " ".join(setting_value)))
1023+
self.runCmd("settings set %s '%s' '%s'" % (setting_path, path1, path2))
10251024
settings_json = self.get_setting_json(setting_path)
10261025
self.assertEqual(settings_json, setting_value)
10271026

0 commit comments

Comments
 (0)