diff options
author | Ron Yorston <rmy@pobox.com> | 2024-06-14 12:49:53 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-06-14 12:49:53 +0100 |
commit | edf069ffc299d88c2291c20736bd1463ff030e12 (patch) | |
tree | 8232c9300119af46c0d0cb481038ce9b31d83bc6 /testsuite | |
parent | 9ee8e87d5affe019aeb2b8afe4b908672c4c2fa5 (diff) | |
download | busybox-w32-edf069ffc299d88c2291c20736bd1463ff030e12.tar.gz busybox-w32-edf069ffc299d88c2291c20736bd1463ff030e12.tar.bz2 busybox-w32-edf069ffc299d88c2291c20736bd1463ff030e12.zip |
make: update for POSIX 2024
Now that POSIX.1-2024 has been released we can replace all
references to the 202X draft standard with 2024.
Make this change throughout the code and testsuite.
The pragma 'posix_2024' has been added. 'posix_202x' remains as
an alias for the same.
The 2024 standard is enforced by default in POSIX mode.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/make.tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests index d9d56270a..2425ae99d 100755 --- a/testsuite/make.tests +++ b/testsuite/make.tests | |||
@@ -443,7 +443,7 @@ target: | |||
443 | b} | 443 | b} |
444 | ' | 444 | ' |
445 | 445 | ||
446 | # The CURDIR macro is supported in POSIX 202X. | 446 | # The CURDIR macro is supported in POSIX 2024. |
447 | testing "make CURDIR macro" \ | 447 | testing "make CURDIR macro" \ |
448 | "make -f -" \ | 448 | "make -f -" \ |
449 | "OK\n" "" ' | 449 | "OK\n" "" ' |
@@ -482,7 +482,7 @@ target: | |||
482 | @echo $(MYFLAG) | 482 | @echo $(MYFLAG) |
483 | ' | 483 | ' |
484 | 484 | ||
485 | # POSIX 202X permits additional characters in macro and target names | 485 | # POSIX 2024 permits additional characters in macro and target names |
486 | testing "make allow - and / in target names, - in macro names" \ | 486 | testing "make allow - and / in target names, - in macro names" \ |
487 | "make -f -" \ | 487 | "make -f -" \ |
488 | "/hello\nhel-lo\nmac-ro\n" "" ' | 488 | "/hello\nhel-lo\nmac-ro\n" "" ' |