diff options
author | Petr Mladek <pmladek@suse.com> | 2021-06-29 09:51:45 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-06-29 09:51:45 +0200 |
commit | 80ae552917228b97ca9f7df83f74ac306d6fd68f (patch) | |
tree | 858aac1d82608e0caaaa994a8bf1b19dd5282f06 /lib/test_printf.c | |
parent | 4249cb7d920060dfa925d3b9f6a37f0a7c025a16 (diff) | |
parent | 2f9e0f8c7e173e312e1d98b50fd8dc890245831a (diff) |
Merge branch 'for-5.14-vsprintf-pts' into for-linus
Diffstat (limited to 'lib/test_printf.c')
-rw-r--r-- | lib/test_printf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test_printf.c b/lib/test_printf.c index 27b964ec723d..69b04b531492 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -528,6 +528,11 @@ time_and_date(void) test("0119-00-04T15:32:23", "%ptTr", &t); test("15:32:23|2019-01-04", "%ptTt|%ptTd", &t, &t); test("15:32:23|0119-00-04", "%ptTtr|%ptTdr", &t, &t); + + test("2019-01-04 15:32:23", "%ptTs", &t); + test("0119-00-04 15:32:23", "%ptTsr", &t); + test("15:32:23|2019-01-04", "%ptTts|%ptTds", &t, &t); + test("15:32:23|0119-00-04", "%ptTtrs|%ptTdrs", &t, &t); } static void __init |