From b6b4503dd74d08a12f50c653c2a48d3f5333e64f Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 16 Sep 2022 16:49:55 -0700 Subject: [PATCH] tweak btest so it's recognized as a candidate for C++ compilation testing --- testing/btest/Baseline/bifs.piped_exec/output | 1 + testing/btest/bifs/piped_exec.zeek | 1 + 2 files changed, 2 insertions(+) diff --git a/testing/btest/Baseline/bifs.piped_exec/output b/testing/btest/Baseline/bifs.piped_exec/output index da0cd42f70..122a8e6257 100644 --- a/testing/btest/Baseline/bifs.piped_exec/output +++ b/testing/btest/Baseline/bifs.piped_exec/output @@ -1,3 +1,4 @@ ### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. hello world foobar +success! diff --git a/testing/btest/bifs/piped_exec.zeek b/testing/btest/bifs/piped_exec.zeek index d33f902e5e..c3cf0efb2a 100644 --- a/testing/btest/bifs/piped_exec.zeek +++ b/testing/btest/bifs/piped_exec.zeek @@ -15,3 +15,4 @@ if ( piped_exec("unset ZEEK_USE_CPP; zeek", cmds) != T ) if ( piped_exec("cat > test.txt", "\x00\x00hello\x00\x00") != T ) exit(1); +print "success!";