From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Cc: Daniel Mendler <mail@daniel-mendler.de>
Subject: Re: [elpa] externals/compat 9600545c54 6/6: Add test for temporary-file-directory
Date: Mon, 16 Jan 2023 13:12:31 +0100 [thread overview]
Message-ID: <87sfgallu8.fsf@gmx.de> (raw)
In-Reply-To: <20230116115727.25BB4C04965@vcs2.savannah.gnu.org> (ELPA Syncer's message of "Mon, 16 Jan 2023 06:57:27 -0500 (EST)")
ELPA Syncer <elpasync@gnu.org> writes:
Hi Daniel,
> +(ert-deftest temporary-file-directory ()
> + (should-equal (temporary-file-directory) temporary-file-directory)
> + (let ((default-directory "/mnt"))
> + (should-equal (temporary-file-directory) default-directory))
> + ;; TODO how can we test tramp?
> + ;;(let ((default-directory "/sudo:/"))
> + ;; (should-equal (temporary-file-directory) temporary-file-directory))
> + ;;(let ((default-directory "/ssh:does-not-exist:/"))
> + ;; (should-equal (temporary-file-directory) "/ssh:does-not-exist:/tmp/"))
See ert-remote-temporary-file-directory in ert-x.el.
Best regards, Michael.
next parent reply other threads:[~2023-01-16 12:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <167387024599.18919.16349114791137926023@vcs2.savannah.gnu.org>
[not found] ` <20230116115727.25BB4C04965@vcs2.savannah.gnu.org>
2023-01-16 12:12 ` Michael Albinus [this message]
2023-01-16 14:08 ` [elpa] externals/compat 9600545c54 6/6: Add test for temporary-file-directory Daniel Mendler
2023-01-16 15:32 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfgallu8.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=mail@daniel-mendler.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.