Wireshark-commits: [Wireshark-commits] master a1e6b10: Fix lua directory tests.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a1e6b10239e47626a60177891521fecf87e54766
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a1e6b10 by Evan Huus (eapache@xxxxxxxxx):
Fix lua directory tests.
The underlying directory iterator is not guaranteed to return directories in the
same order according to the glib documentation, so don't rely on the directory
order being the same when testing it.
https://developer.gnome.org/glib/2.37/glib-File-Utilities.html#g-dir-read-name
Bug:10009
Change-Id: I4b1078e1f3981921b1e83c4f77b4bc30a5d21b46
Reviewed-on: https://code.wireshark.org/review/1671
Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
Actions performed:
from 0ac1779 Add cast to satisfy buildbot
adds a1e6b10 Fix lua directory tests.
Summary of changes:
test/lua/dir.lua | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)