diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/filenotify-tests.el | 8 | ||||
| -rw-r--r-- | test/lisp/files-tests.el | 4 | ||||
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 3 |
3 files changed, 8 insertions, 7 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 39156fbb5dc..a184fabb9ff 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el | |||
| @@ -771,9 +771,9 @@ delivered." | |||
| 771 | (copy-file file-notify--test-tmpfile file-notify--test-tmpfile1) | 771 | (copy-file file-notify--test-tmpfile file-notify--test-tmpfile1) |
| 772 | ;; The next two events shall not be visible. | 772 | ;; The next two events shall not be visible. |
| 773 | (file-notify--test-read-event) | 773 | (file-notify--test-read-event) |
| 774 | (set-file-modes file-notify--test-tmpfile 000) | 774 | (set-file-modes file-notify--test-tmpfile 000 'nofollow) |
| 775 | (file-notify--test-read-event) | 775 | (file-notify--test-read-event) |
| 776 | (set-file-times file-notify--test-tmpfile '(0 0)) | 776 | (set-file-times file-notify--test-tmpfile '(0 0) 'nofollow) |
| 777 | (file-notify--test-read-event) | 777 | (file-notify--test-read-event) |
| 778 | (delete-directory file-notify--test-tmpdir 'recursive)) | 778 | (delete-directory file-notify--test-tmpdir 'recursive)) |
| 779 | (file-notify-rm-watch file-notify--test-desc) | 779 | (file-notify-rm-watch file-notify--test-desc) |
| @@ -864,9 +864,9 @@ delivered." | |||
| 864 | (write-region | 864 | (write-region |
| 865 | "any text" nil file-notify--test-tmpfile nil 'no-message) | 865 | "any text" nil file-notify--test-tmpfile nil 'no-message) |
| 866 | (file-notify--test-read-event) | 866 | (file-notify--test-read-event) |
| 867 | (set-file-modes file-notify--test-tmpfile 000) | 867 | (set-file-modes file-notify--test-tmpfile 000 'nofollow) |
| 868 | (file-notify--test-read-event) | 868 | (file-notify--test-read-event) |
| 869 | (set-file-times file-notify--test-tmpfile '(0 0)) | 869 | (set-file-times file-notify--test-tmpfile '(0 0) 'nofollow) |
| 870 | (file-notify--test-read-event) | 870 | (file-notify--test-read-event) |
| 871 | (delete-file file-notify--test-tmpfile)) | 871 | (delete-file file-notify--test-tmpfile)) |
| 872 | (file-notify-rm-watch file-notify--test-desc) | 872 | (file-notify-rm-watch file-notify--test-desc) |
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index ac56a7732f2..05d9ceebf1d 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el | |||
| @@ -1003,9 +1003,9 @@ unquoted file names." | |||
| 1003 | 1003 | ||
| 1004 | (ert-deftest files-tests-file-name-non-special-set-file-times () | 1004 | (ert-deftest files-tests-file-name-non-special-set-file-times () |
| 1005 | (files-tests--with-temp-non-special (tmpfile nospecial) | 1005 | (files-tests--with-temp-non-special (tmpfile nospecial) |
| 1006 | (set-file-times nospecial)) | 1006 | (set-file-times nospecial nil 'nofollow)) |
| 1007 | (files-tests--with-temp-non-special-and-file-name-handler (tmpfile nospecial) | 1007 | (files-tests--with-temp-non-special-and-file-name-handler (tmpfile nospecial) |
| 1008 | (should-error (set-file-times nospecial)))) | 1008 | (should-error (set-file-times nospecial nil 'nofollow)))) |
| 1009 | 1009 | ||
| 1010 | (ert-deftest files-tests-file-name-non-special-set-visited-file-modtime () | 1010 | (ert-deftest files-tests-file-name-non-special-set-visited-file-modtime () |
| 1011 | (files-tests--with-temp-non-special (tmpfile nospecial) | 1011 | (files-tests--with-temp-non-special (tmpfile nospecial) |
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index be0f418c943..dcf376e70b4 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -3743,7 +3743,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 3743 | (file-attributes tmp-name1)))) | 3743 | (file-attributes tmp-name1)))) |
| 3744 | ;; Skip the test, if the remote handler is not able to set | 3744 | ;; Skip the test, if the remote handler is not able to set |
| 3745 | ;; the correct time. | 3745 | ;; the correct time. |
| 3746 | (skip-unless (set-file-times tmp-name1 (seconds-to-time 1))) | 3746 | (skip-unless (set-file-times tmp-name1 (seconds-to-time 1) |
| 3747 | 'nofollow)) | ||
| 3747 | ;; Dumb remote shells without perl(1) or stat(1) are not | 3748 | ;; Dumb remote shells without perl(1) or stat(1) are not |
| 3748 | ;; able to return the date correctly. They say "don't know". | 3749 | ;; able to return the date correctly. They say "don't know". |
| 3749 | (unless (tramp-compat-time-equal-p | 3750 | (unless (tramp-compat-time-equal-p |