summaryrefslogtreecommitdiffstats
path: root/tests/expected/dmesg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/dmesg/colors105
-rw-r--r--tests/expected/dmesg/console-levels104
-rw-r--r--tests/expected/dmesg/decode105
-rw-r--r--tests/expected/dmesg/delta105
-rw-r--r--tests/expected/dmesg/facilities96
-rw-r--r--tests/expected/dmesg/indentation35
6 files changed, 550 insertions, 0 deletions
diff --git a/tests/expected/dmesg/colors b/tests/expected/dmesg/colors
new file mode 100644
index 0000000..40aca73
--- /dev/null
+++ b/tests/expected/dmesg/colors
@@ -0,0 +1,105 @@
+kern :emerg : [ 0.000000] example[0]
+kern :alert : [ 1.000000] example[1]
+kern :crit : [ 8.000000] example[2]
+kern :err : [ 27.000000] example[3]
+kern :warn : [ 64.000000] example[4]
+kern :notice: [ 125.000000] example[5]
+kern :info : [ 216.000000] example[6]
+kern :debug : [ 343.000000] example[7]
+user :emerg : [ 512.000000] example[8]
+user :alert : [ 729.000000] example[9]
+user :crit : [ 1000.000000] example[10]
+user :err : [ 1331.000000] example[11]
+user :warn : [ 1728.000000] example[12]
+user :notice: [ 2197.000000] example[13]
+user :info : [ 2744.000000] example[14]
+user :debug : [ 3375.000000] example[15]
+mail :emerg : [ 4096.000000] example[16]
+mail :alert : [ 4913.000000] example[17]
+mail :crit : [ 5832.000000] example[18]
+mail :err : [ 6859.000000] example[19]
+mail :warn : [ 8000.000000] example[20]
+mail :notice: [ 9261.000000] example[21]
+mail :info : [10648.000000] example[22]
+mail :debug : [12167.000000] example[23]
+daemon:emerg : [13824.000000] example[24]
+daemon:alert : [15625.000000] example[25]
+daemon:crit : [17576.000000] example[26]
+daemon:err : [19683.000000] example[27]
+daemon:warn : [21952.000000] example[28]
+daemon:notice: [24389.000000] example[29]
+daemon:info : [27000.000000] example[30]
+daemon:debug : [29791.000000] example[31]
+auth :emerg : [32768.000000] example[32]
+auth :alert : [35937.000000] example[33]
+auth :crit : [39304.000000] example[34]
+auth :err : [42875.000000] example[35]
+auth :warn : [46656.000000] example[36]
+auth :notice: [50653.000000] example[37]
+auth :info : [54872.000000] example[38]
+auth :debug : [59319.000000] example[39]
+syslog:emerg : [64000.000000] example[40]
+syslog:alert : [68921.000000] example[41]
+syslog:crit : [74088.000000] example[42]
+syslog:err : [79507.000000] example[43]
+syslog:warn : [85184.000000] example[44]
+syslog:notice: [91125.000000] example[45]
+syslog:info : [97336.000000] example[46]
+syslog:debug : [103823.000000] example[47]
+lpr :emerg : [110592.000000] example[48]
+lpr :alert : [117649.000000] example[49]
+lpr :crit : [125000.000000] example[50]
+lpr :err : [132651.000000] example[51]
+lpr :warn : [140608.000000] example[52]
+lpr :notice: [148877.000000] example[53]
+lpr :info : [157464.000000] example[54]
+lpr :debug : [166375.000000] example[55]
+news :emerg : [175616.000000] example[56]
+news :alert : [185193.000000] example[57]
+news :crit : [195112.000000] example[58]
+news :err : [205379.000000] example[59]
+news :warn : [216000.000000] example[60]
+news :notice: [226981.000000] example[61]
+news :info : [238328.000000] example[62]
+news :debug : [250047.000000] example[63]
+uucp :emerg : [262144.000000] example[64]
+uucp :alert : [274625.000000] example[65]
+uucp :crit : [287496.000000] example[66]
+uucp :err : [300763.000000] example[67]
+uucp :warn : [314432.000000] example[68]
+uucp :notice: [328509.000000] example[69]
+uucp :info : [343000.000000] example[70]
+uucp :debug : [357911.000000] example[71]
+cron :emerg : [373248.000000] example[72]
+cron :alert : [389017.000000] example[73]
+cron :crit : [405224.000000] example[74]
+cron :err : [421875.000000] example[75]
+cron :warn : [438976.000000] example[76]
+cron :notice: [456533.000000] example[77]
+cron :info : [474552.000000] example[78]
+cron :debug : [493039.000000] example[79]
+authpriv:emerg : [512000.000000] example[80]
+authpriv:alert : [531441.000000] example[81]
+authpriv:crit : [551368.000000] example[82]
+authpriv:err : [571787.000000] example[83]
+authpriv:warn : [592704.000000] example[84]
+authpriv:notice: [614125.000000] example[85]
+authpriv:info : [636056.000000] example[86]
+authpriv:debug : [658503.000000] example[87]
+ftp :emerg : [681472.000000] example[88]
+ftp :alert : [704969.000000] example[89]
+ftp :crit : [729000.000000] example[90]
+ftp :err : [753571.000000] example[91]
+ftp :warn : [778688.000000] example[92]
+ftp :notice: [804357.000000] example[93]
+ftp :info : [830584.000000] example[94]
+ftp :debug : [857375.000000] example[95]
+[884736.000000] example[96]
+[912673.000000] example[97]
+[941192.000000] example[98]
+[970299.000000] example[99]
+[1000000.000000] example[100]
+[1030301.000000] example[101]
+[1061208.000000] example[102]
+[1092727.000000] example[103]
+[1124864.000000] example[104]
diff --git a/tests/expected/dmesg/console-levels b/tests/expected/dmesg/console-levels
new file mode 100644
index 0000000..48b0a1d
--- /dev/null
+++ b/tests/expected/dmesg/console-levels
@@ -0,0 +1,104 @@
+[ 0.000000] example[0]
+[ 512.000000] example[8]
+[ 4096.000000] example[16]
+[13824.000000] example[24]
+[32768.000000] example[32]
+[64000.000000] example[40]
+[110592.000000] example[48]
+[175616.000000] example[56]
+[262144.000000] example[64]
+[373248.000000] example[72]
+[512000.000000] example[80]
+[681472.000000] example[88]
+[884736.000000] example[96]
+[ 1.000000] example[1]
+[ 729.000000] example[9]
+[ 4913.000000] example[17]
+[15625.000000] example[25]
+[35937.000000] example[33]
+[68921.000000] example[41]
+[117649.000000] example[49]
+[185193.000000] example[57]
+[274625.000000] example[65]
+[389017.000000] example[73]
+[531441.000000] example[81]
+[704969.000000] example[89]
+[912673.000000] example[97]
+[ 8.000000] example[2]
+[ 1000.000000] example[10]
+[ 5832.000000] example[18]
+[17576.000000] example[26]
+[39304.000000] example[34]
+[74088.000000] example[42]
+[125000.000000] example[50]
+[195112.000000] example[58]
+[287496.000000] example[66]
+[405224.000000] example[74]
+[551368.000000] example[82]
+[729000.000000] example[90]
+[941192.000000] example[98]
+[ 27.000000] example[3]
+[ 1331.000000] example[11]
+[ 6859.000000] example[19]
+[19683.000000] example[27]
+[42875.000000] example[35]
+[79507.000000] example[43]
+[132651.000000] example[51]
+[205379.000000] example[59]
+[300763.000000] example[67]
+[421875.000000] example[75]
+[571787.000000] example[83]
+[753571.000000] example[91]
+[970299.000000] example[99]
+[ 64.000000] example[4]
+[ 1728.000000] example[12]
+[ 8000.000000] example[20]
+[21952.000000] example[28]
+[46656.000000] example[36]
+[85184.000000] example[44]
+[140608.000000] example[52]
+[216000.000000] example[60]
+[314432.000000] example[68]
+[438976.000000] example[76]
+[592704.000000] example[84]
+[778688.000000] example[92]
+[1000000.000000] example[100]
+[ 125.000000] example[5]
+[ 2197.000000] example[13]
+[ 9261.000000] example[21]
+[24389.000000] example[29]
+[50653.000000] example[37]
+[91125.000000] example[45]
+[148877.000000] example[53]
+[226981.000000] example[61]
+[328509.000000] example[69]
+[456533.000000] example[77]
+[614125.000000] example[85]
+[804357.000000] example[93]
+[1030301.000000] example[101]
+[ 216.000000] example[6]
+[ 2744.000000] example[14]
+[10648.000000] example[22]
+[27000.000000] example[30]
+[54872.000000] example[38]
+[97336.000000] example[46]
+[157464.000000] example[54]
+[238328.000000] example[62]
+[343000.000000] example[70]
+[474552.000000] example[78]
+[636056.000000] example[86]
+[830584.000000] example[94]
+[1061208.000000] example[102]
+[ 343.000000] example[7]
+[ 3375.000000] example[15]
+[12167.000000] example[23]
+[29791.000000] example[31]
+[59319.000000] example[39]
+[103823.000000] example[47]
+[166375.000000] example[55]
+[250047.000000] example[63]
+[357911.000000] example[71]
+[493039.000000] example[79]
+[658503.000000] example[87]
+[857375.000000] example[95]
+[1092727.000000] example[103]
diff --git a/tests/expected/dmesg/decode b/tests/expected/dmesg/decode
new file mode 100644
index 0000000..f3541a6
--- /dev/null
+++ b/tests/expected/dmesg/decode
@@ -0,0 +1,105 @@
+kern :emerg : [ 0.000000] example[0]
+kern :alert : [ 1.000000] example[1]
+kern :crit : [ 8.000000] example[2]
+kern :err : [ 27.000000] example[3]
+kern :warn : [ 64.000000] example[4]
+kern :notice: [ 125.000000] example[5]
+kern :info : [ 216.000000] example[6]
+kern :debug : [ 343.000000] example[7]
+user :emerg : [ 512.000000] example[8]
+user :alert : [ 729.000000] example[9]
+user :crit : [ 1000.000000] example[10]
+user :err : [ 1331.000000] example[11]
+user :warn : [ 1728.000000] example[12]
+user :notice: [ 2197.000000] example[13]
+user :info : [ 2744.000000] example[14]
+user :debug : [ 3375.000000] example[15]
+mail :emerg : [ 4096.000000] example[16]
+mail :alert : [ 4913.000000] example[17]
+mail :crit : [ 5832.000000] example[18]
+mail :err : [ 6859.000000] example[19]
+mail :warn : [ 8000.000000] example[20]
+mail :notice: [ 9261.000000] example[21]
+mail :info : [10648.000000] example[22]
+mail :debug : [12167.000000] example[23]
+daemon:emerg : [13824.000000] example[24]
+daemon:alert : [15625.000000] example[25]
+daemon:crit : [17576.000000] example[26]
+daemon:err : [19683.000000] example[27]
+daemon:warn : [21952.000000] example[28]
+daemon:notice: [24389.000000] example[29]
+daemon:info : [27000.000000] example[30]
+daemon:debug : [29791.000000] example[31]
+auth :emerg : [32768.000000] example[32]
+auth :alert : [35937.000000] example[33]
+auth :crit : [39304.000000] example[34]
+auth :err : [42875.000000] example[35]
+auth :warn : [46656.000000] example[36]
+auth :notice: [50653.000000] example[37]
+auth :info : [54872.000000] example[38]
+auth :debug : [59319.000000] example[39]
+syslog:emerg : [64000.000000] example[40]
+syslog:alert : [68921.000000] example[41]
+syslog:crit : [74088.000000] example[42]
+syslog:err : [79507.000000] example[43]
+syslog:warn : [85184.000000] example[44]
+syslog:notice: [91125.000000] example[45]
+syslog:info : [97336.000000] example[46]
+syslog:debug : [103823.000000] example[47]
+lpr :emerg : [110592.000000] example[48]
+lpr :alert : [117649.000000] example[49]
+lpr :crit : [125000.000000] example[50]
+lpr :err : [132651.000000] example[51]
+lpr :warn : [140608.000000] example[52]
+lpr :notice: [148877.000000] example[53]
+lpr :info : [157464.000000] example[54]
+lpr :debug : [166375.000000] example[55]
+news :emerg : [175616.000000] example[56]
+news :alert : [185193.000000] example[57]
+news :crit : [195112.000000] example[58]
+news :err : [205379.000000] example[59]
+news :warn : [216000.000000] example[60]
+news :notice: [226981.000000] example[61]
+news :info : [238328.000000] example[62]
+news :debug : [250047.000000] example[63]
+uucp :emerg : [262144.000000] example[64]
+uucp :alert : [274625.000000] example[65]
+uucp :crit : [287496.000000] example[66]
+uucp :err : [300763.000000] example[67]
+uucp :warn : [314432.000000] example[68]
+uucp :notice: [328509.000000] example[69]
+uucp :info : [343000.000000] example[70]
+uucp :debug : [357911.000000] example[71]
+cron :emerg : [373248.000000] example[72]
+cron :alert : [389017.000000] example[73]
+cron :crit : [405224.000000] example[74]
+cron :err : [421875.000000] example[75]
+cron :warn : [438976.000000] example[76]
+cron :notice: [456533.000000] example[77]
+cron :info : [474552.000000] example[78]
+cron :debug : [493039.000000] example[79]
+authpriv:emerg : [512000.000000] example[80]
+authpriv:alert : [531441.000000] example[81]
+authpriv:crit : [551368.000000] example[82]
+authpriv:err : [571787.000000] example[83]
+authpriv:warn : [592704.000000] example[84]
+authpriv:notice: [614125.000000] example[85]
+authpriv:info : [636056.000000] example[86]
+authpriv:debug : [658503.000000] example[87]
+ftp :emerg : [681472.000000] example[88]
+ftp :alert : [704969.000000] example[89]
+ftp :crit : [729000.000000] example[90]
+ftp :err : [753571.000000] example[91]
+ftp :warn : [778688.000000] example[92]
+ftp :notice: [804357.000000] example[93]
+ftp :info : [830584.000000] example[94]
+ftp :debug : [857375.000000] example[95]
+[884736.000000] example[96]
+[912673.000000] example[97]
+[941192.000000] example[98]
+[970299.000000] example[99]
+[1000000.000000] example[100]
+[1030301.000000] example[101]
+[1061208.000000] example[102]
+[1092727.000000] example[103]
+[1124864.000000] example[104]
diff --git a/tests/expected/dmesg/delta b/tests/expected/dmesg/delta
new file mode 100644
index 0000000..01dfec3
--- /dev/null
+++ b/tests/expected/dmesg/delta
@@ -0,0 +1,105 @@
+[ 0.000000 < 0.000000>] example[0]
+[ 1.000000 < 0.000000>] example[1]
+[ 8.000000 < 7.000000>] example[2]
+[ 27.000000 < 19.000000>] example[3]
+[ 64.000000 < 37.000000>] example[4]
+[ 125.000000 < 61.000000>] example[5]
+[ 216.000000 < 91.000000>] example[6]
+[ 343.000000 < 127.000000>] example[7]
+[ 512.000000 < 169.000000>] example[8]
+[ 729.000000 < 217.000000>] example[9]
+[ 1000.000000 < 271.000000>] example[10]
+[ 1331.000000 < 331.000000>] example[11]
+[ 1728.000000 < 397.000000>] example[12]
+[ 2197.000000 < 469.000000>] example[13]
+[ 2744.000000 < 547.000000>] example[14]
+[ 3375.000000 < 631.000000>] example[15]
+[ 4096.000000 < 721.000000>] example[16]
+[ 4913.000000 < 817.000000>] example[17]
+[ 5832.000000 < 919.000000>] example[18]
+[ 6859.000000 < 1027.000000>] example[19]
+[ 8000.000000 < 1141.000000>] example[20]
+[ 9261.000000 < 1261.000000>] example[21]
+[10648.000000 < 1387.000000>] example[22]
+[12167.000000 < 1519.000000>] example[23]
+[13824.000000 < 1657.000000>] example[24]
+[15625.000000 < 1801.000000>] example[25]
+[17576.000000 < 1951.000000>] example[26]
+[19683.000000 < 2107.000000>] example[27]
+[21952.000000 < 2269.000000>] example[28]
+[24389.000000 < 2437.000000>] example[29]
+[27000.000000 < 2611.000000>] example[30]
+[29791.000000 < 2791.000000>] example[31]
+[32768.000000 < 2977.000000>] example[32]
+[35937.000000 < 3169.000000>] example[33]
+[39304.000000 < 3367.000000>] example[34]
+[42875.000000 < 3571.000000>] example[35]
+[46656.000000 < 3781.000000>] example[36]
+[50653.000000 < 3997.000000>] example[37]
+[54872.000000 < 4219.000000>] example[38]
+[59319.000000 < 4447.000000>] example[39]
+[64000.000000 < 4681.000000>] example[40]
+[68921.000000 < 4921.000000>] example[41]
+[74088.000000 < 5167.000000>] example[42]
+[79507.000000 < 5419.000000>] example[43]
+[85184.000000 < 5677.000000>] example[44]
+[91125.000000 < 5941.000000>] example[45]
+[97336.000000 < 6211.000000>] example[46]
+[103823.000000 < 6487.000000>] example[47]
+[110592.000000 < 6769.000000>] example[48]
+[117649.000000 < 7057.000000>] example[49]
+[125000.000000 < 7351.000000>] example[50]
+[132651.000000 < 7651.000000>] example[51]
+[140608.000000 < 7957.000000>] example[52]
+[148877.000000 < 8269.000000>] example[53]
+[157464.000000 < 8587.000000>] example[54]
+[166375.000000 < 8911.000000>] example[55]
+[175616.000000 < 9241.000000>] example[56]
+[185193.000000 < 9577.000000>] example[57]
+[195112.000000 < 9919.000000>] example[58]
+[205379.000000 <10267.000000>] example[59]
+[216000.000000 <10621.000000>] example[60]
+[226981.000000 <10981.000000>] example[61]
+[238328.000000 <11347.000000>] example[62]
+[250047.000000 <11719.000000>] example[63]
+[262144.000000 <12097.000000>] example[64]
+[274625.000000 <12481.000000>] example[65]
+[287496.000000 <12871.000000>] example[66]
+[300763.000000 <13267.000000>] example[67]
+[314432.000000 <13669.000000>] example[68]
+[328509.000000 <14077.000000>] example[69]
+[343000.000000 <14491.000000>] example[70]
+[357911.000000 <14911.000000>] example[71]
+[373248.000000 <15337.000000>] example[72]
+[389017.000000 <15769.000000>] example[73]
+[405224.000000 <16207.000000>] example[74]
+[421875.000000 <16651.000000>] example[75]
+[438976.000000 <17101.000000>] example[76]
+[456533.000000 <17557.000000>] example[77]
+[474552.000000 <18019.000000>] example[78]
+[493039.000000 <18487.000000>] example[79]
+[512000.000000 <18961.000000>] example[80]
+[531441.000000 <19441.000000>] example[81]
+[551368.000000 <19927.000000>] example[82]
+[571787.000000 <20419.000000>] example[83]
+[592704.000000 <20917.000000>] example[84]
+[614125.000000 <21421.000000>] example[85]
+[636056.000000 <21931.000000>] example[86]
+[658503.000000 <22447.000000>] example[87]
+[681472.000000 <22969.000000>] example[88]
+[704969.000000 <23497.000000>] example[89]
+[729000.000000 <24031.000000>] example[90]
+[753571.000000 <24571.000000>] example[91]
+[778688.000000 <25117.000000>] example[92]
+[804357.000000 <25669.000000>] example[93]
+[830584.000000 <26227.000000>] example[94]
+[857375.000000 <26791.000000>] example[95]
+[884736.000000 <27361.000000>] example[96]
+[912673.000000 <27937.000000>] example[97]
+[941192.000000 <28519.000000>] example[98]
+[970299.000000 <29107.000000>] example[99]
+[1000000.000000 <29701.000000>] example[100]
+[1030301.000000 <30301.000000>] example[101]
+[1061208.000000 <30907.000000>] example[102]
+[1092727.000000 <31519.000000>] example[103]
+[1124864.000000 <32137.000000>] example[104]
diff --git a/tests/expected/dmesg/facilities b/tests/expected/dmesg/facilities
new file mode 100644
index 0000000..9733e56
--- /dev/null
+++ b/tests/expected/dmesg/facilities
@@ -0,0 +1,96 @@
+[ 0.000000] example[0]
+[ 1.000000] example[1]
+[ 8.000000] example[2]
+[ 27.000000] example[3]
+[ 64.000000] example[4]
+[ 125.000000] example[5]
+[ 216.000000] example[6]
+[ 343.000000] example[7]
+[ 512.000000] example[8]
+[ 729.000000] example[9]
+[ 1000.000000] example[10]
+[ 1331.000000] example[11]
+[ 1728.000000] example[12]
+[ 2197.000000] example[13]
+[ 2744.000000] example[14]
+[ 3375.000000] example[15]
+[ 4096.000000] example[16]
+[ 4913.000000] example[17]
+[ 5832.000000] example[18]
+[ 6859.000000] example[19]
+[ 8000.000000] example[20]
+[ 9261.000000] example[21]
+[10648.000000] example[22]
+[12167.000000] example[23]
+[13824.000000] example[24]
+[15625.000000] example[25]
+[17576.000000] example[26]
+[19683.000000] example[27]
+[21952.000000] example[28]
+[24389.000000] example[29]
+[27000.000000] example[30]
+[29791.000000] example[31]
+[32768.000000] example[32]
+[35937.000000] example[33]
+[39304.000000] example[34]
+[42875.000000] example[35]
+[46656.000000] example[36]
+[50653.000000] example[37]
+[54872.000000] example[38]
+[59319.000000] example[39]
+[64000.000000] example[40]
+[68921.000000] example[41]
+[74088.000000] example[42]
+[79507.000000] example[43]
+[85184.000000] example[44]
+[91125.000000] example[45]
+[97336.000000] example[46]
+[103823.000000] example[47]
+[110592.000000] example[48]
+[117649.000000] example[49]
+[125000.000000] example[50]
+[132651.000000] example[51]
+[140608.000000] example[52]
+[148877.000000] example[53]
+[157464.000000] example[54]
+[166375.000000] example[55]
+[175616.000000] example[56]
+[185193.000000] example[57]
+[195112.000000] example[58]
+[205379.000000] example[59]
+[216000.000000] example[60]
+[226981.000000] example[61]
+[238328.000000] example[62]
+[250047.000000] example[63]
+[262144.000000] example[64]
+[274625.000000] example[65]
+[287496.000000] example[66]
+[300763.000000] example[67]
+[314432.000000] example[68]
+[328509.000000] example[69]
+[343000.000000] example[70]
+[357911.000000] example[71]
+[373248.000000] example[72]
+[389017.000000] example[73]
+[405224.000000] example[74]
+[421875.000000] example[75]
+[438976.000000] example[76]
+[456533.000000] example[77]
+[474552.000000] example[78]
+[493039.000000] example[79]
+[512000.000000] example[80]
+[531441.000000] example[81]
+[551368.000000] example[82]
+[571787.000000] example[83]
+[592704.000000] example[84]
+[614125.000000] example[85]
+[636056.000000] example[86]
+[658503.000000] example[87]
+[681472.000000] example[88]
+[704969.000000] example[89]
+[729000.000000] example[90]
+[753571.000000] example[91]
+[778688.000000] example[92]
+[804357.000000] example[93]
+[830584.000000] example[94]
+[857375.000000] example[95]
diff --git a/tests/expected/dmesg/indentation b/tests/expected/dmesg/indentation
new file mode 100644
index 0000000..e1b2770
--- /dev/null
+++ b/tests/expected/dmesg/indentation
@@ -0,0 +1,35 @@
+[ 1.000000] new
+ line
+[ 2.000000] two
+ new
+ lines
+user :crit : [ 1.000000] new
+ line
+mail :warn : [ 2.000000] two
+ new
+ lines
+[< 0.000000>] new
+ line
+[< 1.000000>] two
+ new
+ lines
+new
+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+00:00 new
+ line
+2009-02-13T23:31:32,000000+00:00 two
+ new
+ lines