diff options
author | Glenn Morris <rgm@gnu.org> | 2011-03-05 12:07:27 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-03-05 12:07:27 -0800 |
commit | 81fb60b2aa8bbd8699660588f56e15142aa91227 (patch) | |
tree | ad11239e7633c540541f94f145478f83c89b64ad /lisp/eshell/eshell.el | |
parent | c5f09daf79627a37d3eba0ec8c4cc0841007624d (diff) | |
download | emacs-81fb60b2aa8bbd8699660588f56e15142aa91227.tar.gz |
Move eshell's self-tests to the test/ directory.
* lisp/eshell/esh-var.el: Don't require esh-test when compiling.
* lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el:
* lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test.
* lisp/eshell/esh-test.el: Move to ../../test/eshell.el
* test/eshell.el: Move here from lisp/eshell/esh-test.el.
Diffstat (limited to 'lisp/eshell/eshell.el')
-rw-r--r-- | lisp/eshell/eshell.el | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index cda1eea2c55..1a9d7c97b83 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el @@ -280,26 +280,12 @@ shells such as bash, zsh, rc, 4dos." :type 'string :group 'eshell) -(eshell-deftest mode same-window-buffer-names - "`eshell-buffer-name' is a member of `same-window-buffer-names'" - (member eshell-buffer-name same-window-buffer-names)) - (defcustom eshell-directory-name (locate-user-emacs-file "eshell/" ".eshell/") "The directory where Eshell control files should be kept." :type 'directory :group 'eshell) -(eshell-deftest mode eshell-directory-exists - "`eshell-directory-name' exists and is writable" - (file-writable-p eshell-directory-name)) - -(eshell-deftest mode eshell-directory-modes - "`eshell-directory-name' has correct access protections" - (or (eshell-under-windows-p) - (= (file-modes eshell-directory-name) - eshell-private-directory-modes))) - ;;;_* Running Eshell ;; ;; There are only three commands used to invoke Eshell. The first two @@ -450,10 +436,6 @@ corresponding to a successful execution." (set status-var eshell-last-command-status)) (cadr result)))))) -(eshell-deftest mode simple-command-result - "`eshell-command-result' works with a simple command." - (= (eshell-command-result "+ 1 2") 3)) - ;;;_* Reporting bugs ;; ;; If you do encounter a bug, on any system, please report |