Commit Graph

577 Commits

Author SHA1 Message Date
Jim Meyering
84b0d3667b Add a comment explaining why this test fails when using Tru64's broken sed. 2003-04-05 16:20:41 +00:00
Jim Meyering
cf0fa2d930 Use seq, not `yes' to generate dir name.
Otherwise, on systems (DJGPP) that emulate pipes using files,
this test would never complete, waiting for `yes' to terminate.
2003-03-28 14:03:17 +00:00
Jim Meyering
991e476b56 . 2003-03-20 10:11:45 +00:00
Jim Meyering
52ebb61da8 . 2003-03-14 13:54:36 +00:00
Jim Meyering
6df9b9041d Rather than simply using the first non-root
username, make sure that the selected user name has a usable shell.
2003-03-08 16:43:43 +00:00
Jim Meyering
88410798e7 . 2003-03-04 19:53:40 +00:00
Jim Meyering
dc5916a65f (TESTS): Add fail-2eperm. 2003-03-04 19:52:20 +00:00
Jim Meyering
74d2292171 *** empty log message *** 2003-03-04 19:49:35 +00:00
Jim Meyering
4ebc314f18 . 2003-02-20 19:05:38 +00:00
Jim Meyering
f3ecf0e5df upgrade to automake-1.7.2b 2003-02-19 12:55:25 +00:00
Jim Meyering
505f652d9e Require non-root. 2003-02-06 08:09:53 +00:00
Jim Meyering
73eae2675d Require non-root. 2003-02-06 08:09:18 +00:00
Jim Meyering
89fc480602 *** empty log message *** 2003-02-02 20:15:11 +00:00
Jim Meyering
62631d8844 *** empty log message *** 2003-02-02 20:14:20 +00:00
Jim Meyering
308e04e326 . 2003-01-16 22:28:13 +00:00
Jim Meyering
7e4c16df3d (TESTS): Add cycle. 2003-01-04 09:09:48 +00:00
Jim Meyering
c146a76b5d Remove trailing /. from diagnostic. 2003-01-04 09:03:45 +00:00
Jim Meyering
874f367c0a Enable this test -- now that we have the --presume-input-tty option. 2003-01-04 09:03:02 +00:00
Jim Meyering
432a5017a2 rm could be tricked into mistakenly reporting a cycle 2003-01-04 09:01:04 +00:00
Jim Meyering
317fa67e1e . 2002-12-21 14:50:45 +00:00
Jim Meyering
d4d54b4878 regenerate using automake-1.7.1b 2002-12-03 18:17:18 +00:00
Jim Meyering
d421906870 . 2002-11-15 08:36:57 +00:00
Jim Meyering
def6c2371e . 2002-11-06 11:37:47 +00:00
Jim Meyering
fb763e4f7a Use double quotes around diagnostic. 2002-10-08 09:21:08 +00:00
Jim Meyering
017c2208e2 . 2002-10-05 19:56:44 +00:00
Jim Meyering
fb918bedbf (TESTS): Add i-no-r. 2002-10-05 19:56:34 +00:00
Jim Meyering
1f4be66913 *** empty log message *** 2002-10-05 19:21:33 +00:00
Jim Meyering
7a45935962 *** empty log message *** 2002-10-05 19:17:05 +00:00
Jim Meyering
a3b479c91f . 2002-09-29 08:44:36 +00:00
Jim Meyering
7b355ee476 upgrade to automake-1.6f 2002-09-22 06:34:18 +00:00
Jim Meyering
4ab4543c2d . 2002-08-05 08:27:56 +00:00
Jim Meyering
48a269db9c Add a test for this:
When not interactive, don't prompt for a symlink.
2002-07-22 12:22:59 +00:00
Jim Meyering
07fdea3ed9 . 2002-07-22 08:26:07 +00:00
Jim Meyering
ae1331b60a Handle the case in which rm produces no output. 2002-07-22 08:16:38 +00:00
Jim Meyering
2f17be04e3 This test might remove a file owned by the person running `make check'.
Hoist definition of $target_file, and use
that (not $f) in test for owner/dir/symlink.  Patch by Michael Stone.
2002-07-22 08:12:27 +00:00
Jim Meyering
39d971818e skip directories, too.
Otherwise, we'd have to account for the additional `directory ' part
of a diagnostic like this:

