mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00

This updates Baselines, changes paths to scripts and log files, adds TEST-DOC annotations, and various other cleanups that make the zeek-aux tests more like the rest of the zeek tests.
14 lines
429 B
Bash
14 lines
429 B
Bash
# @TEST-DOC: Test update-changes -I when version information is in the VERSION file, which update-changes wants confirmation for.
|
|
#
|
|
# @TEST-EXEC: bash %INPUT
|
|
# @TEST-EXEC: test -f CHANGES
|
|
# @TEST-EXEC: grep -q '^1.0.0' CHANGES
|
|
# @TEST-EXEC: grep -q 'Starting CHANGES' CHANGES
|
|
# @TEST-EXEC: test $(git rev-list --count HEAD) -eq 2
|
|
|
|
git init .
|
|
echo "1.0.0" >VERSION
|
|
git add VERSION
|
|
git commit -m 'init'
|
|
|
|
echo y | update-changes -I
|