[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/9] tests: be sure that backups are safe.
From: |
Akim Demaille |
Subject: |
[PATCH 5/9] tests: be sure that backups are safe. |
Date: |
Wed, 18 Jul 2012 11:02:27 +0200 |
* tests/local.at (at_save_special_files): here.
---
tests/local.at | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/local.at b/tests/local.at
index f253280..2dbbfc7 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -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
}
--
1.7.11.2
- [PATCH 0/9] {maint} maint: improve test suite, Akim Demaille, 2012/07/18
- [PATCH 5/9] tests: be sure that backups are safe.,
Akim Demaille <=
- [PATCH 7/9] doc: fix Texinfo command, Akim Demaille, 2012/07/18
- [PATCH 9/9] tests: adjust to case where the C compiler is actually a C++ compiler, Akim Demaille, 2012/07/18
- [PATCH 4/9] maint: dead comment., Akim Demaille, 2012/07/18
- [PATCH 8/9] tests: fix dependencies, Akim Demaille, 2012/07/18
- [PATCH 6/9] maint: Valgrind on OS X., Akim Demaille, 2012/07/18
- [PATCH 1/9] maint: fix syntax-check ignore patterns., Akim Demaille, 2012/07/18
- [PATCH 2/9] tests: refactor the bison invocations., Akim Demaille, 2012/07/18
- [PATCH 3/9] tests: refactor for legibility., Akim Demaille, 2012/07/18