diff options
Diffstat (limited to 'bitbake/lib/bb/tests/data.py')
-rw-r--r-- | bitbake/lib/bb/tests/data.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/data.py b/bitbake/lib/bb/tests/data.py index fe947f5ba7..a4a9dd30fb 100644 --- a/bitbake/lib/bb/tests/data.py +++ b/bitbake/lib/bb/tests/data.py | |||
@@ -283,6 +283,12 @@ class TestConcatOverride(unittest.TestCase): | |||
283 | self.d.setVar("TEST_remove", "val") | 283 | self.d.setVar("TEST_remove", "val") |
284 | self.assertEqual(self.d.getVar("TEST"), "bar") | 284 | self.assertEqual(self.d.getVar("TEST"), "bar") |
285 | 285 | ||
286 | def test_remove_cleared(self): | ||
287 | self.d.setVar("TEST", "${VAL} ${BAR}") | ||
288 | self.d.setVar("TEST_remove", "val") | ||
289 | self.d.setVar("TEST", "${VAL} ${BAR}") | ||
290 | self.assertEqual(self.d.getVar("TEST"), "val bar") | ||
291 | |||
286 | # Ensure the value is unchanged if we have an inactive remove override | 292 | # Ensure the value is unchanged if we have an inactive remove override |
287 | # (including that whitespace is preserved) | 293 | # (including that whitespace is preserved) |
288 | def test_remove_inactive_override(self): | 294 | def test_remove_inactive_override(self): |