From 65931ce7a9a84ddb9adb118b7558bfd1b8c3ee46 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 22 Sep 2013 11:28:46 -0400 Subject: Regression test portability to Solaris. --- tests/scripts/features/jobserver | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/scripts/features/jobserver') diff --git a/tests/scripts/features/jobserver b/tests/scripts/features/jobserver index 6a9565e..f2c6787 100644 --- a/tests/scripts/features/jobserver +++ b/tests/scripts/features/jobserver @@ -19,6 +19,8 @@ if (!$parallel_jobs) { # get one from the original invocation and none from the re-exec. # See Savannah bug #18124 +unlink('inc.mk'); + run_make_test(q! -include inc.mk recur: @@ -34,7 +36,7 @@ inc.mk: !, '--no-print-directory -j2', "#MAKE#[1]: warning: -jN forced in submake: disabling jobserver mode.\nall\n"); -rmfiles('inc.mk'); +unlink('inc.mk'); # Test recursion when make doesn't think it exists. # See Savannah bug #39934 @@ -54,6 +56,6 @@ default: ; @ #MAKEPATH# -f Makefile2 "#MAKE#[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. #MAKE#[1]: Nothing to be done for 'foo'."); -unlink('Makefile2'); +rmfiles('Makefile2'); 1; -- cgit v1.2.3