search for: requires_filter

Displaying 2 results from an estimated 2 matches for "requires_filter".

2020 Oct 21
0
[PATCH nbdkit] New filter: exitwhen: exit gracefully when an event occurs.
...NESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + +source ./functions.sh +set -x + +requires_filter exitwhen + +eventfile=exitwhen-file-already-created.event +rm -f $eventfile +cleanup_fn rm -f $eventfile + +# nbdkit should exit immediately if the event file already exists. + +touch $eventfile +nbdkit -fv -U - --filter=exitwhen null exit-when-file-created=$eventfile diff --git a/tests/test-exitwh...
2020 Aug 27
0
ANNOUNCE: nbdkit 1.22 - high performance NBD server
...is now no longer a single massive "EXTRA_DIST". Creation of test disks was refactored. Some tests will now use new libnbd 1.4 tools nbdcopy(1) and nbdinfo(1) if available, and skip the tests otherwise. New test functions "requires_plugin" and "requires_filter" allows tests to be skipped if the corresponding plugin/filter was not compiled on a particular platform. So tests should now not fail when an optional external library needed by a plugin/filter is not available. Build Honggfuzz may now be used for fuzz testing...