From: Modestas Vainius Date: Thu, 3 Dec 2009 22:02:01 +0000 (+0200) Subject: Sometimes SIGINTing the test suite leaves Makefile behind. X-Git-Tag: 7.4.10~7 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bd97b09925d8e72b19804f831bc6237509bfbff1;p=debhelper.git Sometimes SIGINTing the test suite leaves Makefile behind. So use -f for ln. It is safe. (cherry picked from commit d89a2c6d2c7148f6e890c0c11e64b92982d3f869) --- diff --git a/t/buildsystems/buildsystem_tests b/t/buildsystems/buildsystem_tests index 2204f3f..1a9e21c 100755 --- a/t/buildsystems/buildsystem_tests +++ b/t/buildsystems/buildsystem_tests @@ -604,7 +604,7 @@ sub do_rules_for_parallel { "make -f - $cmdline 2>&1 >/dev/null", $stdin); } -doit("ln", "-s", "parallel.mk", "Makefile"); +doit("ln", "-sf", "parallel.mk", "Makefile"); # Test if dh+override+$(MAKE) legacy punctuation hack work as before $ENV{MAKEFLAGS} = "-j5";