* 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.
---
 tests/local.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/local.mk b/tests/local.mk
index 3c92425..59bf07f 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -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)
 
-- 
1.7.7.6


Reply via email to