util-linux/tests/ts/lsblk
Karel Zak 93c2723772 tests: (lsblk) gather also udev attributes for new dumps
References: 7408a5d9c2
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-10-15 13:29:13 +02:00
..
dumps tests: add simple LVM lsblk dump 2018-06-21 13:19:28 +02:00
README tests: add lsblk test script 2018-06-21 13:19:28 +02:00
lsblk cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
mk-input.sh tests: (lsblk) gather also udev attributes for new dumps 2019-10-15 13:29:13 +02:00

README

Howto add new lsblk test:

* run mk-input.sh <testname>

* copy testname.tar.xz file to tests/ts/lsblk/dumps

* copy lsblk-* files from the tarball to tests/expected/lsblk/

* run ./tests/run.sh lsblk

* git add tests/ts/lsblk/testname.tar.xz
  git add tests/expected/lsblk/lsblk-testname*


Note that we do not use directly lsblk-* from the tarball. It's better to keep
copy of the files in the tests/expected/lsblk/, because output formatting may
be different in the current version. The version in the tarball is just initial
hint only.