|
68 | 68 | (defvar tramp-connection-properties)
|
69 | 69 | (defvar tramp-copy-size-limit)
|
70 | 70 | (defvar tramp-display-escape-sequence-regexp)
|
| 71 | +(defvar tramp-fuse-remove-hidden-files) |
71 | 72 | (defvar tramp-fuse-unmount-on-cleanup)
|
72 | 73 | (defvar tramp-inline-compress-start-size)
|
73 | 74 | (defvar tramp-persistency-file-name)
|
@@ -2997,7 +2998,8 @@ This tests also `file-directory-p' and `file-accessible-directory-p'."
|
2997 | 2998 | (skip-unless (tramp--test-enabled))
|
2998 | 2999 |
|
2999 | 3000 | (dolist (quoted (if (tramp--test-expensive-test-p) '(nil t) '(nil)))
|
3000 |
| - (let* ((tmp-name1 (tramp--test-make-temp-name nil quoted)) |
| 3001 | + (let* ((tramp-fuse-remove-hidden-files t) |
| 3002 | + (tmp-name1 (tramp--test-make-temp-name nil quoted)) |
3001 | 3003 | (tmp-name2 (expand-file-name "bla" tmp-name1))
|
3002 | 3004 | (tmp-name3 (expand-file-name "foo" tmp-name1)))
|
3003 | 3005 | (unwind-protect
|
@@ -3041,7 +3043,8 @@ This tests also `file-directory-p' and `file-accessible-directory-p'."
|
3041 | 3043 | (skip-unless (tramp--test-enabled))
|
3042 | 3044 |
|
3043 | 3045 | (dolist (quoted (if (tramp--test-expensive-test-p) '(nil t) '(nil)))
|
3044 |
| - (let* ((tmp-name1 (tramp--test-make-temp-name nil quoted)) |
| 3046 | + (let* ((tramp-fuse-remove-hidden-files t) |
| 3047 | + (tmp-name1 (tramp--test-make-temp-name nil quoted)) |
3045 | 3048 | (tmp-name2 (expand-file-name "foo" tmp-name1))
|
3046 | 3049 | (tmp-name3 (expand-file-name "bar" tmp-name1))
|
3047 | 3050 | (tmp-name4 (expand-file-name "baz" tmp-name1))
|
@@ -4303,7 +4306,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
|
4303 | 4306 | ;; Method and host name in completion mode. This kind of completion
|
4304 | 4307 | ;; does not work on MS Windows.
|
4305 | 4308 | (when (not (memq system-type '(cygwin windows-nt)))
|
4306 |
| - (let ((method (file-remote-p tramp-test-temporary-file-directory 'method)) |
| 4309 | + (let ((tramp-fuse-remove-hidden-files t) |
| 4310 | + (method (file-remote-p tramp-test-temporary-file-directory 'method)) |
4307 | 4311 | (host (file-remote-p tramp-test-temporary-file-directory 'host))
|
4308 | 4312 | (orig-syntax tramp-syntax))
|
4309 | 4313 | (when (and (stringp host) (string-match tramp-host-with-port-regexp host))
|
@@ -4355,7 +4359,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
|
4355 | 4359 |
|
4356 | 4360 | (dolist (non-essential '(nil t))
|
4357 | 4361 | (dolist (quoted (if (tramp--test-expensive-test-p) '(nil t) '(nil)))
|
4358 |
| - (let ((tmp-name (tramp--test-make-temp-name nil quoted))) |
| 4362 | + (let ((tramp-fuse-remove-hidden-files t) |
| 4363 | + (tmp-name (tramp--test-make-temp-name nil quoted))) |
4359 | 4364 |
|
4360 | 4365 | (unwind-protect
|
4361 | 4366 | (progn
|
@@ -6463,6 +6468,7 @@ This requires restrictions of file name syntax."
|
6463 | 6468 | ;; would let the test fail.
|
6464 | 6469 | (let* ((tramp-test-temporary-file-directory
|
6465 | 6470 | (file-truename tramp-test-temporary-file-directory))
|
| 6471 | + (tramp-fuse-remove-hidden-files t) |
6466 | 6472 | (tmp-name1 (tramp--test-make-temp-name nil quoted))
|
6467 | 6473 | (tmp-name2 (tramp--test-make-temp-name 'local quoted))
|
6468 | 6474 | (files
|
@@ -6636,7 +6642,7 @@ This requires restrictions of file name syntax."
|
6636 | 6642 |
|
6637 | 6643 | (delete-file file2)
|
6638 | 6644 | (should-not (file-exists-p file2))
|
6639 |
| - (delete-directory file1) |
| 6645 | + (delete-directory file1 'recursive) |
6640 | 6646 | (should-not (file-exists-p file1))))
|
6641 | 6647 |
|
6642 | 6648 | ;; Check, that environment variables are set correctly.
|
|
0 commit comments