[PATCH 4/5] tests: check timestamp formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 tests/expected/dmesg/indentation | 15 +++++++++++++++
 tests/ts/dmesg/indentation       |  6 ++++++
 2 files changed, 21 insertions(+)

diff --git a/tests/expected/dmesg/indentation b/tests/expected/dmesg/indentation
index e32d87f..0d0b6e4 100644
--- a/tests/expected/dmesg/indentation
+++ b/tests/expected/dmesg/indentation
@@ -18,3 +18,18 @@ line
 two
 new
 lines
+[Feb13 23:31] new
+              line
+[  +1.000000] two
+              new
+              lines
+[Fri Feb 13 23:31:31 2009] new
+                           line
+[Fri Feb 13 23:31:32 2009] two
+                           new
+                           lines
+2009-02-13T23:31:31,000000+0000 new
+                                line
+2009-02-13T23:31:32,000000+0000 two
+                                new
+                                lines
diff --git a/tests/ts/dmesg/indentation b/tests/ts/dmesg/indentation
index 624dd9b..11a9e56 100755
--- a/tests/ts/dmesg/indentation
+++ b/tests/ts/dmesg/indentation
@@ -28,4 +28,10 @@ $TS_HELPER_DMESG --time-format=delta --file $TS_SELF/newlines >> $TS_OUTPUT 2>&1
 
 $TS_HELPER_DMESG --time-format=notime --file $TS_SELF/newlines >> $TS_OUTPUT 2>&1
 
+$TS_HELPER_DMESG --time-format=reltime --file $TS_SELF/newlines >> $TS_OUTPUT 2>&1
+
+$TS_HELPER_DMESG --time-format=ctime --file $TS_SELF/newlines >> $TS_OUTPUT 2>&1
+
+$TS_HELPER_DMESG --time-format=iso --file $TS_SELF/newlines >> $TS_OUTPUT 2>&1
+
 ts_finalize
-- 
2.3.3

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux