diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/test_compressupport.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/test_compressupport.lua b/src/test/test_compressupport.lua new file mode 100644 index 0000000..9d4502e --- /dev/null +++ b/src/test/test_compressupport.lua @@ -0,0 +1,10 @@ +local zpcap = require("dnsjit.input.zpcap").new() + +zpcap:lz4() +if zpcap:have_support() then + print("lz4") +end +zpcap:zstd() +if zpcap:have_support() then + print("zstd") +end |