summaryrefslogtreecommitdiff
path: root/test/option-n.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-12-05 10:41:31 +0000
committerSteven Knight <knight@baldmt.com>2002-12-05 10:41:31 +0000
commit1989e2672394227e183691f93c012881ab371179 (patch)
treedc8454b267cae4a60eae7b55899f21e18ec8b329 /test/option-n.py
parent2e49581b613cd875ae114ba137e28512693605d8 (diff)
downloadscons-1989e2672394227e183691f93c012881ab371179.tar.gz
Change the name of 'lib.py' to 'mslib.py'.
Diffstat (limited to 'test/option-n.py')
-rw-r--r--test/option-n.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/option-n.py b/test/option-n.py
index 5871978d..c0ca6114 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -121,16 +121,17 @@ test.fail_test(not os.path.exists(test.workpath('f2.out')))
# to print what's going on when -n is used. Following the
# directions on the XXX lines below whenever that gets fixed.
#
+install_f3_in = os.path.join('install', 'f3.in')
# XXX Uncomment the next line and remove the one after it when we
# fix the Install print during -n.
-#expect = test.wrap_stdout('Install file: "f3.in" as "install/f3.in"\n')
+#expect = test.wrap_stdout('Install file: "f3.in" as "%s"\n' % install_f3_in)
expect = test.wrap_stdout('')
test.run(arguments = '-n install', stdout = expect)
test.fail_test(os.path.exists(test.workpath('install', 'f3.in')))
# XXX Remove the next line when we fix the Install print during -n.
-expect = test.wrap_stdout('Install file: "f3.in" as "install/f3.in"\n')
+expect = test.wrap_stdout('Install file: "f3.in" as "%s"\n' % install_f3_in)
test.run(arguments = 'install', stdout = expect)
test.fail_test(not os.path.exists(test.workpath('install', 'f3.in')))