aosp12/external/autotest/client/bin/self-test/extract_tarball_to_dir

12 lines
331 B
Plaintext
Raw Normal View History

2023-01-09 17:11:35 +08:00
#!/usr/bin/python2
import sys, os, os.path
autodir = os.environ['AUTODIR']
sys.path.insert(0, autodir + '/bin')
from autotest_lib.client.bin import utils
os.chdir('/tmp')
utils.extract_tarball_to_dir(autodir +
'/tests/bonnie/bonnie++-1.03a.tgz',
'poo')