summaryrefslogtreecommitdiffstats
path: root/tests/ts/lsblk/README
blob: 6f937102c96802ad4977d81a368ce0f719736332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.