test_set_output_path() should restore the original setting of target.process.output-path
after running the program. llvm-svn: 116873
This commit is contained in:
parent
49249493cd
commit
030709d085
|
@ -120,6 +120,9 @@ class SettingsCommandTestCase(TestBase):
|
|||
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Restore the original setting now that the program has been run.
|
||||
self.runCmd("settings set -r target.process.output-path")
|
||||
|
||||
# The 'stdout.txt' file should now exist.
|
||||
self.assertTrue(os.path.isfile("stdout.txt"),
|
||||
"'stdout.txt' exists due to target.process.output-path.")
|
||||
|
|
Loading…
Reference in New Issue