]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/net/tramp-tests.el (tramp-test27-load): Adapt test. Don't merge
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 15 May 2022 07:02:42 +0000 (09:02 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 15 May 2022 07:02:42 +0000 (09:02 +0200)
test/lisp/net/tramp-tests.el

index 8b999a6e3465f925e94fb29d5243988c43392b2a..7a377e7fbf1d6cb6d338e051def3ba8c534b610e 100644 (file)
@@ -4425,7 +4425,9 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
     (let ((tmp-name (tramp--test-make-temp-name nil quoted)))
       (unwind-protect
          (progn
-           (load tmp-name 'noerror 'nomessage)
+           ;; Ange-FTP does not tolerate a missing file, even with `noerror'.
+           (unless (tramp--test-ange-ftp-p)
+             (load tmp-name 'noerror 'nomessage))
            (should-not (featurep 'tramp-test-load))
            (write-region "(provide 'tramp-test-load)" nil tmp-name)
            ;; `load' in lread.c does not pass `must-suffix'.  Why?