-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confine get-zeek-env zeek_plugin_path to /build
Closes #25
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# @TEST-DOC: Verify ZEEK_PLUGIN_PATH is confined to ./build and testing with ./build moved to ./build-backup fails. | ||
# | ||
# @TEST-REQUIRES: make --version | ||
# @TEST-REQUIRES: cmake --help | grep -q '^* Unix Makefiles' | ||
# | ||
# @TEST-EXEC: ${SCRIPTS}/zkg create --packagedir=test --features plugin --user-var name=Name --user-var namespace=Namespace | ||
# @TEST-EXEC: cd test && ./configure 1>&2 | ||
# @TEST-EXEC: make -C test/build/ -j`nproc` 1>&2 | ||
# @TEST-EXEC: mv test/build test/build-backup | ||
# @TEST-EXEC-FAIL: btest -djc test/testing/btest.cfg | ||
# @TEST-EXEC: mv test/build-backup test/build | ||
# @TEST-EXEC: btest -djc test/testing/btest.cfg |