summaryrefslogtreecommitdiff
path: root/morphlib/execute_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-09-29 16:18:24 +0100
committerLars Wirzenius <liw@liw.fi>2011-09-29 16:18:24 +0100
commit48e7ff4982d62413be05f3cde694afadd162872a (patch)
tree035db0d4b3a8a3087c476ad33235a7dca2897ec4 /morphlib/execute_tests.py
parent3995c472c744010385af43e2ef9a82a23beeba0f (diff)
downloadmorph-48e7ff4982d62413be05f3cde694afadd162872a.tar.gz
Build strata recursively.
If a chunk is missing, it will be built.
Diffstat (limited to 'morphlib/execute_tests.py')
-rw-r--r--morphlib/execute_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/execute_tests.py b/morphlib/execute_tests.py
index 8a9f9bf4..dffc5a7f 100644
--- a/morphlib/execute_tests.py
+++ b/morphlib/execute_tests.py
@@ -49,3 +49,6 @@ class ExecuteTests(unittest.TestCase):
self.assertRaises(morphlib.execute.CommandFailure,
self.e.runv, ['false'])
+ def test_runv_sets_working_directory(self):
+ self.assertEqual(self.e.runv(['pwd']), '/\n')
+