| 1 |
# t605 --- unchanged checkin on branch |
| 2 |
# |
| 3 |
# Copyright (C) 2010-2022 Thien-Thi Nguyen |
| 4 |
# |
| 5 |
# This program is free software: you can redistribute it and/or |
| 6 |
# modify it under the terms of the GNU General Public License as |
| 7 |
# published by the Free Software Foundation, either version 3 of |
| 8 |
# the License, or (at your option) any later version. |
| 9 |
# |
| 10 |
# This program is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty |
| 12 |
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
# See the GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
|
| 18 |
. $srcdir/common |
| 19 |
split_std_out_err no |
| 20 |
|
| 21 |
## |
| 22 |
# Check that unchanged checkin on branch DTRT. |
| 23 |
# This test derives from a pre-5.8-release regression (and bugfix). |
| 24 |
## |
| 25 |
|
| 26 |
must 'touch $w' |
| 27 |
must 'ci -t-t -l $w' |
| 28 |
must 'ci -r1.1.1.1 $w' |
| 29 |
|
| 30 |
test 2 = `grep -c '^1[.]1' $v` \ |
| 31 |
&& test 0 = `grep -c -F '1.1.1.1;' $v` \ |
| 32 |
|| problem 'corrupted RCS file from unchanged checkin on branch' |
| 33 |
|
| 34 |
exit 0 |
| 35 |
|
| 36 |
# t605 ends here |