summaryrefslogtreecommitdiff
path: root/usr.bin/stat
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-07-06 06:15:44 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-07-06 06:15:44 +0000
commit5e8e7af348a6ba4d1774c8ae247f92e20ce9a6b9 (patch)
treed5f5714ec0e4527aaca02a7529e96d973710a730 /usr.bin/stat
parent5c021049f05fe2d2b2e40b7b0b031f669427b204 (diff)
downloadsrc-test-5e8e7af348a6ba4d1774c8ae247f92e20ce9a6b9.tar.gz
src-test-5e8e7af348a6ba4d1774c8ae247f92e20ce9a6b9.zip
Use %e instead of %d with x_output_date(..)
stat -x doesn't 0-fill days so %d is inappropriate. %e is correct. MFC after: 1 week MFC with: r319841
Notes
Notes: svn path=/head/; revision=320723
Diffstat (limited to 'usr.bin/stat')
-rwxr-xr-xusr.bin/stat/tests/stat_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/stat/tests/stat_test.sh b/usr.bin/stat/tests/stat_test.sh
index 6088b924c0d55..3a8032fd921fa 100755
--- a/usr.bin/stat/tests/stat_test.sh
+++ b/usr.bin/stat/tests/stat_test.sh
@@ -165,7 +165,7 @@ t_flag_body()
x_output_date()
{
- local date_format='%a %b %d %H:%M:%S %Y'
+ local date_format='%a %b %e %H:%M:%S %Y'
stat -t "$date_format" "$@"
}