diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/eshell/esh-var-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/eshell/esh-var-tests.el b/test/lisp/eshell/esh-var-tests.el index 3f602798dbe..0cc1b92266f 100644 --- a/test/lisp/eshell/esh-var-tests.el +++ b/test/lisp/eshell/esh-var-tests.el | |||
| @@ -746,6 +746,10 @@ it, since the setter is nil." | |||
| 746 | (format "cd %s" ert-remote-temporary-file-directory)) | 746 | (format "cd %s" ert-remote-temporary-file-directory)) |
| 747 | (eshell-match-command-output "echo $PATH" (regexp-quote remote-path))))) | 747 | (eshell-match-command-output "echo $PATH" (regexp-quote remote-path))))) |
| 748 | 748 | ||
| 749 | (ert-deftest esh-var-test/uid-var () | ||
| 750 | "Test that $UID is equivalent to (user-uid) for local directories." | ||
| 751 | (eshell-command-result-equal "echo $UID" (user-uid))) | ||
| 752 | |||
| 749 | (ert-deftest esh-var-test/last-status-var-lisp-command () | 753 | (ert-deftest esh-var-test/last-status-var-lisp-command () |
| 750 | "Test using the \"last exit status\" ($?) variable with a Lisp command" | 754 | "Test using the \"last exit status\" ($?) variable with a Lisp command" |
| 751 | (with-temp-eshell | 755 | (with-temp-eshell |