1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 14:40:54 -08:00
emacs/test/src
Paul Eggert 900276502f Act like POSIX sh if $HOME is relative
POSIX says sh ~/foo should act like $HOME/foo even if $HOME is
relative, so be consistent with that (Bug#33255).
* admin/merge-gnulib (GNULIB_MODULES): Add dosname.
* src/buffer.c (init_buffer): Use emacs_wd to get
initial working directory with slash appended if needed.
(default-directory): Say it must be absolute.
* src/emacs.c (emacs_wd): New global variable.
(init_cmdargs): Dir arg is now char const *.
(main): Set emacs_wd.
* src/emacs.c (main) [NS_IMPL_COCOA]:
* src/fileio.c (Fexpand_file_name):
Use get_homedir instead of egetenv ("HOME").
* src/fileio.c: Include dosname.h, for IS_ABSOLUTE_FILE_NAME.
(splice_dir_file, get_homedir): New functions.
* src/xrdb.c (gethomedir): Remove.  All callers changed
to use get_homedir and splice_dir_file.
* test/src/fileio-tests.el (fileio-tests--relative-HOME): New test.
2018-11-13 09:32:50 -08:00
..
regex-resources
alloc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
buffer-tests.el * src/buffer.c (Fmove_overlay): Don't call Fdelete_overlay 2018-10-14 16:44:21 -04:00
callint-tests.el Fix off-by-one history pruning (bug#31211) 2018-05-02 20:18:07 -04:00
callproc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
casefiddle-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
charset-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
chartab-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cmds-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
coding-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
data-tests.el Fix (+ bignum float) bug 2018-09-21 23:09:08 -07:00
decompress-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
doc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
editfns-tests.el ; * test/src/editfns-tests.el (test-group-name): Ignore getent errors. 2018-11-10 19:15:59 -08:00
emacs-module-tests.el Merge from origin/emacs-26 2018-08-26 15:10:50 -07:00
eval-tests.el Keep a stack reference to bytecode objects being executed (Bug#33014) 2018-10-29 11:05:00 -07:00
fileio-tests.el Act like POSIX sh if $HOME is relative 2018-11-13 09:32:50 -08:00
floatfns-tests.el Round bignums consistently with other integers 2018-09-22 09:01:26 -07:00
fns-tests.el Fix glitches introduced by nthcdr changes 2018-08-21 02:05:31 -07:00
font-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
inotify-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
json-tests.el Improve 'json-insert' so it doesn't cons a string from JSON 2018-10-13 10:13:10 +03:00
keyboard-tests.el Update copyright year to 2018 2018-01-01 01:25:56 -08:00
keymap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lcms-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lread-tests.el Fix assertion failure when reading 'BIGNUM.' 2018-08-21 15:51:05 -07:00
marker-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
minibuf-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
print-tests.el Fix mishandling of symbols that look like numbers 2018-10-10 23:19:42 -07:00
process-tests.el Don’t assume ordering in make-process/mix-stderr 2018-05-21 12:31:54 -07:00
regex-emacs-tests.el Rename src/regex.c to src/regex-emacs.c. 2018-08-05 19:36:09 -07:00
syntax-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
textprop-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
thread-tests.el Avoid assertion violation when comparing with main-thread 2018-10-17 18:19:47 +03:00
timefns-tests.el Improvements on (TICKS . HZ) 2018-10-06 23:31:04 -07:00
undo-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xml-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00