nbdkit/0001-tests-Run-just-built-nbdkit-not-installed-nbdkit.patch

27 lines
800 B
Diff
Raw Normal View History

2019-12-01 20:16:42 +00:00
From dcf767f55bcaf52fc7079b653749cccfe493b443 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Sun, 1 Dec 2019 20:13:30 +0000
Subject: [PATCH] tests: Run just built nbdkit, not installed nbdkit.
Fixes commit 7adcf1bd47c678c1f3489c02f138b32c99657a24.
---
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 878ff59..f6508a6 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -443,7 +443,7 @@ disk:
rm -rf disk.tmp $@ $@-t
mkdir disk.tmp
echo -n "hello,world" > disk.tmp/hello.txt
- nbdkit -fv -U - linuxdisk disk.tmp size=100M \
+ $(top_builddir)/nbdkit -fv -U - linuxdisk disk.tmp size=100M \
--run 'qemu-img convert $$nbd $@-t'
rm -rf disk.tmp
mv $@-t $@
--
2.23.0