Ticket #3751: extfs: rpm: introduce the $RPM_QUERY_FMT variable.
commit65ebc83f884cb85b0578b0712b06ad65c40ba67c
authorMooffie <mooffie@gmail.com>
Sun, 1 Jan 2017 15:52:12 +0000 (1 17:52 +0200)
committerMooffie <mooffie@gmail.com>
Mon, 16 Jan 2017 11:58:07 +0000 (16 13:58 +0200)
treeadf019af395dfdb42ac827a7e4a7896b34eb9b07
parent3078e74afe9a2759945954918d35c3a2b1915f0c
Ticket #3751: extfs: rpm: introduce the $RPM_QUERY_FMT variable.

This minor refactoring will enable us to make this helper testable.

Instead of doing:

    $RPM -qp --qf a b c

we are now doing:

    $RPM_QUERY_FMT a b c

In a future patch we'll then be able to point $RPM_QUERY_FMT to some mock
program.

Signed-off-by: Mooffie <mooffie@gmail.com>
src/vfs/extfs/helpers/rpm