From 6b91f64ed9e15c9df0767f4658de9ba4532456cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Tue, 26 Nov 2013 13:37:50 +0000 Subject: [PATCH] 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. --- tests/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local.mk b/tests/local.mk index 3c924255fe..59bf07f01b 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) -- 2.47.2