1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-05 08:10:15 +02:00

tests: ensure factor tests can be regenerated

* tests/local.mk (factor-tests:) Add -f to the mv command that
replaces any existing generated tests.  This is required to avoid
prompts when root initially generates the tests, and they subsequently
need to be regenerated by a non root user.
This commit is contained in:
Pádraig Brady
2013-11-26 13:37:50 +00:00
parent 39e0c9ba5d
commit 6b91f64ed9
+1 -1
View File
@@ -658,7 +658,7 @@ $(factor_tests): $(tf)/run.sh $(tf)/create-test.sh
$(AM_V_at)$(SHELL) $(srcdir)/$(tf)/create-test.sh $@ \
$(srcdir)/$(tf)/run.sh > $@-t
$(AM_V_at)chmod a+x $@-t
$(AM_V_at)mv $@-t $@
$(AM_V_at)mv -f $@-t $@
CLEANFILES += $(factor_tests)