summaryrefslogtreecommitdiff
path: root/tests/install/basic-1
AgeCommit message (Collapse)Author
2006-10-07* src/install.c (make_ancestor): New arg COMPONENT.Paul Eggert
* src/mkdir.c (make_ancestor): Likewise. * tests/install/basic-1: Check for install -Dv bug.
2006-10-05* tests/install/basic-1: Skip the latter part of this test if theJim Meyering
just-built dd binary is not readable. Otherwise, this test would fail when binaries were created as root. Reported by Bauke Jan Douma in <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/8433>.
2006-09-18Fix bug where chmod, chown, and chgrp did not process operandsPaul Eggert
left-to-right in some cases. * src/chmod.c (wd_errno): New var. (chmod_file): New function, with most of the contents of the old prcess_file function. (process_files): Use it. This gives file names to fts one at a time, so that they are processed left-to-right as POSIX requires. * src/chown-core.c (wd_errno, chown_files): Likewise. (chown_file): New function. * tests/install/basic-1: Redo test so as to not workaround the chmod bug, thereby testing for it.
2006-09-16* NEWS: Document that mkdir -p and install -d now fork on occasion.Paul Eggert
* bootstrap.conf (gnulib_modules): Add savewd. * src/install.c: Include savewd.h. (process_dir): New function. (main, install_file_in_file_parents): Use it, along with the new savewd module, to avoid some race conditions. * src/mkdir.c: Include savewd.h. (struct mkdir_options): New members make_ancestor_function, mode, mode_bits. (make_ancestor): Return 1 if the resulting directory is not readable. (process_dir): New function. (main): Use it, along with new savewd module, to avoid some race conditions. Fill in new slots of struct mkdir_options, so that callees get the values. * tests/install/basic-1: Test for coreutils 5.97 bug that was fixed in coreutils 6.0, and which should still be fixed with this change. * tests/mkdir/p-3: Likewise.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2005-09-21Require that this test be run as non-root.Jim Meyering
Otherwise, it fails due to the fact that the chmod 0 . doesn't affect root.
2005-06-15Ensure that rel-named dirs are not created when chdir($PWD) fails.Jim Meyering
2005-06-15Ensure that each `-d'-specified directory is created.Jim Meyering
2005-04-21Undo previous change.Paul Eggert
(dd, dd2): New vars, which use $EXEEXT. All uses of dd and dd2 changed.
2005-04-18Fix typo in comment.Paul Eggert
2005-04-18Use "cat", not "test", to test forPaul Eggert
../../src/dd. Problem reported by Eric Blake.
2005-04-18Skip this test if ../../src/dd isn't readable.Paul Eggert
2004-08-11Further fix for -d regression.Paul Eggert
2004-08-11Test for the -d regression.Paul Eggert
2004-06-23Replace all occurrences of `(exit N); exit' withJim Meyering
`(exit N); exit N'. Otherwise, those many tests could exit with improper exit status when exiting via e.g., a trapped interrupt. Thanks to a report from Bob Proulx.
2002-04-07Tweak comments to reflect reality.Jim Meyering
2001-03-17Add the standard $VERBOSE-handling hook.Jim Meyering
This test currently fails for mips-dec-ultrix4.4.
2000-06-17Don't fail (just exit 77) if strip doesn't work.Jim Meyering
Add canonical trap/mkdir/cd, plus exit portability cruft.
2000-02-28Use ginstall, not install.Jim Meyering
2000-02-27Clean up.Jim Meyering
1998-07-27use ls to check the permissionsJim Meyering
1998-07-27Test stripping an executable that eventually will be made unwritable.Jim Meyering
1998-05-09.Jim Meyering