diff options
author | Mats Wichmann <mats@linux.com> | 2019-03-02 22:35:59 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2019-03-02 22:35:59 (GMT) |
commit | e7e70407bd54811604f8e907819e36a6025f7915 (patch) | |
tree | b566c4b54e39ac10cb234a490f1e6760f4ffda38 /test/VariantDir | |
parent | e6d14fd285273bfa952930ded2c20380f8eec8bc (diff) | |
download | SCons-e7e70407bd54811604f8e907819e36a6025f7915.zip SCons-e7e70407bd54811604f8e907819e36a6025f7915.tar.gz SCons-e7e70407bd54811604f8e907819e36a6025f7915.tar.bz2 |
For PR #3320 re-unindent expect strings in with block
Previous change created a with: block but accidentally indented
two literal strings used as the expected stderr, causing them
to no longer match; these are restored to original state.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/VariantDir')
-rw-r--r-- | test/VariantDir/errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/VariantDir/errors.py b/test/VariantDir/errors.py index d3ecd54..26ef4a2 100644 --- a/test/VariantDir/errors.py +++ b/test/VariantDir/errors.py @@ -135,14 +135,14 @@ with open(file_in, 'r'): arguments = ".", status = 2, stderr = """\ - scons: *** Cannot duplicate `%s' in `build': Permission denied. Stop. - """ % (os.path.join('src', 'file.in'))) +scons: *** Cannot duplicate `%s' in `build': Permission denied. Stop. +""" % (os.path.join('src', 'file.in'))) test.run(chdir = 'ro-src', arguments = "-k .", status = 2, stderr = """\ - scons: *** Cannot duplicate `%s' in `build': Permission denied. Stop. +scons: *** Cannot duplicate `%s' in `build': Permission denied. Stop. """ % (os.path.join('src', 'file.in'))) # ensure that specifying multiple source directories for one |