Wireshark-commits: [Wireshark-commits] master 3cc6aee: Lua: regex test suite fails with UTF-8 local

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 2 Jan 2015 13:09:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3cc6aee32a54283455fa3a8832874a22b9d41114
Submitter: Graham Bloice (graham.bloice@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3cc6aee by Hadriel Kaplan (hadrielk@xxxxxxxxx):

    Lua: regex test suite fails with UTF-8 locale
    
    Due to the change in change-id Ib43e16a9d98d08e5ddaff81fd3235f5b64d7b95b, the setlocale() call has been moved earlier in tshark's processing, such that Lua plugins load with the environment locale instead of C-locale. Since that matches Wireshark's behavior, it's good, but it causes the Lua regex test suite to fail. So the test suite needs to be fixed.
    
    Bug: 10824
    Change-Id: I3dcad15a9e247a1e42d2f708ccfb7272de2fe960
    Reviewed-on: https://code.wireshark.org/review/6226
    Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    Reviewed-by: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    

Actions performed:

    from  55c385e   tvb: implement endianness-paramterized getters
    adds  3cc6aee   Lua: regex test suite fails with UTF-8 locale


Summary of changes:
 test/lua/gregex.lua |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)