mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
tests: be sure that backups are safe.
* tests/local.at (at_save_special_files): here.
This commit is contained in:
@@ -53,6 +53,8 @@ m4_divert_text([PREPARE_TESTS],
|
||||
{
|
||||
for at_save_file in stderr experr expout
|
||||
do
|
||||
test ! -f at-bison-check-$at_save_file.bak ||
|
||||
as_fn_error 1 "fatal error: back-up on top of a back-up"
|
||||
test ! -f $at_save_file || mv $at_save_file at-bison-check-$at_save_file.bak
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user