diff options
author | Eric Blake <eblake@redhat.com> | 2010-09-30 16:42:13 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-10-01 10:43:41 -0600 |
commit | 9069af45e691d1252c727da66aa4f3f3c7f1ea29 (patch) | |
tree | 09371cf730f26806f6a45703e3b4989afff0f439 /tests/touch | |
parent | abe5c1f9bc09753fd79e7a121c8ecfa917dfaddb (diff) | |
download | coreutils-9069af45e691d1252c727da66aa4f3f3c7f1ea29.tar.xz |
stat: print timestamps to full resolution
* src/stat.c (epoch_time): New function.
(print_stat): Use it for %[WXYZ].
* NEWS: Document this.
* tests/touch/60-seconds: Adjust test to match.
* tests/misc/stat-birthtime: Likewise.
Diffstat (limited to 'tests/touch')
-rwxr-xr-x | tests/touch/60-seconds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/touch/60-seconds b/tests/touch/60-seconds index f858a309a..f98f0c5d1 100755 --- a/tests/touch/60-seconds +++ b/tests/touch/60-seconds @@ -23,7 +23,7 @@ fi . $srcdir/test-lib.sh -echo 60 > exp || framework_failure +echo 60.000000000 > exp || framework_failure # Before coreutils-7.7, this would fail, complaining of |