From f220c86121b90d96bc3c7ecc4008a40ccac47206 Mon Sep 17 00:00:00 2001 From: Niyaz Nigmatullin Date: Mon, 18 Jul 2022 23:53:05 +0300 Subject: [PATCH] util/build-gnu.sh: remove some test changes + change some messages --- util/build-gnu.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 47552d3a6..e31c0efbb 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -205,8 +205,7 @@ sed -i -e "s/cat opts/sed -i -e \"s| <.\*>$||g\" opts/" tests/misc/usage_vs_geto sed -i -e "s/provoked error./provoked error\ncat pat |sort -u > pat/" tests/misc/usage_vs_getopt.sh # Update the GNU error message to match ours -sed -i -e "s/ln: 'f' and 'f' are the same file/ln: failed to link 'f' to 'f': Same file/g" tests/ln/hard-backup.sh -sed -i -e "s/failed to access 'no-such-dir'\":/failed to link 'no-such-dir'\"/" -e "s/link-to-dir: hard link not allowed for directory/failed to link 'link-to-dir' to/" -e "s|link-to-dir/: hard link not allowed for directory|failed to link 'link-to-dir/' to|" tests/ln/hard-to-sym.sh +sed -i -e "s/link-to-dir: hard link not allowed for directory/failed to create hard link 'link-to-dir' =>/" -e "s|link-to-dir/: hard link not allowed for directory|failed to create hard link 'link-to-dir/' =>|" tests/ln/hard-to-sym.sh # GNU sleep accepts some crazy string, not sure we should match this behavior