Commit Graph

18 Commits

Author SHA1 Message Date
Paul Eggert 5750ad83c8 Use umask-check. 2005-06-22 18:08:13 +00:00
Paul Eggert 57b38dad6b Don't use 'set -'. Simplify test construction.
Work even if the underyling system attaches ACLs to new dirs.
2005-04-29 21:49:06 +00:00
Paul Eggert db3f41ec77 Test for "mkdir -m =+x dir" bug. 2005-04-22 23:54:05 +00:00
Jim Meyering 112efa81f2 Replace all occurrences of `(exit N); exit' with
`(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.
2004-06-23 15:07:00 +00:00
Jim Meyering 01d63f13e8 Use tr's \n notation rather than \012. 2003-05-14 06:26:34 +00:00
Jim Meyering a44fd51a81 now that $tmp has two components, use mkdir's -p option to create it 2002-06-15 10:16:22 +00:00
Jim Meyering 767aa7bf70 use trap stuff from sample-test 2002-06-15 09:58:37 +00:00
Jim Meyering 7a5e723600 sticky-check -> setgid-check 2000-12-31 09:48:10 +00:00
Jim Meyering 1aef6a3960 tweak comment, white space 2000-12-26 09:36:36 +00:00
Jim Meyering da21549918 Disable the test if the working directory has the sticky bit set. 2000-12-26 08:43:03 +00:00
Jim Meyering a8fab3b2eb Add an `echo' so that the input to the sed command
is NL-terminated.  Otherwise, Solaris' /bin/sed generates no output.
Reported by Vin Shelton.
2000-11-13 23:59:15 +00:00
Jim Meyering fc27d7356d (tests): Use `empty' (instead of just blanks) to
indicate no `-m' option.  Using just blanks wasn't portable to
Solaris2.5.1's /bin/sh.
2000-11-11 13:34:51 +00:00
Jim Meyering 81655756c2 Don't put newline in IFS; that's not portable to
NetBSD's /bin/sh.  Instead, filter newlines and leading/trailing blanks
out of `tests' before the `set -'.
2000-11-11 10:21:42 +00:00
Jim Meyering 662a4f705c Much improved.
Run each test also with mkdir's `-p' option and check permissions
on the parent directories.
2000-10-31 10:46:24 +00:00
Jim Meyering 577627b257 Fix the test so it actually does something.
Run each test also with mkdir's `-p' option.
2000-10-31 07:57:29 +00:00
Jim Meyering f8d8ad4e94 *** empty log message *** 2000-09-30 08:09:14 +00:00
Jim Meyering 52e7fcc46c *** empty log message *** 2000-09-30 08:08:21 +00:00
Jim Meyering 96cde75480 *** empty log message *** 2000-09-30 08:05:32 +00:00