]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/scripts/features/include [AIX]: Set explicit timestamps
authorPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 20:35:22 +0000 (15:35 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 20:35:22 +0000 (15:35 -0500)
tests/scripts/features/include

index c4db8aada31efc2d69bbd5dc27762e9806a07d81..cedabf7f1adb091ab58dd3630bb15b32b3b43482 100644 (file)
@@ -476,14 +476,16 @@ all: ;
 # Test that included makefiles are not intermediate.
 # Here 'test.foo' is mentioned explicitly and cannot be considered
 # intermediate.
-&touch('test.foo', 'test.x', 'test');
+utouch(-10, 'test.foo');
+utouch(-5, 'test.x');
+touch('test');
 run_make_test(q!
 .PHONY: force
 include test.foo
-%.foo: force; touch -a $@
+%.foo: force; @echo force $@
 %.x: %.foo; touch $@
 test: test.x; touch $@
-!, '', "touch -a test.foo\n#MAKE#: 'test' is up to date.\n");
+!, '', "force test.foo\n#MAKE#: 'test' is up to date.\n");
 
 unlink('test.foo', 'test.x', 'test');