search for: dc52742

Displaying 4 results from an estimated 4 matches for "dc52742".

2018 Nov 14
0
[PATCH nbdkit v3 4/4] tests: Valgrind is only enabled when NBDKIT_VALGRIND = 1, not any other values.
...| 3 ++- tests/test-lang-plugins.c | 4 +++- tests/test-ocaml.c | 4 +++- tests/test-python-exception.sh | 2 +- tests/test-version.sh | 3 ++- 7 files changed, 16 insertions(+), 7 deletions(-) diff --git a/tests/test-dump-plugin.sh b/tests/test-dump-plugin.sh index dc52742..6e0e3d7 100755 --- a/tests/test-dump-plugin.sh +++ b/tests/test-dump-plugin.sh @@ -55,7 +55,8 @@ fi # However some of these tests are expected to fail. test () { - case "$1${NBDKIT_VALGRIND:+-valgrind}" in + [ "$NBDKIT_VALGRIND" = "1" ] && vg="-v...
2018 Sep 13
0
[PATCH v2 nbdkit 3/5] tests: Move common code for testing every plugin to tests/functions.sh.
...if [ -f "$d/.libs/nbdkit-$p-plugin.so" ] || + [ -f "$d/nbdkit-$p-plugin" ]; then + # Yes so run the test. + "$1" "$p" + fi + done +} diff --git a/tests/test-dump-plugin.sh b/tests/test-dump-plugin.sh index e08db84..dc52742 100755 --- a/tests/test-dump-plugin.sh +++ b/tests/test-dump-plugin.sh @@ -31,9 +31,9 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. +source ./functions.sh set -e set -x -source ./functions.sh # Basic check that the name field is present. output=&qu...
2018 Nov 14
5
[PATCH nbdkit v3 0/4] build: Replace ./nbdkit with a C program.
v1 was here: https://www.redhat.com/archives/libguestfs/2018-November/msg00147.html v2 was here: https://www.redhat.com/archives/libguestfs/2018-November/msg00152.html v3: - Use optarg != NULL as a sentinel for has_arg. - Moved some variable decls into the inner loop. - Make nbdkit wrapper depend on config.status, so if srcdir or builddir changes then we rebuild the wrapper. It
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