Displaying 2 results from an estimated 2 matches for "7b1fccb".
2018 Sep 13
0
[PATCH v2 nbdkit 5/5] tests: Add a helper function which waits for nbdkit to start up.
....sock'
@@ -147,5 +127,3 @@ if grep 'count=0x[0-9a-f]*\([1235679abdef]00\|[0-9a-f]\(.[^0]\|[^0].\)\) ' \
exit 1;
fi
diff -u blocksize1.img blocksize2.img
-
-# The cleanup() function is called implicitly on exit.
diff --git a/tests/test-cache.sh b/tests/test-cache.sh
index 495469d..7b1fccb 100755
--- a/tests/test-cache.sh
+++ b/tests/test-cache.sh
@@ -37,34 +37,13 @@ set -x
files="cache.img cache.sock cache.pid"
rm -f $files
+cleanup_fn rm -f $files
# Create an empty base image.
truncate -s 1G cache.img
# Run nbdkit with the caching filter.
-nbdkit -P cache.pid -...
2018 Sep 13
8
[PATCH v2 nbdkit 0/5] tests: Move common functions into tests/functions.sh
v1 was here:
https://www.redhat.com/archives/libguestfs/2018-September/msg00057.html
v2:
- Fix tab vs spaces in configure.ac.
- To generate list of plugins, use printf instead of xargs.
- Use 'source ./functions.sh' instead of 'source functions'.
- functions.sh: Consistent quoting in foreach_plugin function.
- functions.sh: Change the contract of start_nbdkit so it