Fix some platform specific paths in TestSettings.py.
authorZachary Turner <zturner@google.com>
Wed, 21 Jan 2015 00:40:27 +0000 (00:40 +0000)
committerZachary Turner <zturner@google.com>
Wed, 21 Jan 2015 00:40:27 +0000 (00:40 +0000)
commit83887fb7dce2620e59027d66e02d6dee597424f6
tree3f6b93a69f50ee61633127dde3c768c56509800d
parent21a886936b796752acf1db1b7ed5f8aa06b2b771
Fix some platform specific paths in TestSettings.py.

We were referring to hardcoded paths /bin/ls and /bin/cat.  For
the purposes of this test, the actual value it's set to doesn't
matter, and it might as well be a non-existent path.  All that
matters is that the before and after values have to match, and
that trailing whitespace is stripped.  On Windows FileSpec
(correctly) converts /bin/ls to D:\bin\ls though, so the before
and after values won't match.  So this patch just correctly builds
up a valid path in a platform-agnostic manner, and verifies that
it matches before and after the set.

llvm-svn: 226625
lldb/test/settings/TestSettings.py