diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-01-09 12:12:02 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-01-09 15:15:04 -0800 |
commit | f4650aadbebc94169817169ccc368c589b64d7d0 (patch) | |
tree | 7a1fdf2a85d647cf0cac754f8d57a97e3a6589da /tests | |
parent | 9c0a3a27f70bbb27e839404571922b0f8f0d48da (diff) | |
download | coreutils-f4650aadbebc94169817169ccc368c589b64d7d0.tar.xz |
maint: standardize on "timestamp" as per POSIX
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/du/bigtime.sh | 6 | ||||
-rwxr-xr-x | tests/misc/ls-time.sh | 2 | ||||
-rwxr-xr-x | tests/misc/stat-nanoseconds.sh | 4 | ||||
-rwxr-xr-x | tests/misc/time-style.sh | 2 | ||||
-rwxr-xr-x | tests/touch/obsolescent.sh | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/tests/du/bigtime.sh b/tests/du/bigtime.sh index 15f8cbdc3..14bd03664 100755 --- a/tests/du/bigtime.sh +++ b/tests/du/bigtime.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Exercise du on a file with a big time stamp. +# Exercise du on a file with a big timestamp. # Copyright (C) 2010-2017 Free Software Foundation, Inc. @@ -33,9 +33,9 @@ case "$future_time" in *' Dec 4 300627798676 '*) skip_ "file system and localtime both handle big timestamps" ;; *) - skip_ "file system or localtime mishandles big time stamps:" \ + skip_ "file system or localtime mishandles big timestamps:" \ "$future_time" ;; -esac || skip_ "file system cannot represent big time stamps" +esac || skip_ "file system cannot represent big timestamps" printf "0\t$bignum\tfuture\n" > exp || framework_failure_ printf "du: time '$bignum' is out of range\n" > err_ok || framework_failure_ diff --git a/tests/misc/ls-time.sh b/tests/misc/ls-time.sh index 8b56dd50f..d42eb24a2 100755 --- a/tests/misc/ls-time.sh +++ b/tests/misc/ls-time.sh @@ -20,7 +20,7 @@ print_ver_ ls # Avoid any possible glitches due to daylight-saving changes near the -# time stamps used during the test. +# timestamps used during the test. TZ=UTC0 export TZ diff --git a/tests/misc/stat-nanoseconds.sh b/tests/misc/stat-nanoseconds.sh index 8af215c64..d2b07c795 100755 --- a/tests/misc/stat-nanoseconds.sh +++ b/tests/misc/stat-nanoseconds.sh @@ -23,11 +23,11 @@ print_ver_ stat TZ=UTC0 export TZ -# Use a time stamp near the Epoch to avoid trouble with leap seconds. +# Use a timestamp near the Epoch to avoid trouble with leap seconds. touch -d '1970-01-01 18:43:33.023456789' k || framework_failure_ ls --full-time | grep 18:43:33.023456789 \ - || skip_ this file system does not support sub-second time stamps + || skip_ this file system does not support sub-second timestamps test "$(stat -c %X k)" = 67413 || fail=1 test "$(stat -c %.X k)" = 67413.023456789 || fail=1 diff --git a/tests/misc/time-style.sh b/tests/misc/time-style.sh index 2383be3a8..ec1d4ab67 100755 --- a/tests/misc/time-style.sh +++ b/tests/misc/time-style.sh @@ -23,7 +23,7 @@ print_ver_ pr echo hello >a || framework_failure_ -# The tests assume this is an old time stamp in northern hemisphere summer. +# The tests assume this is an old timestamp in northern hemisphere summer. TZ=UTC0 touch -d '1970-07-08 09:10:11' a || framework_failure_ for tz in UTC0 PST8 PST8PDT,M3.2.0,M11.1.0 XXXYYY-12:30; do diff --git a/tests/touch/obsolescent.sh b/tests/touch/obsolescent.sh index f52e83981..96d730fb0 100755 --- a/tests/touch/obsolescent.sh +++ b/tests/touch/obsolescent.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Test touch with obsolescent 8- or 10-digit time stamps. +# Test touch with obsolescent 8- or 10-digit timestamps. # Copyright (C) 2000-2017 Free Software Foundation, Inc. |