diff options
| author | Michael Albinus <michael.albinus@gmx.de> | 2018-06-05 09:43:34 +0200 |
|---|---|---|
| committer | Michael Albinus <michael.albinus@gmx.de> | 2018-06-05 09:43:34 +0200 |
| commit | 7c1fa1795551af0890cfbc798d88d656d57c1728 (patch) | |
| tree | ab59192656f36bac72cc152e0b5dd443b150f8ea /test/lisp/files-tests.el | |
| parent | 1dafa4a02ed45bb4d02c6dc34c55518858422088 (diff) | |
| download | emacs-7c1fa1795551af0890cfbc798d88d656d57c1728.tar.gz | |
Fix selinux test in files-tests.el
* test/lisp/files-tests.el
(files-tests-file-name-non-special-set-file-selinux-context):
Adapt test.
Diffstat (limited to 'test/lisp/files-tests.el')
| -rw-r--r-- | test/lisp/files-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 30a09c796e8..3b192ee8727 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el @@ -998,7 +998,8 @@ unquoted file names." (set-file-selinux-context nospecial (file-selinux-context nospecial)))) (files-tests--with-temp-non-special-and-file-name-handler (tmpfile nospecial) (unless (equal (file-selinux-context tmpfile) '(nil nil nil nil)) - (set-file-selinux-context nospecial (file-selinux-context nospecial))))) + (should-error + (set-file-selinux-context nospecial (file-selinux-context nospecial)))))) (ert-deftest files-tests-file-name-non-special-set-file-times () (files-tests--with-temp-non-special (tmpfile nospecial) |
