summaryrefslogtreecommitdiffstats
path: root/tests/ts/lsmem
diff options
context:
space:
mode:
authorGerald Schaefer2017-09-27 19:44:45 +0200
committerKarel Zak2017-10-20 12:37:04 +0200
commit0a4320f5e785e82337c3a657c55651004e3fd08d (patch)
tree0f6e25296f489ad60716e43953dd724d91ac56cc /tests/ts/lsmem
parentlsmem/chmem: add memory zone awareness (diff)
downloadkernel-qcow2-util-linux-0a4320f5e785e82337c3a657c55651004e3fd08d.tar.gz
kernel-qcow2-util-linux-0a4320f5e785e82337c3a657c55651004e3fd08d.tar.xz
kernel-qcow2-util-linux-0a4320f5e785e82337c3a657c55651004e3fd08d.zip
tests/lsmem: update lsmem test with ZONES column
The existing s390 and x86_64 dumps already contain the valid_zones sysfs attribute, so just add a new "lsmem -o +ZONES" test command and update the expected results. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Diffstat (limited to 'tests/ts/lsmem')
-rwxr-xr-xtests/ts/lsmem/lsmem1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ts/lsmem/lsmem b/tests/ts/lsmem/lsmem
index 79c0523b9..b1313773e 100755
--- a/tests/ts/lsmem/lsmem
+++ b/tests/ts/lsmem/lsmem
@@ -49,6 +49,7 @@ for dump in $(ls $TS_SELF/dumps/*.tar.bz2 | sort); do
do_lsmem --all --output $LSCOLUMNS
do_lsmem --raw --output $LSCOLUMNS
do_lsmem --json --output $LSCOLUMNS
+ do_lsmem -o +ZONES
ts_finalize_subtest
done