diff tests/test-journal-exists.t @ 50292:adecb1ab4a0d stable

tests: add a rewriting step to detect EACCES errors
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Fri, 10 Mar 2023 18:20:19 +0000
parents 2f2682f40ea0
children dcaa2df1f688
line wrap: on
line diff
--- a/tests/test-journal-exists.t	Tue Mar 07 03:42:40 2023 +0100
+++ b/tests/test-journal-exists.t	Fri Mar 10 18:20:19 2023 +0000
@@ -47,7 +47,7 @@
 
   $ hg -R foo unbundle repo.hg
   adding changesets
-  abort: Permission denied: '$TESTTMP/repo/foo/.hg/store/.00changelog.i-*' (glob)
+  abort: $EACCES$: '$TESTTMP/repo/foo/.hg/store/.00changelog.i-*' (glob)
   [255]
 
   $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi