Statistics
| Branch: | Tag: | Revision:

root / test / autotools / autotools-check-news.test @ 896cc964

History | View | Annotate | Download (651 Bytes)

1
# Test a correct NEWS file against a stable release
2
RELEASE=2.6.2 ./autotools/check-news < $TESTDATA_DIR/NEWS_OK.txt
3
>>>= 0
4

    
5
# Test a correct NEWS file against an alpha release
6
RELEASE=2.8.0~alpha ./autotools/check-news < $TESTDATA_DIR/NEWS_OK.txt
7
>>>= 0
8

    
9
# Test a NEWS file with previous unreleased versions against a stable release
10
RELEASE=2.6.2 ./autotools/check-news < $TESTDATA_DIR/NEWS_previous_unreleased.txt
11
>>>2/Unreleased version after current release 2.6.2/
12
>>>= !0
13

    
14
# Test a NEWS file with previous unreleased versions against an alpha release
15
RELEASE=2.8.0~alpha ./autotools/check-news < $TESTDATA_DIR/NEWS_previous_unreleased.txt
16
>>>= 0