Port dest-mountpoint test to suspicious bwrap

* test/lisp/emacs-lisp/bytecomp-tests.el:
(bytecomp-tests--dest-mountpoint): Skip test if bwrap prohibits
even ‘true’, which it does on my Ubuntu 24.10 platform.
This commit is contained in:
Paul Eggert 2025-01-31 14:42:33 -08:00
parent bd39ec062d
commit c100656518

View file

@ -1736,6 +1736,12 @@ mountpoint (Bug#44631)."
(set-file-modes input-file #o400)
(set-file-modes output-file #o200)
(set-file-modes directory #o500)
(skip-unless
(zerop (call-process
bwrap nil nil nil
"--ro-bind" "/" "/"
"--bind" unquoted-file unquoted-file
"true")))
(with-temp-buffer
(let ((status (call-process
bwrap nil t nil