Wireshark-commits: [Wireshark-commits] master 9b91e64: test: ensure temporary directory outside sou
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 27 Jun 2016 22:42:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9b91e64fee7dfdbeef3d8602a8af6c8d0d8a788c
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9b91e64 by Peter Wu (peter@xxxxxxxxxxxxx):

    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@xxxxxxxxxxxxx>
    

Actions performed:

    from  e69194a   qt: fix linking error with global_capture_opts
    adds  9b91e64   test: ensure temporary directory outside source tree


Summary of changes:
 test/test.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)