docs, tests: Improved method to probe for plugins and filters.
commitdaaac81a83e3347f6a9c95679f2556952a0a5ade
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Jan 2020 10:03:40 +0000 (21 10:03 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Jan 2020 10:22:34 +0000 (21 10:22 +0000)
tree59819b27c9bc522fa6cc12c9ea8b5ea5b60c4341
parentaac66694559a60fa8495b3557f0e683e2675e32d
docs, tests: Improved method to probe for plugins and filters.

Previously we suggested using nbdkit --dump-plugin to probe for
plugins and filters, but this could fail if a plugin exists but the
dump_plugin callback is broken.  In any case it's simpler to
use --version for probing and the output is more informative.  This
works even with very old versions of nbdkit (I checked this back to
nbdkit 1.2).

This also adds two tests to ensure this method does not regress in
future.
docs/nbdkit-probing.pod
tests/Makefile.am
tests/test-probe-filter.sh [new file with mode: 0755]
tests/test-probe-plugin.sh [new file with mode: 0755]