summaryrefslogtreecommitdiff
path: root/test/packaging
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-10 11:14:23 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-10 11:14:23 -0700
commit265fb747101bb00558dee93cf2007f48ca9c889f (patch)
tree90734add4bcd13397567872f37c3b6faddd16dbe /test/packaging
parent6d6f516fbbaa7bb659ab23be9494921bb73032a0 (diff)
downloadscons-265fb747101bb00558dee93cf2007f48ca9c889f.tar.gz
switch to os.system as in py3 os.popen() seemed to not have completed untar before the test checked for files
Diffstat (limited to 'test/packaging')
-rw-r--r--test/packaging/use-builddir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packaging/use-builddir.py b/test/packaging/use-builddir.py
index 76b97379..9ad7aa4a 100644
--- a/test/packaging/use-builddir.py
+++ b/test/packaging/use-builddir.py
@@ -85,7 +85,7 @@ test.run(stderr = None)
test.must_exist( 'libfoo-1.2.3.tar.gz' )
-os.popen( 'tar -C temp -xzf %s'%test.workpath('libfoo-1.2.3.tar.gz') )
+os.system('tar -C temp -xzf %s'%test.workpath('libfoo-1.2.3.tar.gz') )
test.must_exist( 'temp/libfoo-1.2.3/src/main.c' )
test.must_exist( 'temp/libfoo-1.2.3/SConstruct' )