diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-11-26 13:37:50 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-11-27 01:28:20 +0000 |
commit | 6b91f64ed9e15c9df0767f4658de9ba4532456cf (patch) | |
tree | 18be92314c544e63ad416048ba5858c4d3a10de1 /tests | |
parent | 39e0c9ba5d7a37401a30e1304282142e525e334c (diff) | |
download | coreutils-6b91f64ed9e15c9df0767f4658de9ba4532456cf.tar.xz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/local.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/local.mk b/tests/local.mk index 3c924255f..59bf07f01 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) |