fail-eperm: unexpected dignostic from `rm -f /tmp/.pcmcia';
  got      rm: cannot remove directory `/tmp/.pcmcia': Is a directory
  expected rm: cannot remove `/tmp/.pcmcia': ...
2002-07-20 05:36:59 +00:00
Jim Meyering
e724268ea5 quotemeta 2002-07-19 22:01:43 +00:00
Jim Meyering
b6389794e2 Don't expect `ARGV_0=$0 exec ...' to work.
It doesn't work with /bin/sh of Solaris5.6.
Use an explicit `export ARGV_0' instead.
[comparing actual and expected output]: Don't match the entire line,
but rather just the `rm: cannot remove `$dir/$f':' part.
2002-07-19 21:35:48 +00:00
Jim Meyering
29c8739e95 Use input-tty rather than testing for /dev/stdin. 2002-07-19 21:12:23 +00:00
Jim Meyering
c696260961 *** empty log message *** 2002-07-18 09:34:52 +00:00
Jim Meyering
753bb04a60 . 2002-07-16 06:53:00 +00:00
Jim Meyering
99bf17613b *** empty log message *** 2002-07-16 06:51:20 +00:00
Jim Meyering
c7a1d7f58f help font-lock-mode 2002-07-16 06:49:50 +00:00
Jim Meyering
b23214fca0 *** empty log message *** 2002-07-16 06:46:19 +00:00
Jim Meyering
7678915a9e (TESTS): Add fail-eperm. 2002-07-13 09:24:13 +00:00
Jim Meyering
89eb405076 . 2002-07-06 15:37:12 +00:00
Jim Meyering
512de3938e comments 2002-07-06 09:53:57 +00:00
Jim Meyering
66f8c36584 improve the test 2002-07-06 09:53:14 +00:00
Jim Meyering
99c8e3f461 (TESTS): Add dangling-symlink. 2002-07-04 12:06:08 +00:00
Jim Meyering
81cae5ce24 *** empty log message *** 2002-07-04 12:05:00 +00:00
Jim Meyering
dd2496d71e *** empty log message *** 2002-07-04 12:04:37 +00:00
Jim Meyering
7d04e0b63c Accommodate the slightly different diagnostic we
get on some systems, due to `unlink (dir)' failing with EACCES
rather than EPERM.  E.g. for ReiserFS on Linux-2.4.18.
2002-06-22 06:49:57 +00:00
Jim Meyering
3351c8aada . 2002-06-15 08:04:23 +00:00
Jim Meyering
10c95a54b5 tweak expected message 2002-06-12 08:02:12 +00:00
Jim Meyering
c5b3b8e2b6 tweak output: s/ directory// 2002-06-07 14:57:19 +00:00
Jim Meyering
26693888de . 2002-06-02 20:39:20 +00:00
Jim Meyering
63a8743830 (TESTS): Add rm5. 2002-06-02 20:39:00 +00:00
Jim Meyering
2ef6aec8ce Adjust, now that we no longer report `removing all entries of directory ...'. 2002-06-02 20:37:43 +00:00
Jim Meyering
d38d008a1d adjust 2002-06-02 20:36:19 +00:00
Jim Meyering
09184490e9 don't give a diagnostic about each parent 2002-06-02 20:35:07 +00:00
Jim Meyering
10d0bbfbc7 *** empty log message *** 2002-06-01 08:41:31 +00:00
Jim Meyering
f08e272c8b tweak for new diagnostics
add a nonempty file
2002-05-22 09:49:14 +00:00
Jim Meyering
c09bf755a6 . 2002-05-21 23:08:27 +00:00
Jim Meyering
137f240e4a . 2002-05-21 23:02:51 +00:00
Jim Meyering
59d5765b0f (TESTS): Add rm1, rm2, rm3, rm4. 2002-05-21 22:59:16 +00:00
Jim Meyering
0ded127f4c . 2002-05-21 22:58:48 +00:00
Jim Meyering
c175e3f6c8 update framework 2002-04-20 14:49:46 +00:00
Jim Meyering
73f2d11007 update framework 2002-04-19 22:57:04 +00:00
Jim Meyering
f2bb69ebb0 Use this:
(exit $fail); exit
not this:
  exit $fail
2002-04-19 22:50:36 +00:00
Jim Meyering
92d76e1e92 upgrade to use better framework 2002-04-19 22:39:05 +00:00
Jim Meyering
2b5e6e4835 clean-up 2002-04-19 21:59:57 +00:00
Jim Meyering
dc3a2321e0 Set $tmp the new way. 2002-04-19 20:50:43 +00:00
Jim Meyering
3f094fd26b Use `rm', not $RM. Use better trap. 2002-04-19 19:55:21 +00:00
Jim Meyering
e86cf7f5e6 Use `rm', not $RM. Use better trap. 2002-04-19 19:54:15 +00:00
Jim Meyering
ad9fd82850 Use `rm', not $RM. Use better trap. 2002-04-19 19:53:03 +00:00
Jim Meyering
da5debc995 don't fiddle with TMPDIR 2002-04-19 19:51:29 +00:00
Jim Meyering
9f79f8d7e0 don't bother with TMPDIR 2002-04-19 19:47:16 +00:00
Jim Meyering
5771d0193b . 2002-04-12 10:46:55 +00:00
Jim Meyering
ef8f6fe459 . 2002-03-06 09:06:01 +00:00
Jim Meyering
9c5a25e176 . 2002-02-17 20:14:18 +00:00
Jim Meyering
e2ae699ef5 Use head -n 150', not head -150'. 2002-02-16 08:55:56 +00:00
Jim Meyering
c00f96b198 . 2002-01-22 11:58:36 +00:00
Jim Meyering
96400fcda4 . 2002-01-16 23:33:48 +00:00
Jim Meyering
8efbf4f961 . 2002-01-16 10:01:52 +00:00
Jim Meyering
6dd490fa03 . 2001-11-28 14:05:29 +00:00
Jim Meyering
3723d62e4f . 2001-11-22 10:04:10 +00:00
Jim Meyering
30690e6b57 clean up 2001-11-12 13:06:16 +00:00
Jim Meyering
2b22830114 use rm, not $RM 2001-11-12 12:44:01 +00:00
Jim Meyering
3fb9cf6101 . 2001-11-08 23:24:04 +00:00
Jim Meyering
4f16f7f014 . 2001-09-28 08:06:04 +00:00
Jim Meyering
dd5500c678 . 2001-09-16 12:43:33 +00:00
Jim Meyering
1db0824586 . 2001-09-01 07:43:13 +00:00
Jim Meyering
d2cb2639f0 . 2001-07-11 15:28:51 +00:00
Jim Meyering
e204540061 . 2001-05-21 06:59:27 +00:00
Jim Meyering
531822b168 . 2001-05-16 07:30:54 +00:00
Jim Meyering
ed582f5612 . 2001-05-12 20:55:19 +00:00
Jim Meyering
a40c539ad1 . 2001-03-12 10:15:08 +00:00
Jim Meyering
30bc289991 Disable this test for now.
It would block when run in the background.
2001-03-11 15:24:28 +00:00
Jim Meyering
ee7490797e . 2001-03-04 04:04:13 +00:00
Jim Meyering
d015986221 . 2001-02-20 23:04:45 +00:00
Jim Meyering
2307570c3e (TESTS): Add isatty. 2001-02-18 19:39:33 +00:00
Jim Meyering
e9fd7152ff New test, for the bug fixed below. 2001-02-18 19:39:17 +00:00
Jim Meyering
4778b57c26 . 2001-02-08 10:43:44 +00:00
Jim Meyering
3ff0f8076b . 2001-01-31 19:15:41 +00:00
Jim Meyering
9926b4ec03 . 2000-12-27 10:05:05 +00:00
Jim Meyering
f32a1186bc . 2000-10-30 17:51:06 +00:00
Jim Meyering
69254ed7d2 Factor out the expensive-test-checking code, ... 2000-10-28 12:53:27 +00:00
Jim Meyering
171aba014f source lang-default *before* the `cd' 2000-10-22 21:23:18 +00:00
Jim Meyering
28c6609c86 Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
2000-10-22 13:09:28 +00:00
Jim Meyering
7cbb85937a Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
2000-10-22 13:08:43 +00:00
Jim Meyering
6b95201b8d . 2000-08-05 19:36:20 +00:00
Jim Meyering
c8a15b9edb Add quote marks to match new behavior. 2000-07-30 18:44:43 +00:00
Jim Meyering
2bf26f848f . 2000-07-09 17:53:14 +00:00
Jim Meyering
47f6723289 . 2000-06-18 17:47:39 +00:00
Jim Meyering
b8264a299d (framework_failure): Initialize this instead of test_failure. 2000-06-14 16:53:36 +00:00
Jim Meyering
1af3ad04de Clean up.
Be careful to remove temp directory upon interrupt.
2000-06-12 08:42:08 +00:00
Jim Meyering
0eaacfd00a remove RM 2000-06-12 08:34:00 +00:00
Jim Meyering
ced45c88d4 . 2000-06-06 21:40:56 +00:00
Jim Meyering
1adc899668 . 2000-05-20 09:24:29 +00:00
Jim Meyering
8fd90d4b2b add RUN_EXPENSIVE_TESTS junk 2000-05-20 09:09:18 +00:00
Jim Meyering
d402b210ea don't use $test 2000-05-20 08:52:03 +00:00
Jim Meyering
619ffb2bff fail if final rm fails 2000-05-20 08:48:39 +00:00
Jim Meyering
abd2b295f2 Clean up. 2000-05-20 08:42:44 +00:00
Jim Meyering
396069fce5 reorder so as not to use `head -c N' 2000-05-20 08:11:51 +00:00
Jim Meyering
bc009f5b5f warn the user it will take a while 2000-05-19 07:12:09 +00:00
Jim Meyering
5c136d939e put hash at the end of the list 2000-05-19 07:10:09 +00:00
Jim Meyering
c880f6f9e0 . 2000-05-18 14:28:09 +00:00
Jim Meyering
83616b114e (TESTS): Add hash. 2000-05-18 14:26:00 +00:00
Jim Meyering
f01f28a92a *** empty log message *** 2000-05-18 14:24:58 +00:00
Jim Meyering
2c1ae1f436 . 2000-05-06 14:14:14 +00:00
Jim Meyering
c2262fcd90 use rm, not $RM 2000-05-03 11:09:07 +00:00
Jim Meyering
93e3e3a5a8 Define LC_ALL instead of LANG, in case the user has
LC_CTYPE or LC_ALL set. Define it and LANGUAGE before the first "sort" call.
2000-05-03 11:07:51 +00:00
Jim Meyering
19aa1f8a25 . 2000-04-08 06:44:35 +00:00
Jim Meyering
45b3b0a96d . 2000-03-08 10:41:04 +00:00
Jim Meyering
1679d72fee . 2000-03-01 12:29:00 +00:00
Jim Meyering
b0952dd045 Don't make the success of the test depend on the
order in which directory entries are processed.
Reported by Andreas Schwab.
2000-02-26 21:34:41 +00:00
Jim Meyering
7392a5fd49 . 2000-02-05 09:53:35 +00:00
Jim Meyering
d5eb5821c6 . 2000-01-23 14:01:32 +00:00
Jim Meyering
b830d441bb . 2000-01-07 12:27:31 +00:00
Jim Meyering
11eebed20f (TESTS_ENVIRONMENT): Add pwd/ prefix to exported PATH value (though not strictly necessary, here). 2000-01-07 08:56:38 +00:00
Jim Meyering
c6025b9d1e . 1999-12-10 15:22:55 +00:00
Jim Meyering
0d6c850979 . 1999-11-26 07:31:42 +00:00
Jim Meyering
55fa0c6a12 . 1999-11-13 23:19:08 +00:00
Jim Meyering
07d20c7e44 . 1999-11-11 13:20:24 +00:00
Jim Meyering
02ba1920dd . 1999-10-23 13:31:09 +00:00
Jim Meyering
805034d054 . 1999-08-30 14:34:09 +00:00
Jim Meyering
086c4578e3 . 1999-08-17 08:00:19 +00:00
Jim Meyering
dad89f8b93 . 1999-05-15 05:46:45 +00:00
Jim Meyering
c850864a19 . 1999-04-21 02:29:50 +00:00
Jim Meyering
6a821331eb . 1999-04-15 14:09:04 +00:00
Jim Meyering
b655fc9cf7 . 1999-04-07 17:41:57 +00:00
Jim Meyering
2067a9fe97 . 1999-03-30 04:52:57 +00:00
Jim Meyering
83bd8b5ff1 . 1999-03-26 14:27:18 +00:00
Jim Meyering
1120f4c00c . 1999-03-06 22:00:09 +00:00
Jim Meyering
9b531d8675 . 1999-01-31 05:39:01 +00:00
Jim Meyering
f749a71868 . 1999-01-13 05:50:05 +00:00
Jim Meyering
c9f0e3d343 *** empty log message *** 1998-11-02 17:08:44 +00:00
Jim Meyering
b4c9bd2b7e . 1998-11-01 17:17:52 +00:00
Jim Meyering
cf50a06294 (TESTS): Add new test `empty-name', but comment it out. 1998-11-01 00:12:07 +00:00
Jim Meyering
c96d9a880f *** empty log message *** 1998-11-01 00:09:44 +00:00
Jim Meyering
09b8756e33 . 1998-10-25 14:30:15 +00:00
Jim Meyering
c729fe037e (TESTS): Add new test `unreadable'. But comment
it out since we're so close to release and since the test compares the
text of diagnostics that are likely to vary between systems.
(TEST_ENVIRONMENT): Add required framework.
1998-10-25 14:08:38 +00:00
Jim Meyering
02cde32c0a *** empty log message *** 1998-10-25 14:03:09 +00:00
Jim Meyering
0bb1cba1bc . 1998-09-29 03:12:27 +00:00
Jim Meyering
f2d4fc8016 Avoid bug in Ultrix4.3a /bin/sh,
not initializing output redirection of : command.
1998-08-15 03:04:06 +00:00
Jim Meyering
3fbc98bb54 . 1998-07-25 13:49:47 +00:00
Jim Meyering
2f617e52d6 changed --verbose message 1998-06-27 04:40:13 +00:00
Jim Meyering
39e2377300 . 1998-05-03 22:14:06 +00:00
Jim Meyering
8bbe8ab5d4 . 1998-04-11 15:05:20 +00:00
Jim Meyering
7a8b4afa3e . 1998-03-23 22:47:45 +00:00
Jim Meyering
a1cc8f5961 *** empty log message *** 1998-03-14 15:56:46 +00:00
Jim Meyering
4a28ea9bd6 *** empty log message *** 1998-03-14 10:41:26 +00:00
Jim Meyering
ec47f73107 . 1998-02-25 23:36:33 +00:00
Jim Meyering
c1fc9dbe64 . 1998-02-07 15:17:56 +00:00
Jim Meyering
de38f9c61f . 1998-02-07 08:13:44 +00:00
Jim Meyering
8c3fb79a89 . 1998-01-24 16:48:52 +00:00
Jim Meyering
8a0550a816 Adjust expected output for changed format of `rm --verbose'. 1998-01-24 08:43:46 +00:00
Jim Meyering
f7bb262cc8 minor tweaks 1998-01-22 08:33:02 +00:00
Jim Meyering
d5494d57f5 Don't use -f. Do adjust $RM if it's a relative path. 1998-01-22 08:32:22 +00:00
Jim Meyering
1ca40285b2 (deep): Remove `find > k' debugging remnant. 1997-12-15 11:35:22 +00:00
Jim Meyering
5d1987b3da . 1997-12-06 09:18:32 +00:00
Jim Meyering
ea3c071c2d *** empty log message *** 1997-11-03 04:51:54 +00:00
Jim Meyering
3f3c12d723 don't use touch 1997-11-03 04:50:11 +00:00
Jim Meyering
f2ddecd375 revert last change 1997-11-03 04:40:37 +00:00
Jim Meyering
07e8ae7cb1 create 100 at a time 1997-11-03 04:40:07 +00:00
Jim Meyering
ddac742eb8 . 1997-10-23 15:59:42 +00:00
Jim Meyering
916300ba27 *** empty log message *** 1997-10-19 03:20:04 +00:00
Jim Meyering
22b1971cbc *** empty log message *** 1997-10-19 03:12:10 +00:00
Jim Meyering
53e807719a *** empty log message *** 1997-10-19 02:38:31 +00:00
Jim Meyering
b51e8b8ec4 *** empty log message *** 1997-10-19 02:37:12 +00:00
Jim Meyering
72ab8e314c *** empty log message *** 1997-10-17 19:05:07 +00:00
Jim Meyering
d255fdbe9c *** empty log message *** 1997-10-17 18:58:04 +00:00
Jim Meyering
71c4a4524f . 1997-10-17 18:57:46 +00:00
Jim Meyering
a84d00ebd3 . 1997-09-30 04:19:04 +00:00
Jim Meyering
40dfaeed5c *** empty log message *** 1997-09-28 16:33:22 +00:00
Jim Meyering
fbd9c922b4 . 1997-09-01 20:25:23 +00:00
Jim Meyering
da4376bb23 . 1997-09-01 02:15:13 +00:00
Jim Meyering
4aa3cfc3db *** empty log message *** 1997-08-31 22:19:30 +00:00
Jim Meyering
fe531f25e6 *** empty log message *** 1997-08-31 22:17:25 +00:00
Jim Meyering
8a788f502e . 1997-08-31 22:15:57 +00:00
Jim Meyering
0180caa0c5 . 1997-08-31 21:22:13 +00:00
Jim Meyering
59e5cb3ea3 *** empty log message *** 1997-08-31 16:18:10 +00:00
Jim Meyering
377f2fbc55 . 1997-08-31 16:17:56 +00:00
Jim Meyering
2f1095be00 *** empty log message *** 1997-08-31 12:36:07 +00:00
Jim Meyering
72a9275f65 *** empty log message *** 1997-08-24 21:06:00 +00:00
Jim Meyering
92715a3867 . 1997-08-24 20:56:13 +00:00
Jim Meyering
4a3c8c53e3 *** empty log message *** 1997-08-24 20:55:56 +00:00
Jim Meyering
1f3b5a3dd8 *** empty log message *** 1997-08-24 20:51:07 +00:00
Jim Meyering
a1d61ec70e *** empty log message *** 1997-08-24 20:50:16 +00:00
Jim Meyering
c83761c759 . 1997-08-24 20:42:54 +00:00
Jim Meyering
88eb1da1da . 1997-08-24 20:30:06 +00:00
Jim Meyering
6b099582bd . 1997-08-24 19:18:03 +00:00
Jim Meyering
41347fc40e *** empty log message *** 1997-08-16 17:41:45 +00:00
Jim Meyering
2bd0aa26c2 *** empty log message *** 1997-08-16 17:40:57 +00:00
Jim Meyering
db00e4acb1 *** empty log message *** 1997-08-16 16:41:15 +00:00
Jim Meyering
754478c6f5 . 1997-08-16 16:40:55 +00:00
Jim Meyering
a4def0664d . 1997-08-03 17:53:25 +00:00
Jim Meyering
6e08ff4f71 *** empty log message *** 1997-08-02 17:36:07 +00:00
Jim Meyering
6df8557d33 . 1997-08-02 17:32:04 +00:00
Jim Meyering
9608d12c39 *** empty log message *** 1997-08-02 17:31:01 +00:00
Jim Meyering
dd9b964694 *** empty log message *** 1997-08-02 17:21:18 +00:00
Jim Meyering
b8f7d0087d *** empty log message *** 1997-08-02 17:20:39 +00:00
Jim Meyering
70611589b3 . 1997-08-02 17:10:12 +00:00
Jim Meyering
94c7a45d8e *** empty log message *** 1997-08-02 16:51:37 +00:00
Jim Meyering
9a012ca907 . 1997-08-02 15:29:55 +00:00
Jim Meyering
9bb6fc54aa . 1997-08-02 15:25:25 +00:00
Jim Meyering
eb1e691d00 . 1997-08-02 15:23:59 +00:00