Mercurial > hg > xemacs-beta
comparison tests/automated/file-tests.el @ 4948:8b230c53075b
fix some tests in `make check', also add our own file-tests
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-01-25 Ben Wing <ben@xemacs.org>
* mule/cyrillic.el (koi8-c):
Fix bug in #83 mapping.
* mule/vietnamese.el (viscii):
Fix bug in #A6 mapping.
tests/ChangeLog addition:
2010-01-25 Ben Wing <ben@xemacs.org>
* automated/file-tests.el:
New file.
* automated/mule-tests.el (featurep):
* automated/test-harness.el (test-harness-from-buffer):
* automated/test-harness.el (batch-test-emacs):
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 25 Jan 2010 03:03:49 -0600 |
parents | |
children | 0f66906b6e37 |
comparison
equal
deleted
inserted
replaced
4947:4faad22a9fe5 | 4948:8b230c53075b |
---|---|
1 ;;; file-tests.el --- test support for filesystem primitives | |
2 | |
3 ;; Copyright (C) 2010 Ben Wing. | |
4 | |
5 ;; Author: Ben Wing <ben@xemacs.org> | |
6 ;; Maintainer: Ben Wing <ben@xemacs.org> | |
7 ;; Created: 2010 January 25 | |
8 ;; Keywords: files, filenames, file names | |
9 | |
10 ;; This file is part of XEmacs. | |
11 | |
12 ;; XEmacs is free software; you can redistribute it and/or modify it | |
13 ;; under the terms of the GNU General Public License as published by | |
14 ;; the Free Software Foundation; either version 2, or (at your option) | |
15 ;; any later version. | |
16 | |
17 ;; XEmacs is distributed in the hope that it will be useful, but | |
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
20 ;; General Public License for more details. | |
21 | |
22 ;; You should have received a copy of the GNU General Public License | |
23 ;; along with XEmacs; see the file COPYING. If not, write to the Free | |
24 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
25 ;; 02111-1307, USA. | |
26 | |
27 ;;; Synched up with: Not in FSF. | |
28 | |
29 ;;; Commentary: | |
30 | |
31 ;; Test file-system support. Opening files, file names, etc. | |
32 ;; See test-harness.el for instructions on how to run these tests. | |
33 | |
34 ;; Test that `file-truename' is idempotent (same value when called multiple | |
35 ;; times). Under Cygwin 1.7 as of 1-24-10, not true! | |
36 (loop for file in (list (temp-directory) | |
37 (file-name-as-directory (temp-directory)) | |
38 "/" | |
39 (file-name-as-directory "/") | |
40 (make-temp-name "foo") | |
41 ) | |
42 do | |
43 (Assert-equal (file-truename (file-truename file)) (file-truename file))) | |
44 | |
45 |