summaryrefslogtreecommitdiffstats
path: root/test/packaging
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-10 18:14:23 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-10 18:14:23 (GMT)
commita66460a28e7672071cbb5c003332cfdc96669563 (patch)
tree90734add4bcd13397567872f37c3b6faddd16dbe /test/packaging
parentbc304421df8d2a23c560fc8877a1daffb57d6851 (diff)
downloadSCons-a66460a28e7672071cbb5c003332cfdc96669563.zip
SCons-a66460a28e7672071cbb5c003332cfdc96669563.tar.gz
SCons-a66460a28e7672071cbb5c003332cfdc96669563.tar.bz2
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 76b9737..9ad7aa4 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' )