ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 10009] New: Lua Dir Test Fails

Date: Sat, 19 Apr 2014 14:34:40 +0000
Bug ID 10009
Summary Lua Dir Test Fails
Classification Unclassified
Product Wireshark
Version Git
Hardware x86-64
OS Ubuntu
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]
CC [email protected]

Build Information:
TShark 1.11.4 (v1.11.4-rc1-53-g80011ec from master)

Copyright 1998-2014 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.40.0, with libpcap, with libz 1.2.8, with POSIX
capabilities (Linux), without libnl, with SMI 0.4.8, with c-ares 1.10.0, with
Lua 5.2, without Python, with GnuTLS 3.2.11, with Gcrypt 1.5.3, with MIT
Kerberos, with GeoIP.

Running on Linux 3.13.0-24-generic, with locale en_CA.UTF-8, with libpcap
version 1.5.3, with libz 1.2.8.
Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz

Built using gcc 4.8.2.
--
The buildbots seem happy enough, but when I try and run the test suite locally
I consistently get the following:

"wslua dir" Failed!
didn't find pass marker
./testout.txt:---- Testing Dir basics ---- 
./testout.txt:test global-1...passed
./testout.txt:test global-2...passed
./testout.txt:test global-3...passed
./testout.txt:test global-4...passed
./testout.txt:test global-5...passed
./testout.txt:test global-6...passed
./testout.txt:test global-7...passed
./testout.txt:test global-8...passed
./testout.txt:test global-9...passed
./testout.txt:test global-10...passed
./testout.txt:test global-11...passed
./testout.txt:---- Testing Dir paths/filenames ---- 
./testout.txt:test Dir.__FILE__-12...passed
./testout.txt:test Dir.__DIR__-13...passed
./testout.txt:test Dir.exists-14...passed
./testout.txt:test Dir.personal_config_path-15...passed
./testout.txt:test Dir.global_config_path-16...passed
./testout.txt:test Dir.personal_plugins_path-17...passed
./testout.txt:test Dir.global_plugins_path-18...passed
./testout.txt:For your information, I got the following info:
./testout.txt:__FILE__ =
'/home/eapache/src/wireshark.org/wireshark/test/lua/dir.lua'
./testout.txt:__DIR__  = '/home/eapache/src/wireshark.org/wireshark/test/lua'
./testout.txt:personal_config_path  = '/home/eapache/.wireshark/'
./testout.txt:global_config_path    =
'/home/eapache/src/wireshark.org/wireshark/epan/wslua/'
./testout.txt:personal_plugins_path = '/home/eapache/.wireshark/plugins'
./testout.txt:global_plugins_path   =
'/home/eapache/src/wireshark.org/wireshark/plugins'
./testout.txt:---- Testing Directory manipulation ---- 
./testout.txt:test Dir.exists-19...passed
./testout.txt:---- Testing Dir.make ---- 
./testout.txt:test Dir.make-20...passed
./testout.txt:test Dir.exists-21...passed
./testout.txt:test Dir.make-22...passed
./testout.txt:---- Testing Dir.remove ---- 
./testout.txt:test Dir.remove-23...passed
./testout.txt:test Dir.exists-24...passed
./testout.txt:test Dir.remove-25...passed
./testout.txt:test Dir.remove-26...passed
./testout.txt:---- Testing Dir.remove_all ---- 
./testout.txt:test Dir.remove_all-27...passed
./testout.txt:test Dir.remove_all-28...passed
./testout.txt:test Dir.remove_all-29...passed
./testout.txt:test Dir.remove_all-30...passed
./testout.txt:---- Testing Dir.open ---- 
./testout.txt:tshark: Lua: Error during loading:
./testout.txt: [string "/home/eapache/src/wireshark.org/wireshark/tes..."]:19:
Dir.call test failed!
./testout.txt:test Dir.open-31...passed
./testout.txt:test Dir.open-32...passed
./testout.txt:test Dir.open-33...passed
./testout.txt:calling Dir object...passed
./testout.txt:test Dir.call-34...passed
./testout.txt:test Dir.call-35...failed!
./temp/file1.txt:fooobarrloo
./temp/file3.txt:fooobarrloo
./temp/file2.txt:fooobarrloo

This is with lua 5.2.3 on Ubuntu 14.04.


You are receiving this mail because:
  • You are watching all bug changes.