diff options
| author | Michael Albinus | 2018-06-05 09:43:34 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-06-05 09:43:34 +0200 |
| commit | 7c1fa1795551af0890cfbc798d88d656d57c1728 (patch) | |
| tree | ab59192656f36bac72cc152e0b5dd443b150f8ea /test | |
| parent | 1dafa4a02ed45bb4d02c6dc34c55518858422088 (diff) | |
| download | emacs-7c1fa1795551af0890cfbc798d88d656d57c1728.tar.gz emacs-7c1fa1795551af0890cfbc798d88d656d57c1728.zip | |
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')
| -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." | |||
| 998 | (set-file-selinux-context nospecial (file-selinux-context nospecial)))) | 998 | (set-file-selinux-context nospecial (file-selinux-context nospecial)))) |
| 999 | (files-tests--with-temp-non-special-and-file-name-handler (tmpfile nospecial) | 999 | (files-tests--with-temp-non-special-and-file-name-handler (tmpfile nospecial) |
| 1000 | (unless (equal (file-selinux-context tmpfile) '(nil nil nil nil)) | 1000 | (unless (equal (file-selinux-context tmpfile) '(nil nil nil nil)) |
| 1001 | (set-file-selinux-context nospecial (file-selinux-context nospecial))))) | 1001 | (should-error |
| 1002 | (set-file-selinux-context nospecial (file-selinux-context nospecial)))))) | ||
| 1002 | 1003 | ||
| 1003 | (ert-deftest files-tests-file-name-non-special-set-file-times () | 1004 | (ert-deftest files-tests-file-name-non-special-set-file-times () |
| 1004 | (files-tests--with-temp-non-special (tmpfile nospecial) | 1005 | (files-tests--with-temp-non-special (tmpfile nospecial) |