]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - lib/test_printf.c
Merge remote-tracking branch 'torvalds/master' into perf/core
[mirror_ubuntu-jammy-kernel.git] / lib / test_printf.c
index ec0d5976bb69af7904fd5340c2b4daf61d808fa7..8ac71aee46af09a3f76b8e66e73ee4934c5f3fbd 100644 (file)
@@ -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