]> git.eshelyaron.com Git - emacs.git/commit
Don't use symbolic links in the test resource directory.
authorPhilipp Stephani <phst@google.com>
Fri, 7 May 2021 16:36:57 +0000 (18:36 +0200)
committerPhilipp Stephani <phst@google.com>
Fri, 7 May 2021 16:36:57 +0000 (18:36 +0200)
commita2842a11728336fc8110eedb5176ecfbe71bbc79
tree219365ced7e07236a0d81b0a06e9f1767f664a25
parent9457d4f20f1f3da8450924cfe1f776fdd04261bb
Don't use symbolic links in the test resource directory.

This doesn't work on Windows.  Instead, use the EMACS_TEST_DIRECTORY
environment variable to find the BPF files.

* test/src/emacs-tests.el (emacs-tests--lib-src): New constant.
(emacs-tests/seccomp/allows-stdout)
(emacs-tests/seccomp/forbids-subprocess)
(emacs-tests/bwrap/allows-stdout): Use it.
test/src/emacs-resources/seccomp-filter-exec.bpf [deleted symlink]
test/src/emacs-resources/seccomp-filter.bpf [deleted symlink]
test/src/emacs-tests.el