mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
btest portability fix
address review comment about shifting corner-case
This commit is contained in:
parent
ea3d25b380
commit
c10885e5f9
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ cmds = string_cat(cmds, "\nprint \"foobar\";");
|
|||
# If we're using generated C++, turn that off for the pipe execution,
|
||||
# as otherwise we'll get a complaint that there's no corresponding
|
||||
# C++ bodies found for that zeek instance.
|
||||
if ( piped_exec("export -n ZEEK_USE_CPP; zeek", cmds) != T )
|
||||
if ( piped_exec("unset ZEEK_USE_CPP; zeek", cmds) != T )
|
||||
exit(1);
|
||||
|
||||
# Test null output.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue