diff options
| author | Paul Eggert | 2025-01-31 14:42:33 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-01-31 15:01:34 -0800 |
| commit | c1006565184b945aaf5c7d98afe6ee97e6cdb090 (patch) | |
| tree | a6daffdcad89eba3f3f7850563c35e62b63b1baf /test | |
| parent | bd39ec062d0078c97140b8ad4ddf7c47e6f6e4ee (diff) | |
| download | emacs-c1006565184b945aaf5c7d98afe6ee97e6cdb090.tar.gz emacs-c1006565184b945aaf5c7d98afe6ee97e6cdb090.zip | |
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.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index f70c67875cf..25e5f483f4b 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el | |||
| @@ -1736,6 +1736,12 @@ mountpoint (Bug#44631)." | |||
| 1736 | (set-file-modes input-file #o400) | 1736 | (set-file-modes input-file #o400) |
| 1737 | (set-file-modes output-file #o200) | 1737 | (set-file-modes output-file #o200) |
| 1738 | (set-file-modes directory #o500) | 1738 | (set-file-modes directory #o500) |
| 1739 | (skip-unless | ||
| 1740 | (zerop (call-process | ||
| 1741 | bwrap nil nil nil | ||
| 1742 | "--ro-bind" "/" "/" | ||
| 1743 | "--bind" unquoted-file unquoted-file | ||
| 1744 | "true"))) | ||
| 1739 | (with-temp-buffer | 1745 | (with-temp-buffer |
| 1740 | (let ((status (call-process | 1746 | (let ((status (call-process |
| 1741 | bwrap nil t nil | 1747 | bwrap nil t nil |