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/misc | |
parent | 9c0a3a27f70bbb27e839404571922b0f8f0d48da (diff) | |
download | coreutils-f4650aadbebc94169817169ccc368c589b64d7d0.tar.xz |
maint: standardize on "timestamp" as per POSIX
Diffstat (limited to 'tests/misc')
-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 |
3 files changed, 4 insertions, 4 deletions
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 |