diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-10 18:14:23 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-10 18:14:23 (GMT) |
commit | a66460a28e7672071cbb5c003332cfdc96669563 (patch) | |
tree | 90734add4bcd13397567872f37c3b6faddd16dbe /test/packaging | |
parent | bc304421df8d2a23c560fc8877a1daffb57d6851 (diff) | |
download | SCons-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.py | 2 |
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' ) |