From: Pádraig Brady
Date: Tue, 26 Nov 2013 13:37:50 +0000 (+0000) Subject: tests: ensure factor tests can be regenerated X-Git-Tag: v8.22~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b91f64ed9e15c9df0767f4658de9ba4532456cf;p=thirdparty%2Fcoreutils.git 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. --- 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)