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

12 lines
331 B
Python
Executable File

#!/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')