aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2015-04-01 17:04:07 +0200
committerMichael Albinus2015-04-01 17:04:07 +0200
commitdd3f56789371c904c53f057b288cdcfc9cc56b25 (patch)
treec1e984eea877ac4aaeb38a6ccbca0df6b1408e4a /test
parent1b70aa634c9ce117fed418894b54b1f2647bda1c (diff)
downloademacs-dd3f56789371c904c53f057b288cdcfc9cc56b25.tar.gz
emacs-dd3f56789371c904c53f057b288cdcfc9cc56b25.zip
Fix tramp-tests.el
* automated/tramp-tests.el (tramp-test06-directory-file-name): Fix docstring and last test.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/automated/tramp-tests.el7
2 files changed, 8 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 48544311553..fa3c45d9d45 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
12015-04-01 Michael Albinus <michael.albinus@gmx.de>
2
3 * automated/tramp-tests.el (tramp-test06-directory-file-name):
4 Fix docstring and last test.
5
12015-04-01 Nicolas Petton <nicolas@petton.fr> 62015-04-01 Nicolas Petton <nicolas@petton.fr>
2 7
3 * Version 24.5 released. 8 * Version 24.5 released.
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index 6b0d89f9b0a..dca188a9eb6 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -558,8 +558,8 @@ shall not contain a timeout."
558 558
559(ert-deftest tramp-test06-directory-file-name () 559(ert-deftest tramp-test06-directory-file-name ()
560 "Check `directory-file-name'. 560 "Check `directory-file-name'.
561This checks also `file-name-as-directory', `file-name-directory' 561This checks also `file-name-as-directory', `file-name-directory',
562and `file-name-nondirectory'." 562`file-name-nondirectory' and `unhandled-file-name-directory'."
563 (should 563 (should
564 (string-equal 564 (string-equal
565 (directory-file-name "/method:host:/path/to/file") 565 (directory-file-name "/method:host:/path/to/file")
@@ -589,8 +589,7 @@ and `file-name-nondirectory'."
589 (should 589 (should
590 (string-equal (file-name-nondirectory "/method:host:/path/to/file/") "")) 590 (string-equal (file-name-nondirectory "/method:host:/path/to/file/") ""))
591 (should-not 591 (should-not
592 (file-remote-p 592 (unhandled-file-name-directory "/method:host:/path/to/file")))
593 (unhandled-file-name-directory "/method:host:/path/to/file"))))
594 593
595(ert-deftest tramp-test07-file-exists-p () 594(ert-deftest tramp-test07-file-exists-p ()
596 "Check `file-exist-p', `write-region' and `delete-file'." 595 "Check `file-exist-p', `write-region' and `delete-file'."