]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: update lsmem tests
authorKarel Zak <kzak@redhat.com>
Wed, 30 Nov 2016 09:47:41 +0000 (10:47 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Nov 2016 09:47:41 +0000 (10:47 +0100)
The commit 4c0e1eaf34fe604118afcd792291419e1d4ff661 modifies the
alignment of the STATE column.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/lsmem/lsmem-s390-zvm-6g
tests/expected/lsmem/lsmem-x86_64-16g

index 29ccbb5f7cb1a12bbeab6db9cadd1e8fbbe69368..05af40d4df9f17f145baa99f0e1b6ec420eee58b 100644 (file)
@@ -2,16 +2,16 @@
 ---
 
 $ lsmem 
-RANGE                                  SIZE STATE   REMOVABLE BLOCK
-0x0000000000000000-0x000000006fffffff  1.8G online        yes   0-6
-0x0000000070000000-0x000000007fffffff  256M online         no     7
-0x0000000080000000-0x000000009fffffff  512M online        yes   8-9
-0x00000000a0000000-0x00000000bfffffff  512M online         no 10-11
-0x00000000c0000000-0x00000000dfffffff  512M online        yes 12-13
+RANGE                                  SIZE   STATE REMOVABLE BLOCK
+0x0000000000000000-0x000000006fffffff  1.8G  online       yes   0-6
+0x0000000070000000-0x000000007fffffff  256M  online        no     7
+0x0000000080000000-0x000000009fffffff  512M  online       yes   8-9
+0x00000000a0000000-0x00000000bfffffff  512M  online        no 10-11
+0x00000000c0000000-0x00000000dfffffff  512M  online       yes 12-13
 0x00000000e0000000-0x00000000efffffff  256M offline         -    14
-0x00000000f0000000-0x00000000ffffffff  256M online        yes    15
-0x0000000100000000-0x000000011fffffff  512M online         no 16-17
-0x0000000120000000-0x000000013fffffff  512M online        yes 18-19
+0x00000000f0000000-0x00000000ffffffff  256M  online       yes    15
+0x0000000100000000-0x000000011fffffff  512M  online        no 16-17
+0x0000000120000000-0x000000013fffffff  512M  online       yes 18-19
 0x0000000140000000-0x000000017fffffff    1G offline         - 20-23
 
 Memory block size:       256M
@@ -31,10 +31,10 @@ Total offline memory:      0B
 ---
 
 $ lsmem --output RANGE,SIZE,STATE
-RANGE                                  SIZE STATE
-0x0000000000000000-0x00000000dfffffff  3.5G online
+RANGE                                  SIZE   STATE
+0x0000000000000000-0x00000000dfffffff  3.5G  online
 0x00000000e0000000-0x00000000efffffff  256M offline
-0x00000000f0000000-0x000000013fffffff  1.3G online
+0x00000000f0000000-0x000000013fffffff  1.3G  online
 0x0000000140000000-0x000000017fffffff    1G offline
 
 Memory block size:       256M
@@ -44,27 +44,27 @@ Total offline memory:    1.3G
 ---
 
 $ lsmem --all --output RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE
-RANGE                                  SIZE STATE   REMOVABLE BLOCK NODE
-0x0000000000000000-0x000000000fffffff  256M online        yes     0    0
-0x0000000010000000-0x000000001fffffff  256M online        yes     1    0
-0x0000000020000000-0x000000002fffffff  256M online        yes     2    0
-0x0000000030000000-0x000000003fffffff  256M online        yes     3    0
-0x0000000040000000-0x000000004fffffff  256M online        yes     4    0
-0x0000000050000000-0x000000005fffffff  256M online        yes     5    0
-0x0000000060000000-0x000000006fffffff  256M online        yes     6    0
-0x0000000070000000-0x000000007fffffff  256M online         no     7    0
-0x0000000080000000-0x000000008fffffff  256M online        yes     8    0
-0x0000000090000000-0x000000009fffffff  256M online        yes     9    0
-0x00000000a0000000-0x00000000afffffff  256M online         no    10    0
-0x00000000b0000000-0x00000000bfffffff  256M online         no    11    0
-0x00000000c0000000-0x00000000cfffffff  256M online        yes    12    0
-0x00000000d0000000-0x00000000dfffffff  256M online        yes    13    0
+RANGE                                  SIZE   STATE REMOVABLE BLOCK NODE
+0x0000000000000000-0x000000000fffffff  256M  online       yes     0    0
+0x0000000010000000-0x000000001fffffff  256M  online       yes     1    0
+0x0000000020000000-0x000000002fffffff  256M  online       yes     2    0
+0x0000000030000000-0x000000003fffffff  256M  online       yes     3    0
+0x0000000040000000-0x000000004fffffff  256M  online       yes     4    0
+0x0000000050000000-0x000000005fffffff  256M  online       yes     5    0
+0x0000000060000000-0x000000006fffffff  256M  online       yes     6    0
+0x0000000070000000-0x000000007fffffff  256M  online        no     7    0
+0x0000000080000000-0x000000008fffffff  256M  online       yes     8    0
+0x0000000090000000-0x000000009fffffff  256M  online       yes     9    0
+0x00000000a0000000-0x00000000afffffff  256M  online        no    10    0
+0x00000000b0000000-0x00000000bfffffff  256M  online        no    11    0
+0x00000000c0000000-0x00000000cfffffff  256M  online       yes    12    0
+0x00000000d0000000-0x00000000dfffffff  256M  online       yes    13    0
 0x00000000e0000000-0x00000000efffffff  256M offline         -    14    0
-0x00000000f0000000-0x00000000ffffffff  256M online        yes    15    0
-0x0000000100000000-0x000000010fffffff  256M online         no    16    0
-0x0000000110000000-0x000000011fffffff  256M online         no    17    0
-0x0000000120000000-0x000000012fffffff  256M online        yes    18    0
-0x0000000130000000-0x000000013fffffff  256M online        yes    19    0
+0x00000000f0000000-0x00000000ffffffff  256M  online       yes    15    0
+0x0000000100000000-0x000000010fffffff  256M  online        no    16    0
+0x0000000110000000-0x000000011fffffff  256M  online        no    17    0
+0x0000000120000000-0x000000012fffffff  256M  online       yes    18    0
+0x0000000130000000-0x000000013fffffff  256M  online       yes    19    0
 0x0000000140000000-0x000000014fffffff  256M offline         -    20    0
 0x0000000150000000-0x000000015fffffff  256M offline         -    21    0
 0x0000000160000000-0x000000016fffffff  256M offline         -    22    0
index 773ad1df45c47038ef358438fb6a813ddf5b29a3..14d7d84f65caaef6cbc319a7567491aac4567671 100644 (file)
@@ -2,7 +2,7 @@
 ---
 
 $ lsmem 
-RANGE                                  SIZE STATE  REMOVABLE   BLOCK
+RANGE                                  SIZE  STATE REMOVABLE   BLOCK
 0x0000000000000000-0x0000000007ffffff  128M online        no       0
 0x0000000008000000-0x0000000037ffffff  768M online       yes     1-6
 0x0000000038000000-0x000000003fffffff  128M online        no       7
@@ -52,7 +52,7 @@ Total offline memory:      0B
 ---
 
 $ lsmem --output RANGE,SIZE,STATE
-RANGE                                 SIZE STATE
+RANGE                                 SIZE  STATE
 0x0000000000000000-0x00000000bfffffff   3G online
 0x0000000100000000-0x000000043fffffff  13G online
 
@@ -63,7 +63,7 @@ Total offline memory:      0B
 ---
 
 $ lsmem --all --output RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE
-RANGE                                  SIZE STATE  REMOVABLE BLOCK NODE
+RANGE                                  SIZE  STATE REMOVABLE BLOCK NODE
 0x0000000000000000-0x0000000007ffffff  128M online        no     0    0
 0x0000000008000000-0x000000000fffffff  128M online       yes     1    0
 0x0000000010000000-0x0000000017ffffff  128M online       yes     2    0