From d3f578dcfbd2a1ae49e2fa09c7ad2f152511a1db Mon Sep 17 00:00:00 2001 From: Chris Dryden Date: Mon, 1 Dec 2025 19:24:44 -0500 Subject: [PATCH] Stop back-porting writable-under-readonly.sh Add script to download writable-under-readonly.sh test --- util/build-gnu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 532e905929d..3a30a759d03 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -283,6 +283,8 @@ test -f "${UU_BUILD_DIR}/getlimits" || cp src/getlimits "${UU_BUILD_DIR}" "${SED}" -i -e "s/du: invalid -t argument/du: invalid --threshold argument/" -e "s/du: option requires an argument/error: a value is required for '--threshold ' but none was supplied/" -e "s/Try 'du --help' for more information./\nFor more information, try '--help'./" tests/du/threshold.sh +curl https://raw.githubusercontent.com/coreutils/coreutils/refs/heads/master/tests/mkdir/writable-under-readonly.sh > tests/mkdir/writable-under-readonly.sh + # Remove the extra output check "${SED}" -i -e "s|Try '\$prog --help' for more information.\\\n||" tests/du/files0-from.pl "${SED}" -i -e "s|when reading file names from stdin, no file name of\"|-: No such file or directory\n\"|" -e "s| '-' allowed\\\n||" tests/du/files0-from.pl