diff --git a/testing/btest/Baseline/scripts.base.protocols.mysql.selects_with_new_proto/mysql.log b/testing/btest/Baseline/scripts.base.protocols.mysql.selects_with_new_proto/mysql.log new file mode 100644 index 0000000000..35d068330e --- /dev/null +++ b/testing/btest/Baseline/scripts.base.protocols.mysql.selects_with_new_proto/mysql.log @@ -0,0 +1,15 @@ +#separator \x09 +#set_separator , +#empty_field (empty) +#unset_field - +#path mysql +#open 2020-07-24-14-27-47 +#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p cmd arg success rows response +#types time string addr port addr port string string bool count string +1595519112.556686 CHhAvVGS1DHFjwGM9 192.168.205.133 47752 47.98.114.44 3306 login root T 0 - +1595519112.570164 CHhAvVGS1DHFjwGM9 192.168.205.133 47752 47.98.114.44 3306 query select @@version_comment limit 1 T 0 - +1595519118.011034 CHhAvVGS1DHFjwGM9 192.168.205.133 47752 47.98.114.44 3306 query show databases T 0 - +1595519124.314569 CHhAvVGS1DHFjwGM9 192.168.205.133 47752 47.98.114.44 3306 query show tables from information_schema T 0 - +1595519133.500178 CHhAvVGS1DHFjwGM9 192.168.205.133 47752 47.98.114.44 3306 query show tables from mysql T 0 - +1595519139.608450 CHhAvVGS1DHFjwGM9 192.168.205.133 47752 47.98.114.44 3306 quit (empty) - - - +#close 2020-07-24-14-27-47 diff --git a/testing/btest/Traces/mysql/selects_with_new_proto.trace b/testing/btest/Traces/mysql/selects_with_new_proto.trace new file mode 100644 index 0000000000..5bf8fde5a1 Binary files /dev/null and b/testing/btest/Traces/mysql/selects_with_new_proto.trace differ diff --git a/testing/btest/scripts/base/protocols/mysql/selects_with_new_proto.test b/testing/btest/scripts/base/protocols/mysql/selects_with_new_proto.test new file mode 100644 index 0000000000..b2c0dd43a7 --- /dev/null +++ b/testing/btest/scripts/base/protocols/mysql/selects_with_new_proto.test @@ -0,0 +1,4 @@ +# @TEST-EXEC: zeek -b -r $TRACES/mysql/selects_with_new_proto.trace %INPUT +# @TEST-EXEC: btest-diff mysql.log + +@load base/protocols/mysql