svn commit: r320723 - head/usr.bin/stat/tests
Ngie Cooper
ngie at FreeBSD.org
Thu Jul 6 06:15:46 UTC 2017
Author: ngie
Date: Thu Jul 6 06:15:44 2017
New Revision: 320723
URL: https://svnweb.freebsd.org/changeset/base/320723
Log:
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
Modified:
head/usr.bin/stat/tests/stat_test.sh
Modified: head/usr.bin/stat/tests/stat_test.sh
==============================================================================
--- head/usr.bin/stat/tests/stat_test.sh Thu Jul 6 05:59:27 2017 (r320722)
+++ head/usr.bin/stat/tests/stat_test.sh Thu Jul 6 06:15:44 2017 (r320723)
@@ -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" "$@"
}
More information about the svn-src-head
mailing list