coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: ensure factor tests can be regenerated


From: Pádraig Brady
Subject: [PATCH] tests: ensure factor tests can be regenerated
Date: Tue, 26 Nov 2013 13:40:36 +0000

* 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

[Prev in Thread] Current Thread [Next in Thread]