nbdkit/0001-tests-Make-test-partition2.sh-depend-on-disk-file-be.patch
2019-01-23 09:39:19 +00:00

39 lines
1.1 KiB
Diff

From 1a0c80cbe9f561fd6a8801c3bfda1783ce40080f Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 22 Jan 2019 23:22:55 +0000
Subject: [PATCH 1/2] =?UTF-8?q?tests:=20Make=20test-partition2.sh=20depend?=
=?UTF-8?q?=20on=20=E2=80=98disk=E2=80=99=20file=20being=20created.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This requires guestfish, so make the test depend on that (although it
does not really need it).
Fixes commit bf41e6b04b683570e8b059527ef604add2d42705.
---
tests/Makefile.am | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5e8b53c..859b6ed 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -798,9 +798,10 @@ test_offset_LDADD = libtest.la $(LIBGUESTFS_LIBS)
TESTS += test-offset2.sh
# partition filter test.
-TESTS += \
- test-partition1.sh \
- test-partition2.sh
+TESTS += test-partition1.sh
+if HAVE_GUESTFISH
+TESTS += test-partition2.sh
+endif
# truncate filter tests.
TESTS += \
--
2.20.1