Displaying 2 results from an estimated 2 matches for "09fd16e".
2018 Sep 13
0
[PATCH v2 nbdkit 5/5] tests: Add a helper function which waits for nbdkit to start up.
...WD/cache.sock" <<'EOF'
@@ -82,5 +61,3 @@ guestfish --ro -a cache.img -m /dev/sda1 <<'EOF'
cat /hello
cat /large | cat >/dev/null
EOF
-
-# The cleanup() function is called implicitly on exit.
diff --git a/tests/test-cow.sh b/tests/test-cow.sh
index b5c8f63..09fd16e 100755
--- a/tests/test-cow.sh
+++ b/tests/test-cow.sh
@@ -37,35 +37,14 @@ set -x
files="cow-base.img cow-diff.qcow2 cow.sock cow.pid"
rm -f $files
+cleanup_fn rm -f $files
# Create a base image which is partitioned with an empty filesystem.
guestfish -N cow-base.img=fs exit
last...
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