diff -r a10d823a8e3d -r 7e5be4a7cda7 tests/test-subrepo-deep-nested-change.t --- a/tests/test-subrepo-deep-nested-change.t Mon Jun 26 11:15:30 2023 +0100 +++ b/tests/test-subrepo-deep-nested-change.t Mon Jun 26 14:34:58 2023 +0200 @@ -396,7 +396,7 @@ archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) (esc) archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) (esc) \r (no-eol) (esc) - $ diff -r . ../wdir | egrep -v '\.hg$|^Common subdirectories:' + $ diff -r . ../wdir | grep -E -v '\.hg$|^Common subdirectories:' Only in ../wdir: .hg_archival.txt $ find ../wdir -type f | sort @@ -815,7 +815,7 @@ $ hg add sub1/sub2 $ hg archive -S -r 'wdir()' ../wdir2 - $ diff -r . ../wdir2 | egrep -v '\.hg$|^Common subdirectories:' + $ diff -r . ../wdir2 | grep -E -v '\.hg$|^Common subdirectories:' Only in ../wdir2: .hg_archival.txt Only in .: .hglf Only in .: foo @@ -854,7 +854,7 @@ $ echo 'mod' > large.bin $ echo 'mod' > sub1/sub2/large.dat $ hg archive -S -r 'wdir()' ../wdir3 - $ diff -r . ../wdir3 | egrep -v '\.hg$|^Common subdirectories' + $ diff -r . ../wdir3 | grep -E -v '\.hg$|^Common subdirectories' Only in ../wdir3: .hg_archival.txt Only in .: .hglf Only in .: foo