summaryrefslogtreecommitdiff
path: root/ui/commandline.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-06-28 00:34:07 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-06-27 22:42:01 +0000
commit9b91e64fee7dfdbeef3d8602a8af6c8d0d8a788c (patch)
tree26ebcfa797104782ef1e4b1532266919d7abdd27 /ui/commandline.c
parente69194ae6513aa0bbf2728df09ec9133ae379714 (diff)
downloadwireshark-9b91e64fee7dfdbeef3d8602a8af6c8d0d8a788c.tar.gz
test: ensure temporary directory outside source tree
The whole point of using mktemp is to get a temporary directory outside the source tree. Commit v2.1.0rc0-1027-ge01f8fb tried to fix the invocation for *BSD (including OS X), but by adding a template it dropped the implicit --tmpdir option for GNU mktemp on Linux.. Use the GNU mktemp invocation and if it fails (for example, because a template is expected for BSD/OS X), provide a template. Change-Id: I77bbc7dc2045e4fa756e102afa080860b0857713 Reviewed-on: https://code.wireshark.org/review/16178 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/commandline.c')
0 files changed, 0 insertions, 0 deletions