summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-01-12 13:55:52 -0800
committerAlex Deymo <deymo@google.com>2017-01-12 13:55:52 -0800
commit5fbb110c73158e443efe1fcac87e6648c631b4c0 (patch)
treea84e830302f12eb9d6a30cdecf2c8316c8cf7898 /scripts/update_payload/format_utils_unittest.py
parent927e00d1e9fd046e81c84ef61d05c347eee408dc (diff)
Use ${TMPDIR} as the default working directory.
This patch uses ${TMPDIR} as the default working directory, falling back to the old behaviour is /tmp was not set. This also passes the desired working directory to delta_generator as a TMPDIR env variable. Bug: 34250932 Test: `strace -e trace=open -f -- brillo_update_payload generate --payload pay.bin --target_image tf.zip --work_dir /tmp/foobar 2>&1 | grep tmp` only shows access to /tmp/foobar, not /tmp Change-Id: I4972a4010d7eed73b2fd1cc9c782b0775509b50c
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions