summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-02-19 15:35:22 -0500
committerPaul Smith <psmith@gnu.org>2023-02-19 15:35:22 -0500
commit44366555681f7a855ecf7df987967649c7ff3595 (patch)
tree5d17a45b434f58cba1a9a1f3f680d66c741f87e3
parent549fc561023208fdda709beb9c98d411abe87064 (diff)
downloadmake-git-44366555681f7a855ecf7df987967649c7ff3595.tar.gz
* tests/scripts/features/include [AIX]: Set explicit timestamps
-rw-r--r--tests/scripts/features/include8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/scripts/features/include b/tests/scripts/features/include
index c4db8aad..cedabf7f 100644
--- a/tests/scripts/features/include
+++ b/tests/scripts/features/include
@@ -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');