Commit Graph

1817 Commits

Author SHA1 Message Date
Jim Meyering ef2c17c290 . 2002-07-29 10:55:22 +00:00
Jim Meyering c017df37f1 Supply exit arg for both invocations of exit. 2002-07-29 09:54:40 +00:00
Jim Meyering 03089e39cb . 2002-07-28 21:45:04 +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 ad7b8c7978 . 2002-07-20 15:39:18 +00:00
Jim Meyering edc5d1e500 . 2002-07-20 14:06:47 +00:00
Jim Meyering 4d84eaa764 do not use tail -1; use tail -n 1 instead 2002-07-20 11:17: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 767a8b968e *** empty log message *** 2002-07-19 20:26:28 +00:00
Jim Meyering 164e61fbb9 tweak for better exit 2002-07-19 20:22:59 +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 4c7e003c1b . 2002-07-02 09:02:16 +00:00
Jim Meyering 4262ada1bd . 2002-07-02 09:01:53 +00:00
Jim Meyering f4bb64378d (EXTRA_DIST): Merge. 2002-07-02 08:59:21 +00:00
Jim Meyering 4b42154477 s/any/some/ 2002-07-01 21:15:13 +00:00
Jim Meyering dc58af4acf remove redundant (exit $fail) 2002-07-01 19:15:49 +00:00
Jim Meyering 58c37faa5c Handle yet another different diagnostic. 2002-07-01 14:36:57 +00:00
Jim Meyering a7d1d17be0 update to use prologue from sample-test 2002-07-01 09:41:20 +00:00
Jim Meyering 7039e40db2 whoops. 2002-07-01 09:25:02 +00:00
Jim Meyering c69f2e06ce merge 2002-07-01 09:24:34 +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 a905df79ad . 2002-06-21 12:16:27 +00:00
Jim Meyering 86adc7266e Interpret a permissions string of
drwxr-xr-x (DOS/Windows) as meaning the cwd is not setgid.
Reported by Rich Dawe.
2002-06-17 07:06:29 +00:00
Jim Meyering 6d797a5b97 use newer testing framework 2002-06-16 19:18:22 +00:00
Jim Meyering 2fd73898d2 use trap stuff from sample-test 2002-06-15 10:19:36 +00:00
Jim Meyering 4726bde475 use trap stuff from sample-test 2002-06-15 10:17:35 +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 35e9b38dd8 now that $tmp has two components, use mkdir's -p option to create it 2002-06-15 10:15:00 +00:00
Jim Meyering a2e113a2db use trap stuff from sample-test 2002-06-15 10:04:30 +00:00
Jim Meyering 767aa7bf70 use trap stuff from sample-test 2002-06-15 09:58:37 +00:00
Jim Meyering 9234b6f7e0 *** empty log message *** 2002-06-15 09:54:28 +00:00
Jim Meyering 77bc22f77a (trap): in chmod, use u+rwx, not 700 2002-06-15 09:54:08 +00:00
Jim Meyering bf7c8ba557 (trap): Make sure the temporary hierarchy is writable before removing it. 2002-06-15 09:46:32 +00:00