Displaying 2 results from an estimated 2 matches for "0fabd4f".
Did you mean:
0bfad4f
2019 Jan 23
0
[PATCH v2 nbdkit] tests: Add generic ‘requires’ function for test prerequisites.
...echo "$0: missing or broken qemu-io"
- exit 77
-fi
-
# Run nbdkit with pattern plugin and offset filter in front.
# 8070450532247927809 = 7E - 1023
start_nbdkit -P offset2.pid -U offset2.sock \
diff --git a/tests/test-parallel-file.sh b/tests/test-parallel-file.sh
index 1d27f93..0fabd4f 100755
--- a/tests/test-parallel-file.sh
+++ b/tests/test-parallel-file.sh
@@ -34,14 +34,8 @@
source ./functions.sh
# Check file-data was created by Makefile and qemu-io exists.
-if ! test -f file-data; then
- echo "$0: missing file-data"
- exit 77
-fi
-if ! qemu-io --version; t...
2019 Jan 23
2
[PATCH v2 nbdkit] tests: Add generic requires.
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-January/thread.html#00198
For v2 I changed most existing prerequisite tests to use the new
mechanism.
I only changed simple tests. There are a few more complex tests that
don't fit the “requires model” and those are not changed.
I normalized qemu-io/qemu-img testing to always use the --version
flag, where previously we used a mix