Displaying 3 results from an estimated 3 matches for "fd0bd1c".
2019 May 16
0
Re: [nbdkit PATCH v2] Introduce cacheextents filter
...AVE_GUESTFISH
@@ -868,6 +866,9 @@ TESTS += \
endif HAVE_GUESTFISH
TESTS += test-cache-max-size.sh
+# cacheextents filter test.
+TESTS += test-cacheextents.sh
+
# cow filter test.
if HAVE_GUESTFISH
TESTS += test-cow.sh
diff --git a/tests/test-cacheextents.sh b/tests/test-cacheextents.sh
index fd0bd1c..b9145ed 100755
--- a/tests/test-cacheextents.sh
+++ b/tests/test-cacheextents.sh
@@ -38,6 +38,10 @@ requires diff --version
requires grep --version
requires qemu-img --version
+files="test-cacheextents-actual.log test-cacheextents-expected.log"
+rm -f $files
+cleanup_fn rm -f $files...
2019 May 16
1
Re: [nbdkit PATCH v2] Introduce cacheextents filter
...\
> endif HAVE_GUESTFISH
> TESTS += test-cache-max-size.sh
>
>+# cacheextents filter test.
>+TESTS += test-cacheextents.sh
>+
> # cow filter test.
> if HAVE_GUESTFISH
> TESTS += test-cow.sh
>diff --git a/tests/test-cacheextents.sh b/tests/test-cacheextents.sh
>index fd0bd1c..b9145ed 100755
>--- a/tests/test-cacheextents.sh
>+++ b/tests/test-cacheextents.sh
>@@ -38,6 +38,10 @@ requires diff --version
> requires grep --version
> requires qemu-img --version
>
>+files="test-cacheextents-actual.log test-cacheextents-expected.log"
>+rm -f $...
2019 May 15
6
[nbdkit PATCH v2] Introduce cacheextents filter
...if HAVE_LIBGUESTFS
# Test export flags.
-TESTS += test-eflags.sh
+TESTS += \
+ test-cacheextents.sh \
+ test-eflags.sh
# common disk image shared with several tests
if HAVE_GUESTFISH
diff --git a/tests/test-cacheextents.sh b/tests/test-cacheextents.sh
new file mode 100755
index 000000000000..fd0bd1c1bc48
--- /dev/null
+++ b/tests/test-cacheextents.sh
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+# nbdkit
+# Copyright (C) 2019 Red Hat Inc.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * R...