diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-17 07:55:05 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-17 14:36:28 -0600 |
commit | 9e13b6a0b41532b63778aa67df40710df41174eb (patch) | |
tree | b57f5cfb5452b54d42e3b81d25aa1bde32966bf2 /tests/Makefile.am | |
parent | 527fb951def33fd76302e06f30e7221abd516ab6 (diff) | |
download | coreutils-9e13b6a0b41532b63778aa67df40710df41174eb.tar.xz |
touch: add -h to change symlink timestamps, where supported
* src/touch.c (no_dereference): New flag variable.
(longopts): Add -h/--no-dereference.
(touch): Add symlink handling.
(usage): Document new option.
(main): Accept new option.
* NEWS: Document it.
* doc/coreutils.texi (touch invocation): Likewise. Also mention
birthtime.
* tests/touch/no-dereference: New test.
* tests/Makefile.am (TESTS): Run it.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8dc90f9f2..751db1cee 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -445,6 +445,7 @@ TESTS = \ touch/fail-diag \ touch/fifo \ touch/no-create-missing \ + touch/no-dereference \ touch/no-rights \ touch/not-owner \ touch/obsolescent \ |