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:
parent
bd39ec062d
commit
c100656518
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue