From fa265b0520f735bf4cb5e80c01dfa8626901e092 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 22 Oct 2023 10:47:17 +0200 Subject: [PATCH] rm: adjust fail-2eperm.sh - gnu test --- util/build-gnu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index e2c67539441..697c8c53795 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -189,6 +189,8 @@ grep -rlE '/usr/local/bin/\s?/usr/local/bin' init.cfg tests/* | xargs --no-run-i sed -i -e "s|rm: cannot remove 'e/slink'|rm: cannot remove 'e'|g" tests/rm/fail-eacces.sh +sed -i -e "s|rm: cannot remove 'a/b'|rm: cannot remove 'a'|g" tests/rm/fail-2eperm.sh + sed -i -e "s|rm: cannot remove 'a/b/file'|rm: cannot remove 'a'|g" tests/rm/cycle.sh sed -i -e "s|rm: cannot remove directory 'b/a/p'|rm: cannot remove 'b'|g" tests/rm/rm1.sh